Disclaimer: We may earn a commission when you purchase products linked throughout our site.

Wayland vs Xorg on Ubuntu: Choose and Check Your Session

Check your Ubuntu display session, tell Xwayland apps from an Xorg desktop, and isolate problems with screen sharing, scaling and login.

Keep the default Wayland session if the applications and peripherals you need work there. If something fails, first identify your Ubuntu version, desktop and session. Standard Ubuntu Desktop with GNOME still offers an Xorg comparison on 24.04 when the login option is installed and available. GNOME on 25.10 and 26.04 uses Wayland for the desktop, so a missing โ€œUbuntu on Xorgโ€ entry is expected. An older X11 application can still open inside that Wayland session through Xwayland.

Check your Ubuntu version and current session

Open a terminal in the graphical desktop you want to diagnose. A terminal reached over SSH or through a text console describes a different environment.

grep '^VERSION_ID=' /etc/os-release
printf 'Desktop: %s\nSession: %s\n' "$XDG_CURRENT_DESKTOP" "$XDG_SESSION_TYPE"
EnvironmentWhat to expectHow to verify
Ubuntu 24.04 LTS, standard GNOME desktopWayland is the usual default. An Ubuntu on Xorg entry may be available.Check the session value and the login menu on your machine.
Ubuntu 25.10 or 26.04 LTS, standard GNOME desktopThe Ubuntu GNOME session is Wayland-only.Check the logged-in desktop and session. Use the application checks below to identify Xwayland windows.
Other Ubuntu flavours or separately installed desktopsAvailable sessions depend on the desktop, release and installed packages.Check the flavour’s release notes and the login options.
Unknown or remote environmentEstablish which desktop the problem occurs in before changing settings.Run the checks inside the affected desktop and record its name and session.

Canonical documents the removal of the GNOME Xorg session in the Ubuntu 25.10 release notes.

Wayland, Xorg and Xwayland solve different problems

On a Wayland desktop, the compositor controls what appears on screen and which clients receive input. Xorg is the display server for an X11 session. Xwayland supplies an X server for individual X11 applications within a Wayland desktop. The presence of a DISPLAY variable or an Xwayland process therefore tells you little about which backend a particular window uses.

If xprop is available and your session reports wayland, run xprop WM_CLASS and click the window’s own content. A returned X11 window class is positive evidence that the window uses Xwayland. An unsuccessful selection is inconclusive since the tool only inspects X windows. Verify using the application’s diagnostics if it offers them. Close and reopen an app after changing its renderer. Some already running processes accept a second launch without changing backends.

Choose by the application or device that fails

SymptomFirst comparisonWhat the outcome narrows down
One app is blurryMove that app and a native desktop app between displays at their existing scales.If only one window is affected, inspect its backend and the desktop’s Xwayland scaling policy.
Every window changes size unexpectedlyConfirm native monitor resolution and each display’s saved scale.A shared symptom points to display configuration or compositor behaviour.
Video-call preview is blackCompare built-in capture with the same display or window in the call app.A working built-in capture shifts attention to the app, portal or packaging.
Remote desktop fails after logoutIdentify whether the service shares an existing desktop or creates a remote login.Session availability, authentication and connectivity are distinct checks.
Login repeatedly returns to the greeterTry reaching a text console and inspect the journal.A failed login may be unrelated to the display protocol.

Screen sharing, recording and remote desktop checks

On a Wayland desktop, look for the desktop’s screen or window picker. Apps commonly request capture through a desktop portal, with PipeWire carrying the stream. If built-in capture works but a third-party recorder returns a black image, choose its PipeWire or portal capture source where available. Retest a single window first. A successful preview is useful, but confirm that the meeting participant or finished recording actually receives the picture. For still images and shortcuts, compare capture workflows.

For remote access, check whether you need to view a signed-in user session or log in remotely before a local session exists. Test the documented mode while physically available to recover the machine. A failure only after locking or logging out is a good reason to inspect the mode and its permissions before revisiting the network or GPU driver.

Scaling, graphics and multi-monitor checks

Record the resolution, scale, refresh rate and affected output. Try a reversible change to one setting on one display. Successful rendering on the laptop panel alongside a black dock-connected display points to a different investigation from one legacy application looking soft everywhere. Use the guide to diagnose blurry Plasma applications for KDE or check which GPU is rendering on a hybrid laptop. Compare the same app and workload under the same monitor settings before drawing a performance conclusion.

Change sessions only when that option exists

On Ubuntu GNOME 24.04, save open work before signing out. Select your username at the login screen, open the session menu if available and choose Ubuntu on Xorg for the comparison. Sign in and verify XDG_SESSION_TYPE before repeating the original failure. On standard GNOME 25.10 and 26.04, investigate Wayland-native app support, Xwayland or a different desktop with documented Xorg support. Editing GDM’s Wayland setting cannot restore an absent GNOME session.

Verify the result and reverse the change

Reproduce the same action with the same app version and peripherals. If the comparison made no difference, sign out after saving work and select your original session, or revert the one app or monitor setting you changed. If login itself is stuck, start with desktop session recovery before restarting the display manager.

For further reading on Linux graphics and input, see Mastering Linux โ€“ The Comprehensive Guide. For a separate look at terminal helpers and automation, see AI productivity tools for Linux workflows.