19

Wayland is the default display server for Ubuntu 17.10 "on supported systems". But how can I tell if my platform is supported and I'm actually using Wayland?

27

Open the terminal and type in:

echo $XDG_SESSION_TYPE
9

You could install mesa-utils-extra and run es2gears_wayland If the app runs, you are running Wayland.

For a fun way to check whether a specific app is using Wayland or XWayland, run xeyes. The eyes will move if the cursor is over an X or XWayland window.

Or run this in a terminal:

env | grep -i wayland

If there is no output, you are not running Wayland.

8

Use that command in the Ubuntu terminal:

echo $DESKTOP_SESSION

Look at the value returned. If on wayland it will return

gnome-wayland
  • 1
    cat /etc/X11/default-display-manager – jones0610 Jun 28 '17 at 1:45
  • 5
    This answer is not correct for Ubuntu 17.10. – Jeremy Bicha Oct 24 '17 at 21:18
  • Looks like since wayland became the default dm for gnome it says gnome if you are running wayland and gnome-xorg if you are on xorg. – Georgi Goranov Nov 19 '17 at 8:37
  • 2
    It now says "ubunu-xorg" for xorg and just "ubuntu" for wayland. – krumpelstiltskin Feb 19 '18 at 12:12
  • 1
    @krumpelstiltskin: Running Xorg, getting 'ubuntu' here. – emk2203 Feb 22 '18 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.