Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i've read quite a few postings on how to set KDE or GNOME as the default desktop, but for some reason, gnome keeps on coming up even though I've explicitly set kde everywhere. I'm running debian if that's relevant.
my system normally boots into the GUI and starts Gnome automatically.
however, unlike fedora or some other distros i've used, this one doesn't have any advanced
options at all in the GUI login screen for changing your desktop environment.
Do you know of any distro-specific ways to change on Debian-based systems? although
i initially thought that the xinitrc file was sufficiently general.
yup, i can log out, but then i get the generic debian login screen, with no options aside from entering my username and password :-(
i remember switching to GNOME from KDE using the xinitrc file before, but can't seem to pinpoint what the problem is now.
i figure that for GNOME to start as a default every time, somewhere in some configuration file, there's a call to "exec gnome-session", but aside from xinitrc, I don't see what file that might be.
OK so apparently, i was using xdm as my display manager (not sure where that fits in, but whatever),
and when using xdm, you need to edit the ~/.xsession file with the same changes that would normally
go in the .xinitrc.
Originally posted by haldara my system normally boots into the GUI and starts Gnome automatically.
Do you know of any distro-specific ways to change on Debian-based systems? although
i initially thought that the xinitrc file was sufficiently general.
thx
Yeah, it's quite easy:
To get everything running propperly you should switch to a console (ALT+CTRL+F1), login as root or do 'su root', as you will have to restart the X stuff.
First get KDM installed, if apt complains get rid of GDM first. (I assume you already now apt-get).
Once KDM is installed you will be prompted to decide which Desktop Manager to use (XDM/KDM/GDM/WDM), choose KDM.
If KDM is already installed yu can reconfigure the desktopm manager preferences issuing:
Code:
dpkg-reconfigure kdm
A dialog will appear where you can choose which Desktop Manager to use.
If you don't get the KDM login you should start kdm explicitly:
Code:
/etc/init.d/gdm stop (this shouldn't be there but it sometimes is)
/etc/init.d/kdm start
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.