Your AI assistant can now work in DeviceView, inside your role. See how it works

    See how AI access works
    DeviceView by DeviceNexus
    Log inStart free
    DeviceView by DeviceNexus

    GNOME Remote Desktop on Wayland: setup on Ubuntu, Fedora and RHEL

    GNOME ships its own remote desktop server, GNOME Remote Desktop, which speaks RDP, runs natively on Wayland and sits behind the Remote Desktop page in Ubuntu's and Fedora's Settings. It has three modes: Desktop Sharing shows the session already on the screen, Remote Login (added in GNOME 46) connects to the GDM login screen of a machine nobody is using and starts a new session, and a headless mode runs one user's session with no monitor at all. Most third-party tools reach GNOME through the screen cast and remote desktop portals instead, which ask the person at the screen for consent and stop at the lock and login screens unless the vendor integrates more deeply.

    Key facts

    • GNOME Remote Desktop is GNOME's own RDP server. It runs natively on Wayland and is set up under Settings > System > Remote Desktop.
    • GNOME Remote Desktop has three modes: Desktop Sharing shows the session on the monitor, Remote Login connects to the GDM login screen and starts a new session, and a headless mode runs one user's session with no monitor.
    • Remote Login needs GNOME 46 or later. Ubuntu 26.04 and Fedora 44 ship GNOME 50, Fedora 45 ships GNOME 51, and RHEL 10 launched with GNOME 47 and moved to GNOME Shell 49 in RHEL 10.2.
    • Remote Login takes two sets of credentials: the RDP login details get you to the login screen, then each person signs in with their own Linux account.
    • Locking the screen ends a Desktop Sharing connection and blocks new ones. Remote Login works with nobody at the machine, but it starts a separate session and cannot show the locked one.
    • Remote Login listens on port 3389. Keep it off the internet and reach it through an SSH tunnel or another protected path.
    • Most third-party tools go through the screen cast and remote desktop portals, which ask the person at the screen for consent and stop at the lock and login screens unless the vendor integrates more deeply.
    • DeviceView reaches the GDM login screen and the GNOME lock screen with no prompt, including on Ubuntu 26.04.

    Which GNOME Remote Desktop mode do you need?

    Pick the mode by asking who should be at the screen when you connect.

    ModeWhat the remote client seesNeeds someone signed in?Configured withBest for
    Desktop SharingThe session already on the monitorYes, and not lockedSettings > System > Remote Desktop > Desktop Sharing, or grdctl as that userHelping the person at the screen
    Remote LoginThe GDM login screen, then a new session for whoever signs inNoSettings > System > Remote Desktop > Remote Login, or sudo grdctl --systemShared workstations, labs, and servers with a desktop
    Headless single-userOne user's session running with no monitorNo, the session starts at bootgrdctl --headless plus two systemd unitsBuild boxes and single-user machines with no screen

    Remote Login is the mode that changed GNOME remote access. It arrived in GNOME 46 (SUSE) and connects a remote client to the GDM login screen (RHEL 10 documentation). The remote person lands at the login screen and signs in with their own Linux account, so no one has to be at the machine first.

    How do you turn on GNOME Remote Login, in Settings or with grdctl?

    On Ubuntu 24.04 and later, Fedora and other desktops with GNOME 46 or later, use Settings (GNOME Help):

    1. Open Settings > System > Remote Desktop and select Remote Login.
    2. Authenticate to change the settings, then turn Remote Login on.
    3. Set the login details that RDP clients must enter to reach the login screen. These credentials are separate from any Linux account.
    4. Note the host name and port shown on the page, and use Verify Fingerprint to see the fingerprint that clients should match. GNOME 49 and earlier, including Ubuntu 24.04 and RHEL 10, call the button Verify Encryption.

    On RHEL 10 and its rebuilds, Red Hat and Oracle document the same setup from the command line. Install the packages first, and reboot after installing gnome-remote-desktop, as Red Hat's procedure says. A server with no desktop also needs a GNOME session installed first.

    sudo dnf install gnome-remote-desktop gdm freerdp
    sudo reboot
    

    The system daemon runs as the gnome-remote-desktop user, so both guides create the TLS key and certificate as that user (Oracle Linux 10 tutorial):

    sudo -u gnome-remote-desktop mkdir -p ~gnome-remote-desktop/.local/share/gnome-remote-desktop
    sudo -u gnome-remote-desktop winpr-makecert -silent -rdp -path ~gnome-remote-desktop/.local/share/gnome-remote-desktop rdp-tls
    sudo grdctl --system rdp set-tls-key ~gnome-remote-desktop/.local/share/gnome-remote-desktop/rdp-tls.key
    sudo grdctl --system rdp set-tls-cert ~gnome-remote-desktop/.local/share/gnome-remote-desktop/rdp-tls.crt
    sudo grdctl --system rdp set-credentials
    sudo grdctl --system rdp enable
    sudo systemctl enable --now gdm
    sudo systemctl enable --now gnome-remote-desktop.service
    sudo systemctl set-default graphical.target
    sudo grdctl --system status
    

    On Ubuntu and Debian, winpr-makecert is not installed by default, and Debian 13 names it winpr-makecert3. The gnome-remote-desktop README also documents openssl, which avoids the FreeRDP tools. Use this line in place of the winpr-makecert line:

    sudo -u gnome-remote-desktop openssl req -new -newkey rsa:4096 -days 720 -nodes -x509 -subj "/CN=$(hostname)" -out ~gnome-remote-desktop/.local/share/gnome-remote-desktop/rdp-tls.crt -keyout ~gnome-remote-desktop/.local/share/gnome-remote-desktop/rdp-tls.key
    

    The service listens on TCP port 3389 by default. Connect with an RDP client. GNOME's help lists Remmina, GNOME Connections, xfreerdp, Windows' built-in Remote Desktop Connection (mstsc) and Thincast, and Oracle warns that some clients do not work. You authenticate twice. The RDP credentials only get you to the login screen, and each person then signs in at GDM with their own account.

    From GNOME 47, a Remote Login session keeps running after the client disconnects, and you return to it when you reconnect.

    Do not open port 3389 to the internet. Oracle's tutorial warns against exposing the RDP port on an untrusted network and connects through an SSH tunnel instead, which needs no firewall change:

    ssh -L 13389:localhost:3389 user@remote-host
    

    Then point the RDP client at localhost:13389.

    To connect directly on a trusted network, open the port in firewalld, as Red Hat's Remote Login procedure does:

    sudo firewall-cmd --permanent --add-port=3389/tcp
    sudo firewall-cmd --reload
    

    How do you share the desktop someone is already using?

    Desktop Sharing is GNOME's remote assistance mode: the remote client sees the session that is on the monitor, and the person at the machine sees the remote activity (GNOME Help). GNOME does not ask that person to accept an RDP connection. Anyone with the login details can connect while the session is signed in and not locked, and a screen sharing icon shows in the top bar while they are connected.

    1. Sign in as the user whose session you want to share.
    2. Open Settings > System > Remote Desktop > Desktop Sharing and turn Desktop Sharing on.
    3. Turn Remote Control on if the remote person should use the keyboard and mouse. Leave it off for view-only help.
    4. Set the login details and note the port shown on the page.

    The gnome-remote-desktop README gives this command-line sequence, run as the signed-in user (README). On RHEL and Fedora, install freerdp first for winpr-makecert. On Ubuntu and Debian, use the openssl line from the next section in its place.

    mkdir -p ~/.local/share/gnome-remote-desktop
    winpr-makecert -silent -rdp -path ~/.local/share/gnome-remote-desktop tls
    grdctl rdp set-tls-key ~/.local/share/gnome-remote-desktop/tls.key
    grdctl rdp set-tls-cert ~/.local/share/gnome-remote-desktop/tls.crt
    grdctl rdp set-credentials
    grdctl rdp enable
    grdctl rdp disable-view-only
    systemctl --user enable --now gnome-remote-desktop.service
    

    grdctl rdp set-credentials reads the user name and password from standard input, grdctl rdp disable-view-only allows input, and grdctl status shows the current state (grdctl manual page).

    Desktop Sharing depends on that session. If nobody is signed in, or the machine has just rebooted, there is nothing to share, and Remote Login is the mode to use.

    How do you run GNOME Remote Desktop headless, with no monitor?

    There are two ways. Remote Login, the headless remote login added in GNOME 46, creates a headless session for each person who signs in remotely (SUSE). For a single user, the gnome-remote-desktop README and Red Hat document a dedicated headless mode (README, RHEL 10 documentation). It needs the gnome-headless-session@.service unit. GDM ships it from version 50 (Ubuntu 26.04, Fedora 44 and 45), and Red Hat ships it in RHEL 10. Ubuntu 24.04 and Debian 13 do not have it. Run the steps as the user who will own the session, not as root. On RHEL and Fedora, install freerdp first for winpr-makecert.

    mkdir -p ~/.local/share/gnome-remote-desktop
    winpr-makecert -silent -rdp -path ~/.local/share/gnome-remote-desktop tls
    grdctl --headless rdp set-tls-key ~/.local/share/gnome-remote-desktop/tls.key
    grdctl --headless rdp set-tls-cert ~/.local/share/gnome-remote-desktop/tls.crt
    grdctl --headless rdp set-credentials
    grdctl --headless rdp enable
    systemctl --user enable --now gnome-remote-desktop-headless.service
    sudo systemctl enable --now "gnome-headless-session@$USER.service"
    sudo systemctl set-default graphical.target
    

    On Ubuntu and Debian, replace the winpr-makecert line with:

    openssl req -new -newkey rsa:4096 -days 720 -nodes -x509 -subj "/CN=$(hostname)" -out ~/.local/share/gnome-remote-desktop/tls.crt -keyout ~/.local/share/gnome-remote-desktop/tls.key
    

    Red Hat's version of this procedure also opens 3389/tcp in firewalld and lists SELinux in permissive mode as a prerequisite, so test this mode under your own SELinux policy before you rely on it.

    GDM 50 added that unit with RDP in mind (GDM 50.alpha news). In GNOME 50, Remote Login also supports sessions started this way, and they keep running if the remote desktop system service restarts (GNOME 50 release notes).

    Why does Desktop Sharing stop working when the screen locks?

    GNOME treats Desktop Sharing as remote assistance, with someone at the machine. Locking the screen closes the connection, and GNOME Shell refuses new ones while the screen stays locked (gnome-remote-desktop README, issue 119). That surprises admins who expected to reconnect later.

    You have two options:

    1. Use Remote Login for unattended work. It starts a separate session from the login screen, so the local lock does not stop it. It cannot show the locked session itself, and signing in remotely as the user who is signed in at the machine can end that user's local session.
    2. Install the third-party Allow Locked Remote Desktop extension (extensions.gnome.org). It lifts the restriction, so a remote client can connect while the screen is locked.

    For a fleet, option 1 is the one to standardize on when a separate session will do. If you need the session on the screen, option 2 depends on a third-party extension that each major GNOME release can break.

    How do third-party remote support tools work on GNOME?

    A tool that is not part of GNOME has three ways in. The first is the xdg-desktop-portal ScreenCast and RemoteDesktop interfaces, which show GNOME's consent dialog and can remember a choice with a single-use restore token inside the user's session (portal documentation). The second is Mutter's own remote desktop API, the route GNOME Remote Desktop itself uses, with PipeWire for the picture and libei for input (gnome-remote-desktop README). The third is a system-level integration with GDM and the compositor.

    The portal route explains most of what admins see: a prompt on first connection, no access at the login screen, and nothing to attach to after a reboot until someone signs in. Here is what each vendor's own site says for two widely used tools.

    ToolWhat the vendor's site says for GNOME on Wayland
    TeamViewerAttended sessions after a confirmation prompt; unattended access only in limited cases; no access to the lock or login screen; one monitor only; saved permissions can break when the display layout changes; the page calls TeamViewer's Wayland support experimental (TeamViewer community)
    AnyDeskWayland works for outgoing sessions only; accepting incoming connections needs an Xorg session (AnyDesk supported operating systems)

    The comparison pages for TeamViewer, AnyDesk and ScreenConnect on Linux Wayland cover the three incumbents in more depth, and the Wayland evaluation checklist lists the questions to put to any vendor.

    What changed for remote desktop in GNOME 50 and 51?

    GNOME 50, released on 18 March 2026, removed the X11 session (GDM 50.alpha news) and made large changes to remote desktop (GNOME 50 release notes, omgubuntu.co.uk):

    • Hardware-accelerated streaming using Vulkan and VA-API (VA-API stays off on AMD GPUs until GNOME 51).
    • Explicit sync support for NVIDIA drivers.
    • HiDPI support, so the remote client can scale the display to its own screen.
    • Camera redirection, so a webcam on the client can be used inside the remote session.
    • Kerberos authentication for Desktop Sharing and single-user headless servers.
    • Remote Login for sessions started with gnome-headless-session.

    GNOME 51 added two more (gnome-remote-desktop 51.beta, 51.rc):

    • Smart card redirection from the RDP client into the remote session.
    • Kerberos authentication for Remote Login.

    Which GNOME version does your distribution ship?

    Remote Login needs GNOME 46 or later. The X11 column matters if you still run tools that need Xorg.

    DistributionGNOMEGNOME X11 sessionGNOME Remote Login
    Ubuntu 26.04 LTS50NoYes
    Fedora 4551NoYes
    Fedora 4450NoYes
    Debian 1348YesYes
    RHEL 10 and rebuilds47, Shell 49 from 10.2NoYes
    Ubuntu 24.04 LTS46YesYes
    Debian 1243YesNo
    RHEL 940YesNo. Desktop Sharing uses VNC

    Red Hat's RHEL 10 guide uses RDP and keeps VNC for connecting to RHEL 9 and older servers (RHEL 10 documentation). Debian's versions come from its release notes (Debian 13, Debian 12). For other desktops and distributions, see Linux remote desktop.

    How do you troubleshoot GNOME Remote Desktop?

    SymptomLikely causeWhat to do
    Connection refused on port 3389RDP not enabled, service not running, or a TLS key and certificate that do not matchRun sudo grdctl --system status, check that the key and certificate are a matched pair, and read journalctl -u gnome-remote-desktop
    Connection times out from another machinefirewalld blocks port 3389, as on a default RHEL installUse the SSH tunnel, or open 3389/tcp with firewall-cmd on a trusted network
    Login details rejectedThe RDP credentials and the Linux account were mixed upEnter the Remote Login credentials first, then the Linux account at the GDM screen
    Works until the screen locksGNOME closes Desktop Sharing when the screen locksUse Remote Login for a separate session, or see the lock screen section
    Remote sign-in would end a local sessionThat user is already signed in at the machineSign out at the machine first, or use Desktop Sharing for that session
    Nothing to connect to after a rebootDesktop Sharing needs a signed-in sessionUse Remote Login or a headless session
    A third-party tool shows a black screen after a monitor changeThe saved portal permission no longer matches the display layoutApprove the permission again, or use the vendor's reset procedure

    How does DeviceView handle GNOME?

    DeviceView provides live view, remote control and unattended access on GNOME under Wayland with no prompt, including on Ubuntu 26.04, where GNOME 50 no longer offers an X11 session to fall back to. It reaches the GDM login screen, including straight after a reboot, and the GNOME lock screen.

    The desktop agent supports Ubuntu 18.04 and later, Debian 10 and later, and RHEL and AlmaLinux 8 and later, on x86_64 and arm64. On Wayland it needs GNOME 40 or later (Ubuntu 22.04 and later); with an older GNOME, use an Xorg session. Fedora is not tested yet; contact us if you run it.

    On GNOME, the ask-first attended mode works on the desktop, the lock screen and the login screen, so a person can approve or decline even before signing in. DeviceView follows monitors as they are plugged and unplugged, and it can add a virtual display or start on one so the physical screen is never captured. With no monitor attached, DeviceView has Mutter create a virtual display, so you still get the GDM login screen and the desktop. Users can raise support requests from the GNOME panel.

    DeviceView works in the session on the machine's screen, or at its login screen. It does not create a separate desktop session for each person the way Remote Login does, so if each user needs a remote session of their own, use Remote Login for that.

    The platform coverage page lists each capability by platform, with the desktops each one covers, and the free Pilot covers 5 devices if you want to test it on your own GNOME machines.

    Frequently asked questions

    How do I enable remote desktop on Ubuntu 26.04?

    Ubuntu 26.04 runs GNOME 50, so open Settings > System > Remote Desktop. Use Desktop Sharing to share the session that is on the screen, or Remote Login to connect to the login screen of a machine nobody is using. Both use RDP: Remote Login takes port 3389, and when both are on, Desktop Sharing moves to another port, such as 3390. For xrdp, VNC, connecting from Windows and Ubuntu Server, see Ubuntu remote desktop.

    How do I enable remote desktop on Fedora?

    Fedora Workstation uses the same Settings > System > Remote Desktop page, with Desktop Sharing and Remote Login. Fedora 44 runs GNOME 50 and Fedora 45 runs GNOME 51, so the fingerprint button is called Verify Fingerprint. If firewalld blocks the connection, open the RDP service with sudo firewall-cmd --permanent --add-service=rdp and sudo firewall-cmd --reload.

    What is the difference between Desktop Sharing and Remote Login in GNOME?

    Desktop Sharing shows the session that is already on the monitor and needs that user to be signed in with the screen not locked. Remote Login connects to the GDM login screen and starts a separate session for whoever signs in, so nobody needs to be at the machine.

    Can I connect to GNOME at the login screen?

    Yes, with Remote Login on GNOME 46 or later. Third-party tools that rely only on the xdg-desktop-portal cannot reach the login screen, because the portal runs inside a user's session and nobody has signed in at that point.

    Does GNOME Remote Desktop work without a monitor?

    Yes. Remote Login creates a headless session for each person who signs in, and the headless single-user mode runs one user's session at boot with no monitor attached.

    Which RDP clients work with GNOME Remote Desktop?

    GNOME's help lists Remmina, GNOME Connections and xfreerdp (with /network:auto) on Linux, the built-in Remote Desktop Connection (mstsc) on Windows, and Thincast on Linux, Windows and macOS. Oracle's tutorial notes that not every RDP client works with Remote Login, so test the clients your technicians actually use.

    Is VNC still available in GNOME?

    Not in the Settings pages, which set up RDP, and Remote Login is RDP only. The gnome-remote-desktop server still has a VNC backend for Desktop Sharing and single-user headless sessions, set up with grdctl vnc commands, but distributions choose whether to build it: Fedora's package includes it, while Debian 13 and Ubuntu 26.04 leave it out. Red Hat's RHEL 10 guide uses RDP and keeps VNC for connecting to RHEL 9 and older servers. Plan new deployments around RDP.

    Sources

    GNOME is a trademark of the GNOME Foundation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Ubuntu is a trademark of Canonical Ltd. Debian is a registered trademark of Software in the Public Interest, Inc. Red Hat, Red Hat Enterprise Linux and Fedora are trademarks of Red Hat, LLC. Oracle is a registered trademark of Oracle and/or its affiliates. Windows is a trademark of the Microsoft group of companies. macOS is a trademark of Apple Inc. TeamViewer is a trademark of TeamViewer Germany GmbH. AnyDesk is a trademark of AnyDesk Software GmbH. ScreenConnect is a trademark of ConnectWise, LLC. Other names are trademarks of their respective owners. DeviceView is not affiliated with any of these companies or projects.