User Tools

Site Tools


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~~

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
pages/howtos/linuxunix/am_i_using_wayland_or_x11.txt · Last modified: 2023/01/06 11:32 by Heiko Mischer