2.5 Remote desktop and display (RDP, VNC, X11)
Translated from French; the French version prevails if the two differ.
In short. Remote desktops open in tabs, just like terminals: RDP through the Windows Remote Desktop client, VNC through a built-in client. Both can go through an SSH jump host. Linux graphical applications are displayed on this computer through the X11 forwarding of an SSH session, with an X server installed on this computer and driven by HexaConnect.
RDP (Windows Remote Desktop)
- “RDP (Windows Remote Desktop)” session type: host, port, user and domain (
DOMAIN\useraccepted), SSH jump host, administrative session, clipboard, drives, printers, sound. - Network Level Authentication (NLA) by default. Password remembered on request, stored only after a successful connection and forgotten if it is rejected.
- The remote desktop is displayed in the tab and follows its size.
- Each RDP tab runs in its own helper process: a problem with one session affects neither the other tabs nor the app. The password is passed to it through a named pipe restricted to the user, never as an argument.
- Closing the window does not end the session: the desktop comes back when you reopen it.
- The reason for a disconnection is shown; reconnect with Ctrl+Shift+E. Ctrl+Alt+Del is sent with Ctrl+Alt+End.
- RDP through an SSH jump host (temporary forwarding) or cloud access.
- Import:
.rdpfiles, RDP sessions from MobaXterm and mRemoteNG. - Not available in this version: Remote Desktop Gateway, dedicated full screen, multiple monitors, screenshot of the session.
VNC
- “VNC (remote desktop)” session type: host, port (5900 = display :0), SSH jump host, password remembered on request, view only and default display mode.
- Built-in client, with no dependencies: RFB protocol 3.3 to 3.8 (including the macOS variant), VNC authentication, ZRLE, Hextile, CopyRect and Raw encodings, desktop resizing. Tight encoding and Apple-specific authentication methods are not supported (a message says what to enable on the Mac).
- Image fit to the tab or at actual size; mouse (buttons, wheel); keyboard (special keys, AltGr characters); Ctrl+Alt+Del; view only; text clipboard in both directions.
- VNC is not encrypted: a banner reminds you when the session does not go through an SSH jump host. With a jump host, the connection uses a temporary forwarding of the SSH session.
- The session keeps running with the window closed.
X11: remote graphical applications
- Checking “X11 forwarding” in an SSH session is enough: graphical applications started in the terminal open on this computer, each in its own window, without setting
DISPLAY. - As with
ssh -X, the remote server receives a fake authorization cookie, replaced on this computer by the X server's cookie; a connection presenting another cookie is refused. - The X server is not bundled: when needed, HexaConnect starts VcXsrv, Xming or Cygwin/X if they are installed (multi-window mode, random cookie, no orphan process) and stops it with the last X11 session; otherwise it uses a server that is already running (X410 or another).
- Without an X server, the session still opens and the status bar says what to install. Settings → X11 server shows the server in use, its status and help for installing VcXsrv.
- Status bar: “X11 active · n connections”; a refusal by the SSH server (
X11Forwarding no) is reported. - “Single window” mode is not available.
The Security tab flags SSH sessions with X11 enabled: a remote application then has access to this computer's display. Enable X11 only for trusted servers.
Plans
Required plan: Discovery. RDP, VNC and X11 are included in the free plan (each open desktop counts toward the limit of 5 simultaneous sessions). An Enterprise policy can refuse VNC without an SSH jump host.