Connect native and browser viewers

Choose a session, authenticate, select a monitor, and use the browser.

On this page

Select the exact desktop

ViewerAddress
Browserhttps://tmd.example.com:8191/#console
Native viewer, default WSStmd.example.com:8191#console
Linux virtual desktopUse #work instead of #console

The fragment after # is the session ID, not the login name. With an explicit ID, the session must be active and accessible to the authenticated owner; failure does not silently choose a different desktop. Without an ID, TMD selects the first accessible active session in ascending ID order.

Browser viewer

  1. Open the HTTPS address of the server with the intended session fragment.
  2. Verify its identity before accepting a self-signed certificate, or use a certificate trusted for its host name.
  3. Authenticate with the owner's OS username and password.
  4. Select the monitor in the viewer's display controls.
  5. Allow clipboard access when appropriate. Test updates, cursor shapes, keyboard input, and paste.

The server must contain the complete JavaScript/WebAssembly browser bundle. A page saying only The TLS certificate has been accepted is the fallback page, not the viewer. See Missing browser bundle.

WebCodecs uses the browser's supported decoding path. Codec availability varies by browser, OS, GPU, driver, and secure context. Firefox requests limited color range for the supported H.264 route; this is negotiated with the server rather than a manual user color adjustment.

Native viewer

Open TMD Viewer and enter the WSS address in its host field, or pass it on the command line:

tmdviewer --host "tmd.example.com:8191#console"

On Windows use tmdviewer.exe. On macOS:

TmdViewer.app/Contents/MacOS/tmdviewer --host "tmd.example.com:8191#console"

For the explicit native TCP/TLS transport:

tmdviewer --use-tcp --host "tmd.example.com:4815#console"

This transport is not the browser port. Use brackets around an IPv6 address when including a port.

Monitors and input

Select the host monitor in the viewer, then test pointer travel from edge to edge. Linux Wayland logical scaling and macOS points/pixels are handled by their platform paths; check the host's layout and logs if the travel area or monitor mapping is wrong.

Click the browser canvas to focus it. Tab and Shift+Tab are forwarded to the remote desktop while the viewer owns focus. Some OS/browser-reserved shortcuts may remain local. Leaving the page releases held input. Use explicit paste shortcuts when clipboard permissions prevent automatic synchronization.

Browser profile state

The browser viewer stores application state, trusted certificates, settings, and its machine identity in IndexedDB for that browser profile and origin. Changing the scheme, host, port, or profile creates separate state. Clearing website data resets it; private browsing may discard it. Multiple tabs share the origin's saved state, and the last settings snapshot can win.

Disconnecting

Closing a viewer or browser tab leaves a virtual desktop running. To end its applications, use tmdtool stop-session; to remove it, use close-session. A desktop failure or OS logout is different from a viewer disconnect.