24

How can I determine the name of the display manager in use solely by using the command line?

2

2 Answers 2

31

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.

3
  • very good, i have mdm Feb 11, 2015 at 20:16
  • 1
    loginctl (systemd) show the display manager on each seat. Maybe is a better way, might work on Wayland Aug 9, 2023 at 7:33
  • cat: /etc/X11/default-display-manager: No such file or directory
    – darw
    Nov 11, 2023 at 21:58
1

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.Result of screenfetch and neofetch

you can install them in debian systems CLI by :

sudo apt install neofetch screenfetch

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .