Change Screen Resolution in Ubuntu (Wayland vs Xorg)

Updated

Desktop monitor showing a grid of pixels with resize corner arrows, for changing screen resolution on Ubuntu

To change screen resolution on a current Ubuntu, open Settings, navigate to Displays, and pick a resolution there — that works on Wayland and X11 alike and is the supported route. Before reaching for xrandr instead, run echo $XDG_SESSION_TYPE: if it prints wayland, xrandr will not change your screen resolution — it only sees the XWayland compatibility surface, not the physical display, so it can appear to succeed while doing nothing.

xrandr --output [display] --mode [resolution] is the wrong fix for most people today, because Wayland, not X11, is now the default GNOME session on Ubuntu.

This isn’t a hypothetical edge case. Ubuntu’s own announcement for 25.10 states: “Starting with this release the ‘Ubuntu’ session in GDM will run exclusively on Wayland,” and “the login screen … will no longer offer the Ubuntu on Xorg option” (Ubuntu Community Hub, “Ubuntu 25.10 drops support for GNOME on Xorg”). 25.10 was explicitly framed as the run-up to the next LTS, and Canonical’s own release post for 26.04 LTS “Resolute Raccoon” describes it as “fully embrac[ing] Wayland, completing the upstream shift from X.org” (Canonical, 26.04 LTS release announcement). If you’re on a current Ubuntu desktop, you very likely have no Xorg session to fall back to at all.

Ubuntu’s own docs put the Settings route plainly: “Open the Activities overview and start typing Displays. Click Displays to open the panel” (help.ubuntu.com, “Change the resolution or orientation of the screen”). That page doesn’t mention Wayland, X11, or xrandr at all — it’s session-agnostic by design, which is exactly why it’s the right tool now.

If Settings doesn’t offer the resolution you want (common with odd panel sizes or some projector/KVM setups), your options under Wayland are narrower than they were under X11:

  • Some fixes are applied as a kernel boot parameter (e.g. a forced video= mode), which works under both Wayland and Xorg sessions — but this is a kernel/GRUB change, not a display-settings one, and carries its own risk of an unbootable-looking screen if mistyped. Not demonstrated here; consult your GPU driver’s documentation before editing boot parameters.
  • If you specifically need xrandr-style scripting, that requires an X11 session, and GNOME no longer offers one. Installing an alternative desktop environment that still ships an Xorg session — KDE Plasma, Xfce, or MATE are common choices — restores xrandr, but that’s a bigger change than most people want just to set a resolution.

If you’re troubleshooting a display that Settings doesn’t recognize at all rather than one with the wrong resolution, that’s more often a GPU/driver detection problem; see checking which GPU is active on Linux.

Photo of author
Sudhir P. founded HeatWare.com in 1999 and has built and operated it full-stack ever since; it is now used by more than 88,000 people. He writes here about the PostgreSQL, MySQL, Linux and DevOps work that keeps it running. Articles are rewritten only after the commands in them have actually been run, and the verification scripts are published alongside them so anyone can check the claims. Reach him at blog@heatware.net.