ArticlesHow-to

xrdp not working on Ubuntu 26.04? Reach your desktop another way

Published

On Ubuntu 26.04, xrdp can’t start the GNOME desktop: GNOME there runs only on Wayland, and xrdp starts X sessions. Three ways still work: GNOME’s own Remote Desktop and Remote Login, xrdp with another desktop such as Xfce, or a browser tool such as Naytto, whose limits on 26.04 are below.

Why xrdp doesn’t work with GNOME on 26.04

So xrdp finds no GNOME to start, and a black screen or a connection that closes after the login screen fits that cause. One more cause applies on 24.04 too: xrdp’s FAQ says the same user can’t be signed in at the computer and over xrdp at once on systemd distributions such as Ubuntu. Sign out at the computer first.

Which fix fits

OptionWhat you getReaching it from elsewhere
GNOME Remote DesktopYour signed-in GNOME desktopAn RDP app, plus the same network, a VPN or port forwarding
GNOME Remote LoginYour GNOME account while you’re signed out at the computerThe same
xrdp with XfceA separate Xfce desktop, not GNOMEThe same
NayttoYour signed-in GNOME desktop, with limitsAny current browser, no VPN or port forwarding

Free fix 1: GNOME’s Remote Desktop and Remote Login

Ubuntu 24.04 and later have an RDP server built in. Ubuntu’s guide covers both modes:

  1. Remove xrdp so its port is free: sudo apt remove xrdp. Both use port 3389.
  2. Open Settings › System › Remote Desktop. Turn on Desktop Sharing to share the session you’re signed in to, and Remote Control to use it. Or turn on Remote Login to sign in while nobody is signed in at the computer.
  3. Note the user name and password shown there. They work only for remote desktop, not as your Ubuntu password.
  4. If the firewall is on, run sudo ufw allow 3389:3390/tcp. With both modes on, Desktop Sharing moves to port 3390.
  5. Connect with any RDP app, such as Windows’ Remote Desktop Connection or Remmina on Ubuntu.

From another network, Ubuntu’s guide says you need port forwarding on your router or a VPN, and warns that port forwarding opens your computer to the world.

Free fix 2: xrdp with another desktop

The same release notes say Xfce, MATE and other desktops can still start an X session, so xrdp works with them.

  1. Install both: sudo apt install xrdp xfce4
  2. Make Xfce the desktop your X sessions start. If you already have a ~/.xsession file, keep a copy first: cp ~/.xsession ~/.xsession.before-xrdp. Then run echo startxfce4 > ~/.xsession. Ubuntu’s X session manual explains that file: it applies to any X session you start, not only xrdp. To undo it, delete the file or put your copy back.
  3. If the firewall is on, run sudo ufw allow 3389/tcp.
  4. Sign out at the computer, then connect an RDP app to it.

You get a separate Xfce desktop, not the GNOME one on your screen.

Or use a browser: Naytto on 26.04

Naytto shows your GNOME desktop on Wayland in any browser, through its private relay, so there’s no RDP app, VPN or port forwarding. Install it with curl -fsSL https://naytto.com/install.sh | sh; the Linux guide has every step.

On Ubuntu 26.04, as of 13 November 2026:

So unlike Remote Login, Naytto can’t sign you in after a restart. Ubuntu remote desktop from any browser compares 24.04 and 26.04.

When Naytto isn’t the right choice

Reach your computer from a browser

Naytto is free for 1 computer, with no card needed. Install it on the computer you want to reach, then connect from any browser.