Difference between revisions of "ReactOS Terminal Services"

From ReactOS Wiki
Jump to: navigation, search
(Update todo and links)
m (Fixed broken link)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
ReactOS Win32 personality a fully featured multi user operating system with possibilities to log in several users at the same time with an insulated environment for every login. Every login should be able to access the terminal services from any interface with many different protocolls enabling different possibilities depending on protocol, interface and connecton speed.
+
ReactOS Win32 personality a fully featured multi-user operating system with possibilities to log in several users at the same time with an insulated environment for every login. Every login should be able to access the terminal services from any interface with many different protocols enabling different possibilities depending on the protocol, interface, and connection speed.
  
 
== Possible Features ==
 
== Possible Features ==
  
* Multi user environment.
+
* Multi-user environment.
* Possibility to log on remotely or locally via any interface (Serial, Parallell, USB, Firewire, Modem(Analog, Digital), Network).
+
* Possibility to log on remotely or locally via any interface (Serial, Parallel, USB, Firewire, Modem(Analog, Digital), Network).
 
* Possibility to log in several times from the same terminal + some type of fast switching like XP.
 
* Possibility to log in several times from the same terminal + some type of fast switching like XP.
 
* Possibility to use two or more sets of keyboard, mouse and screen (Human Interface Device/HID) and associate a login to a certain set of HIDs.
 
* Possibility to use two or more sets of keyboard, mouse and screen (Human Interface Device/HID) and associate a login to a certain set of HIDs.
 
* Possibility to split screen (Horizontal or Vertical) and use two sets of HID one associated to each split section (for computers connected to TV-set).
 
* Possibility to split screen (Horizontal or Vertical) and use two sets of HID one associated to each split section (for computers connected to TV-set).
 
* Possibility to use RDP, Citrix, X-Windows client, Telnet or VNC as protocol/client.
 
* Possibility to use RDP, Citrix, X-Windows client, Telnet or VNC as protocol/client.
* Possibility to give every login an insulated environment much like vmware.
+
* Possibility to give every login an insulated environment much like VMware.
 
:  "Undo-Disks" -> ROS doesn't write do the real harddisk; Snapshot (in German this is called "Datenairbag")  
 
:  "Undo-Disks" -> ROS doesn't write do the real harddisk; Snapshot (in German this is called "Datenairbag")  
 
* Possibility to let a session log in directly to an emulation environment like [http://fabrice.bellard.free.fr/qemu/ QEmu], [http://mamedev.org/ MAME] or [http://www.viceteam.org/ VICE]# to run other Operating System then the Terminal Server or software not compiled for the CPU.
 
* Possibility to let a session log in directly to an emulation environment like [http://fabrice.bellard.free.fr/qemu/ QEmu], [http://mamedev.org/ MAME] or [http://www.viceteam.org/ VICE]# to run other Operating System then the Terminal Server or software not compiled for the CPU.
* Easy management with possibility to take over, see and redirect a session directly from login screen.
+
* Easy management with the possibility to take over, see and redirect a session directly from the login screen.
  
 
== Tasks need to be done ==
 
== Tasks need to be done ==
* Multi User Environment
+
* Multi-User Environment
 
** Shared Session Memory Space
 
** Shared Session Memory Space
 
** Winlogon+GINA
 
** Winlogon+GINA
Line 24: Line 24:
 
* Win32k stuff (video / keyboard / mouse)
 
* Win32k stuff (video / keyboard / mouse)
 
** One focus for every mouse & keyboard cursor
 
** One focus for every mouse & keyboard cursor
** Multi Display Adapters and Display support
+
** Multi-Display Adapters and Display support
 
*** Multiple Hardware Displays
 
*** Multiple Hardware Displays
 
*** SplitScreen support for two sessions at the same Screen
 
*** SplitScreen support for two sessions at the same Screen
 
*** Multiple Virtual Display Drivers that can be associated to a login
 
*** Multiple Virtual Display Drivers that can be associated to a login
 
*** TSDDD Framebuffer Display Driver
 
*** TSDDD Framebuffer Display Driver
* Creating support for different protocolls and inserting the different project into ROS
+
* Creating support for different protocols and inserting the different project into ROS
 
** UltraVNC
 
** UltraVNC
 
** Telnet server daemon
 
** Telnet server daemon
Line 36: Line 36:
 
== Thoughts for hardware ==
 
== Thoughts for hardware ==
 
* If system revolves around VNC
 
* If system revolves around VNC
** Cheap dedicated hardware possible to build - cost of £20 possibly for a dedicated kit built VNC client
+
** Cheap dedicated hardware possible to build - a cost of £20 possibly for a dedicated kit-built VNC client
  
 
== Thoughts about VNC ==
 
== Thoughts about VNC ==
Line 42: Line 42:
 
* Extend VNC protocol for print files to be sent across in standard format (possibly Postscript?), then at client converted to printer-specific format, to allow printing to client's preferred local printer
 
* Extend VNC protocol for print files to be sent across in standard format (possibly Postscript?), then at client converted to printer-specific format, to allow printing to client's preferred local printer
 
* Possible addition of audio support to VNC?
 
* Possible addition of audio support to VNC?
* Possible extention to VNC to allow it to operate through Proxy servers with Java/executable clients
+
* Possible extension to VNC to allow it to operate through Proxy servers with Java/executable clients
* ReactOS can detect "broken" sessions due to network disconnection, and retain session for client to reconnect from another computer/when network begins working again.
+
* ReactOS can detect "broken" sessions due to network disconnection, and retain session for the client to reconnect from another computer/when the network begins working again.
* VNC is built into display Kernel of React, so all video messages are captured and quickly and efficiently sent across internet, reducing lag and server overhead.
+
* VNC is built into display Kernel of React, so all video messages are captured and quickly and efficiently sent across the internet, reducing lag and server overhead.
  
Advantage being with VNC over X11 based systems, clients are readily available (down to Java), saving on coding. Protocol is fairly efficient and fast, and allows clients to use ReactOS based servers without installing software locally - locally installed software may not be allowed by client's computer administration policy.
+
The advantage of being with VNC over X11 based systems, clients are readily available (down to Java), saving on coding. The protocol is fairly efficient and fast, and allows clients to use ReactOS based servers without installing software locally - locally installed software may not be allowed by the client's computer administration policy.
  
 
== Links ==
 
== Links ==
 
* [http://www.microsoft.com/windowsserver2003/technologies/terminalservices/default.mspx Windows Terminal Services]
 
* [http://www.microsoft.com/windowsserver2003/technologies/terminalservices/default.mspx Windows Terminal Services]
  
* [http://sourceforge.net/projects/xrdp XRDP - A simple open source RDP server for Linux and Windows]
+
* [http://sourceforge.net/projects/xrdp XRDP - A simple open-source RDP server for Linux and Windows]
  
 
* [http://xrdp.sourceforge.net/ The homepage for XRDP with files released]
 
* [http://xrdp.sourceforge.net/ The homepage for XRDP with files released]
Line 87: Line 87:
 
* [http://support.microsoft.com/kb/186607/en-us/ Understanding the Remote Desktop Protocol (RDP)]
 
* [http://support.microsoft.com/kb/186607/en-us/ Understanding the Remote Desktop Protocol (RDP)]
  
* [http://efod.se/media/thesis.pdf Reverse-Engineering and Implementation of the RDP 5 Protocol by Erik Forsberg, Linköpings universitet]
+
* [https://web.archive.org/web/20100812121649/http://efod.se/media/thesis.pdf Reverse-Engineering and Implementation of the RDP 5 Protocol by Erik Forsberg, Linköpings üniversite (Archived)]
  
 
== Microsoft RDP Specification ==
 
== Microsoft RDP Specification ==
Line 100: Line 100:
  
 
* [http://msdn.microsoft.com/en-us/library/dd644643(v=PROT.10).aspx [MS-TSSO]: Terminal Services System Overview]
 
* [http://msdn.microsoft.com/en-us/library/dd644643(v=PROT.10).aspx [MS-TSSO]: Terminal Services System Overview]
 +
 +
* [https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/WinArchive/%5BMS-TSSO%5D.pdf [MS-TSSO]: Terminal Services System Overview (full PDF, archived)]
  
 
* [http://msdn.microsoft.com/en-us/library/cc248485(v=PROT.10).aspx  [MS-TSGU]: Terminal Services Gateway Server Protocol Specification]
 
* [http://msdn.microsoft.com/en-us/library/cc248485(v=PROT.10).aspx  [MS-TSGU]: Terminal Services Gateway Server Protocol Specification]

Latest revision as of 13:26, 6 August 2023

ReactOS Win32 personality a fully featured multi-user operating system with possibilities to log in several users at the same time with an insulated environment for every login. Every login should be able to access the terminal services from any interface with many different protocols enabling different possibilities depending on the protocol, interface, and connection speed.

Possible Features

  • Multi-user environment.
  • Possibility to log on remotely or locally via any interface (Serial, Parallel, USB, Firewire, Modem(Analog, Digital), Network).
  • Possibility to log in several times from the same terminal + some type of fast switching like XP.
  • Possibility to use two or more sets of keyboard, mouse and screen (Human Interface Device/HID) and associate a login to a certain set of HIDs.
  • Possibility to split screen (Horizontal or Vertical) and use two sets of HID one associated to each split section (for computers connected to TV-set).
  • Possibility to use RDP, Citrix, X-Windows client, Telnet or VNC as protocol/client.
  • Possibility to give every login an insulated environment much like VMware.
"Undo-Disks" -> ROS doesn't write do the real harddisk; Snapshot (in German this is called "Datenairbag")
  • Possibility to let a session log in directly to an emulation environment like QEmu, MAME or VICE# to run other Operating System then the Terminal Server or software not compiled for the CPU.
  • Easy management with the possibility to take over, see and redirect a session directly from the login screen.

Tasks need to be done

  • Multi-User Environment
    • Shared Session Memory Space
    • Winlogon+GINA
    • SAS: make win32k notify Winlogon
    • smss: move Kmode loading to csrss
    • csrss: make it support multiple Win sessions
    • logon/logoff procedures
  • Win32k stuff (video / keyboard / mouse)
    • One focus for every mouse & keyboard cursor
    • Multi-Display Adapters and Display support
      • Multiple Hardware Displays
      • SplitScreen support for two sessions at the same Screen
      • Multiple Virtual Display Drivers that can be associated to a login
      • TSDDD Framebuffer Display Driver
  • Creating support for different protocols and inserting the different project into ROS
    • UltraVNC
    • Telnet server daemon
    • xrdp project - simple RDP server

Thoughts for hardware

  • If system revolves around VNC
    • Cheap dedicated hardware possible to build - a cost of £20 possibly for a dedicated kit-built VNC client

Thoughts about VNC

  • Extend VNC protocol to allow access to local client's drives
  • Extend VNC protocol for print files to be sent across in standard format (possibly Postscript?), then at client converted to printer-specific format, to allow printing to client's preferred local printer
  • Possible addition of audio support to VNC?
  • Possible extension to VNC to allow it to operate through Proxy servers with Java/executable clients
  • ReactOS can detect "broken" sessions due to network disconnection, and retain session for the client to reconnect from another computer/when the network begins working again.
  • VNC is built into display Kernel of React, so all video messages are captured and quickly and efficiently sent across the internet, reducing lag and server overhead.

The advantage of being with VNC over X11 based systems, clients are readily available (down to Java), saving on coding. The protocol is fairly efficient and fast, and allows clients to use ReactOS based servers without installing software locally - locally installed software may not be allowed by the client's computer administration policy.

Links

Microsoft RDP Specification