Check which desktop environment you are using
-
echo $XDG_CURRENT_DESKTOP
- FROM GUI
-
gnome-shell --version
-
gdm3 --version
Display Manager VS Display Server
Check whether Wayland or Xorg is in use(Display Server)
- 必須使用GUI terminal, 必須是當前登入使用者
echo $XDG_SESSION_TYPE
-
loginctl list-sessions loginctl show-session SESSION-ID -p Type
Change Display server
Login as Root in Ubuntu GUI