pages:howtos:linuxunix:am_i_using_wayland_or_x11
How to find out if I am using wayland or X11?
Find out the session ID
loginctl
SESSION UID USER SEAT TTY 4 1000 <YOURUSERNAME> seat0 1 sessions listed.
Session ID seems to be “4” in my case.
Display the the type of session
loginctl show-session <SESSION_ID> -p Type
Type=x11
Handy oneliner:
loginctl show-session $(loginctl | awk '/'"$USER"'/{print $1}') -p Type
~~DISCUSSION~~
pages/howtos/linuxunix/am_i_using_wayland_or_x11.txt · Last modified: 2023/01/06 11:32 by Heiko Mischer