X11 vs Wayland: what changed for remote desktop
X11 vs Wayland, for remote desktop, comes down to who may read the screen and send input: on X11, any program allowed to connect to the X server can do both, so remote desktop tools grabbed pixels and injected input directly. On Wayland the compositor decides: GNOME and KDE Plasma hand access out through portals, PipeWire and libei, usually after a person agrees, while wlroots compositors such as Sway give their own capture and input protocols to any program that is not sandboxed. That change explains most of the black screens, repeated permission prompts, unreachable login screens and headless failures that admins now meet with remote support tools on Linux.
Key facts
- On X11, any program that can connect to the X server can read the whole screen and send keyboard and mouse input to any window. Remote desktop tools were built on that openness.
- On Wayland, only the compositor (Mutter, KWin, or a wlroots compositor such as labwc) can capture the screen or deliver input. GNOME and KDE Plasma hand access out through portals, PipeWire and libei, usually after a person agrees; wlroots compositors such as Sway give it to any program that is not sandboxed.
- The newest releases of the default desktops have dropped X11: Ubuntu 26.04, Fedora 43 and later, and RHEL 10 offer no GNOME X11 session, and KDE Plasma 6.8 has no X11 session at all.
- A black remote screen on Wayland usually means the tool still captures through X11, its portal permission was never granted or went stale, or there is no session it may capture, such as a login screen or a locked GNOME session.
- Unattended access on Wayland comes from a remembered portal permission, admin pre-authorization (KDE Plasma 6.3 and later), the desktop's own remote login (GNOME 46 and later), or a privileged integration.
- Login screens are where desktops differ most: GNOME Remote Login reaches GDM, while KDE's KRdp needs a signed-in session.
- DeviceView provides live view, remote control and unattended access on X11 and Wayland, including GNOME, KDE and wlroots desktops, and reaches the GDM and SDDM login screens.
X11 vs Wayland at a glance
| X11 | Wayland | |
|---|---|---|
| Display server | A separate X server that every app and the window manager connect to | The compositor itself |
| What an app can see | Any connected app can read any window and the whole screen | Its own windows, unless the compositor grants capture |
| Input from other programs | Any connected app can send keystrokes and clicks to any window | Only the compositor delivers input. Remote input reaches it through a portal, libei or the compositor's own interfaces |
| Screen capture | Direct, with no prompt | Usually through PipeWire and the screen cast portal, after a person approves |
| Remote desktop tools | Capture and inject directly, including at the login screen with the right setup | Use the portals, the desktop's own server or a compositor-specific integration |
| Desktop sessions | No GNOME X11 session on Ubuntu 26.04, Fedora 43 and later, or RHEL 10, and no Plasma X11 session from Plasma 6.8 | The default for GNOME and KDE Plasma |
How did remote desktop work on X11?
The X server is a shared broker. Every program that holds the display name and the authorization cookie (the DISPLAY variable and the Xauthority file) is a client with the same broad powers, and the protocol was never designed to keep clients apart. The X SECURITY extension can mark a connection as untrusted, but the programs on a desktop connect as trusted clients.
A remote desktop agent relied on three of those powers:
- Capture. It read the root window with
XGetImageor the MIT-SHM shared memory extension, and used XDamage to learn which regions had changed. - Input. It sent synthetic key presses and pointer motion through the XTEST extension, and the X server treated them like events from real hardware.
- Reach. A service running as root could find the cookie of the login screen's X server and attach before anyone signed in. On machines with no monitor, admins ran Xvfb or the dummy video driver so there was always a framebuffer to read.
That same openness is the security problem: any client can watch everything. A program running as an ordinary user can log the keys typed into other windows, passwords included, read the clipboard and capture any window, and nothing on screen shows it. Red Hat names security among the reasons it moved RHEL 10 to a Wayland-only desktop (Red Hat).
What does Wayland change for remote access?
In Wayland, the compositor is the display server. Each application draws into its own buffers and receives only its own input. The core protocol gives no client a way to read another client's pixels, capture the whole screen, or inject events into other windows. Those capabilities come only from the compositor, through one of four routes. GNOME and KDE Plasma keep them behind a dialog or their own settings, while wlroots compositors such as Sway offer theirs to any program that is not sandboxed.
| Route | Who uses it | How access is approved |
|---|---|---|
| xdg-desktop-portal ScreenCast and RemoteDesktop interfaces | Most third-party apps, including remote support tools | A dialog in the user's session, with an option to remember the choice |
| Compositor-private interfaces | GNOME Remote Desktop (Mutter's ScreenCast and RemoteDesktop D-Bus APIs), KDE's KRdp | Enabled by the user or an admin in Settings |
| wlroots privileged protocols (screencopy, ext-image-copy-capture, virtual keyboard and pointer) | wayvnc and other tools on Sway, labwc and Wayfire | The compositor's own policy, often with no prompt |
| Display manager integration | GNOME Remote Login (GDM plus the gnome-remote-desktop system daemon) | Enabled by an admin. Each person then signs in with their own account |
Video usually leaves the compositor as a PipeWire stream. Input goes back as D-Bus calls, through a compositor's own input protocol, or, since version 2 of the RemoteDesktop portal, over a libei connection that the portal hands out through ConnectToEIS (portal documentation). The wlroots protocols skip PipeWire: the compositor copies each frame into a buffer the client hands it over the Wayland connection itself.
X11 vs Wayland, capability by capability
| Capability | X11 | Wayland |
|---|---|---|
| Read the screen | Any client with display access reads the root window | Only through the compositor: portal, private API or privileged protocol |
| Inject keyboard and mouse | XTEST, available to any client | RemoteDesktop portal, compositor API or virtual input protocols |
| Who approves access | Nobody beyond whoever holds the cookie | The user in a dialog, an admin pre-authorization, or on wlroots, the compositor's own policy |
| Remembering an approval | Not needed | Portal persistence: a single-use restore token per app, inside one user's session |
| Login screen | Attach to the greeter's X server | Needs display manager support or a vendor integration |
| Straight after a reboot | Attach to the greeter | Nothing to attach to until a session or a greeter integration exists |
| No monitor attached | Xvfb or the dummy video driver | Compositor virtual monitors, or the kernel's vkms virtual display |
| X11 applications | Native | Run through Xwayland, which sees only X11 windows |
| Behavior across desktops | Largely the same everywhere | Differs by compositor: GNOME, KDE and wlroots each behave differently |
The last row matters most in practice. "Works on Wayland" says little until a vendor names the compositor, the version and the scenario: signed in, locked, at the login screen, after a reboot, or with no monitor.
Why does remote desktop show a black screen on Wayland?
A black or empty remote screen usually has one of three causes.
- The tool still captures through X11. It connects to Xwayland, which holds only X11 windows, so it captures nothing useful.
- The portal session was never approved, or the approval went stale. TeamViewer notes that on GNOME, a change to the display layout can invalidate saved permissions and leave the remote side black (TeamViewer community).
- There is no session to show, or the desktop will not share it. At the login screen, straight after a reboot, or on a box with no monitor, a tool that rides on a signed-in session has nothing to capture. GNOME also refuses screen capture while the session is locked.
To check which display server a session uses, run echo $XDG_SESSION_TYPE inside it, or loginctl show-session <id> -p Type from a shell on the same machine.
Can unattended access work on Wayland?
Yes, but not through the default consent dialog. There are four ways to get there, and each has limits. Why unattended remote desktop is hard on Wayland covers each in more depth.
- Remembered portal permission. An app asks for
persist_mode2, a person approves once, and the app stores a restore token. The token works once, and each successful start returns a new one (portal documentation). It lives inside one user's session, so it does nothing at the login screen or before anyone signs in. - Admin pre-authorization. KDE Plasma 6.3 added a
kde-authorizedpermission table, so an admin can allow a named app, for each user, to use the remote desktop portal with no dialog (KDE developer documentation). KDE warns that unsandboxed apps can claim any app ID, so an entry is only as strong as that ID. GNOME relies on remembered permissions instead. - Built-in remote login. GNOME 46 added Remote Login over RDP, which connects to the GDM login screen of a machine that nobody is using (SUSE). KDE's built-in server, KRdp, shares an existing session and needs a user to be signed in.
- Privileged integration. wlroots compositors such as Sway let any program that is not sandboxed capture the screen and inject input without a prompt, and some vendors integrate with the display manager and compositor at the system level.
Which desktops and distros dropped X11, and when?
X11 vs Wayland stopped being a theoretical choice when the default desktops dropped their X11 sessions.
| Date | Change |
|---|---|
| 14 October 2026 | KDE Plasma 6.8 ships with no X11 session. KDE's release schedule keeps Plasma 6.7 bug-fix releases going until January 2027 (KDE). |
| 23 April 2026 | Ubuntu 26.04 LTS ships GNOME 50 with no Xorg desktop session (Ubuntu). |
| 18 March 2026 | GNOME 50 removes X11 session code from Mutter, GNOME Shell and GDM (GDM news, The Register). |
| 17 February 2026 | Plasma 6.6 introduces Plasma Login Manager, a new greeter forked from SDDM. Fedora 44 KDE uses it by default on new installs (Fedora). |
| 28 October 2025 | Fedora 43 Workstation ships GNOME 49 with no X11 session (Fedora Magazine). |
| October 2025 | Ubuntu 25.10 removes the Ubuntu on Xorg session (Ubuntu). |
| September 2025 | GNOME 49 disables the X11 session as a build-time default (GNOME). |
| May 2025 | RHEL 10 removes the Xorg server and keeps Xwayland for X11 applications (Red Hat). |
| October 2024 | Raspberry Pi OS moves every Pi model to the labwc Wayland compositor (Raspberry Pi). |
Two practical consequences follow. On GNOME 50, setting WaylandEnable=false in GDM no longer gives you an X11 GNOME session to sign in to, because the code is gone. And the remaining X11 desktops, such as Xfce and MATE, are different desktops, not a switch on the default one.
Is Wayland actually more secure for remote access?
On GNOME and KDE Plasma, yes, against the threat it was designed for. A random application there cannot log keystrokes typed into other windows or scrape the screen unless the compositor allows it, and the compositor can ask, show an indicator and revoke access. On X11, any client could do both silently. wlroots compositors such as Sway are the exception: they refuse their capture and virtual input protocols only to sandboxed apps such as Flatpaks, so an ordinary program there can still capture the screen and send input with no prompt.
Wayland is not a complete answer. A program running as your user can still read your files, and malware can request screen sharing like any other app. The practical gain for IT is narrower and still useful: screen capture and input become something a program has to ask for and the user can see, instead of something every program can do. For unattended support, the authorization decision moves from a click by whoever happens to be at the screen to an organizational decision: who enrolled the device, which roles may connect, and what gets logged.
Should you force X11 to keep an old tool working?
Treat it as a bridge, not a plan.
- It still works on some releases. Debian 13, the current Debian release, still packages GNOME on Xorg, Ubuntu 24.04 LTS and RHEL 9 still offer X11 sessions, and Red Hat says customers can stay on RHEL 9 for its full life cycle while they move to Wayland (Red Hat).
- It is gone on the newest releases of the default desktops. Ubuntu 26.04, Fedora 43 and later, and RHEL 10 offer no GNOME X11 session, and Plasma 6.8 has no X11 session at all.
- It costs you the isolation described above. You will face the same migration again at the next upgrade.
What should you test in any remote tool on Wayland?
Run these checks on the desktops you actually deploy, not on one lab machine.
- An attended session in a signed-in GNOME session and in a signed-in KDE Plasma session.
- An unattended reconnect with nobody at the device, counting every prompt.
- A connection while the screen is locked.
- A connection at the login screen straight after a reboot: GDM, SDDM or Plasma Login Manager.
- A machine with no monitor attached.
- Plugging, unplugging and reordering monitors during and between sessions.
- Keyboard shortcuts, special key combinations, and the clipboard in both directions.
- What the person at the device sees, and what the audit log records.
The vendor-neutral Wayland evaluation checklist turns these into questions to put to any vendor. For desktop-specific detail, see remote desktop on GNOME Wayland and remote desktop on KDE Plasma Wayland, and for three incumbent tools, the comparisons for TeamViewer, AnyDesk and ScreenConnect on Linux Wayland.
How does DeviceView handle Wayland?
DeviceView uses one native agent for Linux desktops and headless machines, on x86_64 and arm64 and on 32-bit Raspberry Pi OS. It provides live view and remote control on X11 and Wayland, including GNOME, KDE and wlroots desktops. Unattended access needs no prompt on X11, GNOME, KDE or wlroots; other Wayland desktops may ask once. It reaches the GDM and SDDM login screens, including straight after a reboot, and the GNOME, KDE and X11 lock screens, without switching the device to X11. Plasma Login Manager, KDE's newer greeter, is not on that list.
On a machine with no monitor, GNOME on Wayland or the vkms kernel module on X11 gives DeviceView a virtual display and a graphical login. Attended or unattended access is set per device, and the session indicator names the technician. 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 check it on your own hardware.
Frequently asked questions
Is Wayland better than X11?
For most desktops, yes. On GNOME and KDE Plasma, Wayland stops apps from reading each other's windows or typing into them, and Wayland is where GNOME and KDE now do their development. For remote support it is a trade rather than a straight upgrade: tools must go through the portals or the desktop's own server, X11-only tools stop working, and reaching the login screen depends on the desktop. Older X11 applications keep running through Xwayland.
Why is X11 being phased out?
Because the major desktops, and most of the developers who once worked on Xorg, have moved to Wayland, and X11 was never designed to keep programs apart. Red Hat removed the Xorg server from RHEL 10 so it could stop splitting its work across two display stacks and focus on features such as HDR, mixed-density displays and security. KDE's usage data showed more than 95% of Plasma 6.6 users already on Wayland, GNOME 50 removed its X11 session code, and Plasma 6.8 ships without an X11 session. X11 applications keep running through Xwayland, so the X11 protocol stays while the X11 desktop sessions go.
Is Wayland more efficient than X11?
It depends on the hardware and the desktop. Kubuntu's 26.04 release notes credit the Wayland session with smoother rendering and better HiDPI support, and Red Hat lists HDR, mixed-density displays and display hot-plugging among the work a Wayland-only desktop lets it do. For remote desktop, the capture path matters more than the display server: a tool that captures through X11 on a Wayland desktop sees only Xwayland windows, however fast the desktop is.
Why do some people still avoid Wayland?
Usually because a tool or workflow they depend on needs X11. X11-only remote support and automation tools stop working, reaching the login screen depends on the desktop, and TeamViewer still recommends Xorg where unattended access has to be fully reliable. GNOME's developers say GNOME 48 fixed the last big accessibility gaps, and that only a few niche workflows still need X11.
Which Linux distros still support X11?
Debian 13, the current Debian release, still packages a GNOME on Xorg session, and Ubuntu 24.04 LTS and RHEL 9 still offer X11 sessions for their default desktops. Ubuntu 26.04, Fedora 43 and later, RHEL 10 and openSUSE Leap 16 offer no GNOME X11 session, RHEL 10 and Leap 16 removed the Xorg server, and Plasma 6.8 has no X11 session at all. On Ubuntu 26.04, Xfce, MATE and Kubuntu's unsupported plasma-session-x11 package can still start an X11 session, and Raspberry Pi OS still packages an X11 desktop beside its labwc default. On Wayland desktops, X11 applications run through Xwayland.
Does Wayland support remote desktop?
Yes: GNOME ships an RDP server with Desktop Sharing and Remote Login, KDE Plasma ships the KRdp RDP server, and wlroots compositors work with wayvnc. Third-party tools use the xdg-desktop-portal ScreenCast and RemoteDesktop interfaces. What differs from X11 is that the compositor must grant access, often after a prompt. For a short definition of the terms, see Wayland remote desktop.
Can I still use VNC on Wayland?
Yes, with Wayland-aware servers. wayvnc works on wlroots compositors such as labwc on Raspberry Pi OS. RHEL 10 removed the TigerVNC server and uses RDP through gnome-remote-desktop, keeping VNC only for connecting to RHEL 9 and older servers. Classic X11 VNC servers such as x11vnc work only in X11 sessions.
Can I switch Ubuntu 26.04 back to Xorg?
Not for the default GNOME desktop. GNOME 50 no longer contains X11 session code, so there is no Ubuntu on Xorg session to choose. You can install a desktop that still offers an X11 session, such as Xfce, but that is a change of desktop, not a setting. For the built-in options on Ubuntu, see Ubuntu remote desktop, and for unattended access on the Wayland default, see unattended remote control on Ubuntu 26.04.
Does X11 forwarding still work?
Yes, for individual X11 applications. The app runs on the remote machine and draws on your local desktop, through Xwayland if that desktop runs Wayland. The remote machine needs no X server, but Red Hat's RHEL 10 guide has you install xorg-x11-xauth and turn on X11Forwarding in /etc/ssh/sshd_config, which RHEL ships turned off, and it documents waypipe for Wayland apps. Neither gives you the whole desktop.
What is libei?
libei is a library for emulated input on Wayland. A remote desktop app gets a libei connection from the RemoteDesktop portal through ConnectToEIS and sends keyboard and pointer events over it, instead of injecting them into the display server as XTEST did on X11.
Sources
- RemoteDesktop portal interface, xdg-desktop-portal documentation
- Headless remote sessions in GNOME, part 3, SUSE
- GDM 50.alpha release news, GNOME
- GNOME 50 release coverage, The Register, 19 March 2026
- What's new for developers in GNOME 49, GNOME
- An update on the X11 GNOME session removal, GNOME developer blog, 8 June 2025
- X11 session removal FAQ, GNOME developer blog, 23 June 2025
- David Edmundson on Plasma's last X11 release, KDE developer blog, 2 June 2026
- Plasma 6 release schedule, KDE Community wiki
- XDG portal pre-authorization, KDE developer documentation
- KDE Plasma Login Manager, Fedora change page
- What's new in Fedora Workstation 43, Fedora Magazine
- Ubuntu 25.10 drops support for GNOME on Xorg, Ubuntu Discourse
- Ubuntu 26.04 LTS summary for LTS users, Ubuntu release notes
- Kubuntu 26.04 release notes, Kubuntu
- What's new in Debian 13, Debian release notes
- openSUSE Leap 16.0 release notes, openSUSE
- RHEL 10 plans for Wayland and the Xorg server, Red Hat blog
- RHEL 10.0 release notes: removed features, Red Hat
- Remotely access the desktop, Red Hat Enterprise Linux 10 documentation
- Connect to a remote desktop by using GNOME, Red Hat Enterprise Linux 10 documentation
- Administering RHEL by using the GNOME desktop environment, Red Hat Enterprise Linux 10 documentation
- A new release of Raspberry Pi OS, Raspberry Pi news
- Trixie, the new version of Raspberry Pi OS, Raspberry Pi news
- TeamViewer support on Wayland, experimental state, TeamViewer community
- DeviceView platform coverage
GNOME is a trademark of the GNOME Foundation. KDE is a trademark of KDE e.V. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Ubuntu and Kubuntu are trademarks 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. Raspberry Pi is a trademark of Raspberry Pi Ltd. 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.