Wayland console sessions

Authorize portal capture and input, including scaled and multiple monitors.

On this page

Console requirements

TMD can share a supported Wayland desktop without switching the host to X11. The owner must be logged into the active physical console and able to authorize remote desktop capture/input. Standard capture uses PipeWire and the desktop portal.

On Ubuntu GNOME, install or check:

sudo apt install pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-gnome libei1

Other desktops need their corresponding portal backend; installing a GNOME backend is not a universal recipe for every compositor.

Check inside the owner's desktop

Run these in a graphical terminal as the desktop owner, not as root:

echo "$XDG_SESSION_TYPE"
systemctl --user status pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-gnome --no-pager
journalctl --user -b -u xdg-desktop-portal -u xdg-desktop-portal-gnome -n 80 --no-pager

Verify the active seat0 owner with loginctl as described in Console verification. A healthy portal cannot make a console available for an account that is not logged in.

Authorize capture and input

  1. Install TMD with --console-owner alice, or disable automatic creation and create the console manually.
  2. Approve the desktop's screen-sharing/remote-desktop dialog when the agent requests access.
  3. Select the display(s) to share as offered by the desktop.
  4. Wait for the TMD session to become active, then connect to #console.
  5. Test pointer movement across each monitor, cursor shapes, keyboard input, and screen updates.

A stored restore token can allow later reuse, depending on the compositor and portal. It is not a guarantee of permanent unattended permission. NvFBC can request its own separate portal authorization.

Multiple monitors and fractional scaling

The agent maps capture streams to the available monitors. Use the viewer's display controls to select a monitor and verify the full pointer travel area after changing scaling or monitor arrangement.

For fractional scaling, TMD can use the portal-authorized EIS input connection when captured pixel dimensions exceed logical stream dimensions. The host's libei1 package and portal ConnectToEIS support are needed for that path. The agent logs Selected EIS input for scaled Wayland desktop when selected. If unavailable, the legacy input path remains, and some fractional-scaling limits may persist.

Resolution changes and capture recovery

Display changes can renegotiate a PipeWire stream or replace its source. TMD 2026.1 renews capture/input and rebuilds grabbers inside the running agent when the source is lost. Viewers can remain connected; authorization may be requested again if the saved token is not reusable.

If sharing disappears or a reconnect is black, collect the agent log and owner portal journal. Verify the current server/agent versions on multi-monitor hosts. For a capture baseline, temporarily select standard capture as documented under Capture baseline.

Unattended hosts

An ordinary desktop portal does not create a headless desktop. If there is no graphical login, active output, or way to approve the first dialog, use a private Wayland virtual desktop or X11 virtual desktop. TMD's GNOME virtual backend uses private Mutter interfaces rather than the physical user's portal.