LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-22-2005, 07:53 AM   #1
Ray2047
Member
 
Registered: Dec 2005
Posts: 52

Rep: Reputation: 15
Problem: Default Login Manager &Logout Dialog


Using Debian Sarge with both Gnome and KDE installed. The two problems may not be related.

The first is not really a problem but a preference. Initial login to desktop is being managed by Gnome and I prefer the KDE login manager. How do I switch to the KDE login manager? (Just to be clear I can log in to the KDE desktop.That's not the problem. It's just I want to change which login manager handles that .)

A search at Google yielded very little. One thread here suggested adding KDE entries to etc/x11/xintrc and deleting Gnome entries about the login manager but that appears to be the wrong file.

The second problem is I can't shutdown from the KDE desktop. When I click "Log Out" instead of getting the KDE dialog box that asks, "Logout- Shutdown-Restart" I go directly to the Gnome login manager and have to shut down from there. With the requirement to type my root password each time that's extra hassle.

I have looked in both the Gnome and KDE preference GUIs but couldn't find a way to set one as default or change shutdown dialog.

Thanks in advance
 
Old 12-22-2005, 08:43 AM   #2
michapma
Member
 
Registered: Oct 2003
Location: Zrich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Technically, the login is managed by a display manager. You probably mean login is managed by GDM (Gnome Display Manager), which is not the same as Gnome (the desktop environment).

In Debian, it's pretty simple to switch. If you want to get rid of GDM and switch to KDM, just do this:

apt-get remove gdm
(alternatively, to remove any configuration files as well, use "apt-get --purge remove gdm)

and then
apt-get install kdm

If you don't think you need to get rid of GDM, just do "apt-get install kdm". Either way, you'll get a screen with a choice of which display manager to use; you can then just select KDM.

I suspect the second problem may take care of itself after you install KDM, but if it doesn't, you can look for more help by entering "help:/kdm" in Konqueror's location bar. In section 4 on "configuring KDM" there is a subsection named "Shutdown".

HTH
 
Old 12-22-2005, 06:40 PM   #3
Ray2047
Member
 
Registered: Dec 2005
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks for the reply. I thought about just deleting Gnome but wasn't sure if KDE would just take over. I see now that what I really need to get rid of is just the Gnome display manager and add KDM.

Quote:
I suspect the second problem may take care of itself after you install KDM,
Yes, I did too which is why I posted both problems in the same thread. As you explain it now I see that even though I have KDE desktop the logout probably is being handled by GDM.
 
Old 12-22-2005, 08:56 PM   #4
Ray2047
Member
 
Registered: Dec 2005
Posts: 52

Original Poster
Rep: Reputation: 15
Yes, that worked. Thanks

Just a note for any one else reading this. The first time I did it I got the KDM login screen but the login didn't work. It went to a black screen then back to the login screen. I had to:
apt-get --purge remove kdm
apt-get install kdm

Last edited by Ray2047; 12-22-2005 at 09:02 PM.
 
Old 12-22-2005, 09:27 PM   #5
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Rep: Reputation: 15
Hi All!!

Using to advantage the Thread of our friend Ray2047 I have another question:

For example:

I have both display managers (GDM and KDM) in my machine. The question is:

Is There a command to set what login manager will be the default??

Thanks
 
Old 12-23-2005, 08:05 AM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
I have both display managers (GDM and KDM) in my machine. The question is:

Is There a command to set what login manager will be the default??
You can try "dpkg-reconfigure gdm" or "dpkg-reconfigure kdm", it doesn't matter which of these two commands you choose.
 
Old 12-24-2005, 07:33 AM   #7
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Rep: Reputation: 15
Quote:
Originally Posted by Dead Parrot
You can try "dpkg-reconfigure gdm" or "dpkg-reconfigure kdm", it doesn't matter which of these two commands you choose.
Hi Dead Parrot
The command "dpkg-reconfigure gdm" worked well.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make kdm the default login manager? madlinux Fedora 4 01-30-2006 05:23 PM
Dragon on logout dialog in KDE... craigs1987 Linux - Software 2 07-06-2004 04:25 PM
I want to set KDM for my default login manager njbrain Red Hat 1 02-26-2004 08:18 AM
Default Login Manager BittaBrotha Linux - Software 2 11-10-2003 08:08 AM
how to change default X login manager? NeoAnderson Linux - General 6 08-24-2002 10:33 PM


All times are GMT -5. The time now is 09:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration