How do I find out which Desktop manager I use? How to change it?

Project:Linux software
Category:support request
Related pages:#28: System :-:-: #149: Google it! :-:-: #156: Desktop auto login

Prompted when I installed lubuntu-desktop, I recently changed from kdm to ldm. However, I found out that the config file I had to change (for auto-login) was xdm.conf, which is very confusing.

Generally speaking, how does one find out what desktop environment they currently use?
Which are currently installed?
How to switch from one to the other?



And I do mean Desktop manager, not desktop environment .



Related pages:+156: Desktop auto login


Status:active» fixed

Krytarik provided the right answer:
$ cat /etc/X11/default-display-manager

That's it. Thanks.
I have updated the article accordingly.


Status:fixed» closed
Related pages:-28: System, -149: Google it!, -156: Desktop auto login

Automatically closed -- issue fixed for 2 weeks with no activity.