How can I determine the name of the display manager in use solely by using the command line?
Asked
Active
Viewed 3.6k times
26
-
1i do not want to be excluded from discussion because of my lexical disabilities, i asked for the display manager, the link you gave me is about the window manager. – Abdul Al Hazred Feb 11 '15 at 19:56
-
related: https://unix.stackexchange.com/questions/20370/is-there-a-simple-linux-command-that-will-tell-me-what-my-display-manager-is – Ciro Santilli OurBigBook.com Dec 24 '23 at 11:09
2 Answers
35
Short answer:
As mentioned in this answer on Unix & Linux, you should be able to get that from:
cat /etc/X11/default-display-manager
I tried it on both Unity and XFCE, both worked.
Jacob Vlijm
- 85,675
-
-
1
loginctl(systemd) show the display manager on each seat. Maybe is a better way, might work on Wayland – Pablo Bianchi Aug 09 '23 at 07:33 -
-
Does that report the currently running display manager, or instead the default display manager? I find after running
sudo systemctl stop gdm3, the output of the above is unchanged; i.e./usr/sbin/gdm3. – user643722 Jan 08 '25 at 10:20
0
Other way to find more detailed information about the window manager you're using is by running either neofetch or screenfetch. Both are similar and are available in Debian repositories. I install Neofetch and it show my WM also to be WM: Mutter.
you can install them in debian systems CLI by :
sudo apt install neofetch screenfetch
tedy58
- 56