Good Linux question — answering as the UphillTech team:
Obtain the session ID to pass in by issuing: loginctl That will show you something like: SESSION UID USER SEAT TTY c2 1000 yourusername seat0 1 sessions listed. In that example, c2 is the session ID. Then: loginctl show-session <SESSION_ID> -p Type If you want all this on a single command: loginctl show-session $(awk '/tty/ {print $1}' <(loginctl)) -p Type | awk -F= '{print $2}' Use the one corresponding to your user name. Refer to: https://fedoraproject.org/wiki/How_to_debug_Wayland_problems So, for me, I can see Wayland is in use: $ loginctl show-session c2 -p Type Type=wayland
Full answer by Andreas: https://unix.stackexchange.com/a/325972 (CC BY-SA 4.0).
Need Linux help for your business? UphillTech.