Linux: Desktop Environment DE GUI
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