Simple linux command that will tell me what the display manager is

command linedisplay-manager

Is there a simple linux command that will tell me what my display manager is?

I'm using Xfce. Are different desktop environments usually affiliated with different display managers?

Best Answer

Unfortunately the configuration differs for each distribution:

Debian/Ubuntu

/etc/X11/default-display-manager

RedHat (should also apply to Fedora)

/etc/sysconfig/desktop

OpenSuSe

/etc/sysconfig/displaymanager
Related Question