Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Debian 6 with two desktop (gnome, kde). During Installation i have placed the kde as default desktop. But, now i change the default desktop as gnome. So, May i know to change it?

share|improve this question
up vote 9 down vote accepted

I have found the solution by editing the file " default-display-manager " in the path /etc/X11/

#vim /etc/X11/default-display-manager

For Gnome , edit as :


For KDE , edit as below


Once updated the reboot the computer. you can find the updated the display manager.

You can also, do it by executing the below command.

$ sudo dpkg-reconfigure gdm
share|improve this answer
And I'm pretty sure gdm allows you to switch from the login screen. – Rob Jan 19 '12 at 16:52
Also update-alternatives --configure x-window-manager should allow you to select which one do you want to be the system default. – Wolfer Oct 6 '13 at 17:58
@Wolfer You mean update-alternatives --config x-window-manage – Mike Sep 25 '14 at 6:08
@Mike On my system update-alternatives --display x-window-manage outputs update-alternatives: error: no alternatives for x-window-manage whereas update-alternatives --display x-window-manager reports what one would want to see... For reference this is on sid... – Wolfer Oct 4 '14 at 17:20
@Wolfer Sorry, that was a typo on my part. My point is that it is "config" and not "configure". – Mike Oct 4 '14 at 17:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.