LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2006, 01:06 AM   #1
spindles
Member
 
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Rep: Reputation: 15
lost kdm login screen --how to restart it?


If I have two users logged in (e.g. by using ctl-alt F-something to change between users) then when I log out from any user I never see the kdm login/splash/greeter thingy again.

To be more specific, I think it happens whenever I use Kde's menu item -- something like 'start another session' -- or if I use ctl-alt-F7 from kde.

This is annoying because if I then use "startx" I will be starting kde, which I don't want to do (I want icewm.)

I can start xdm as root, and get the xdm login widget, but then I don't get to choose what window manager I want -- it will just be default kde again.
I know I could go and edit xinit in my home dir and change the default windowmanager.
But this seems excessive.
Is it possible at all to re-start the kdm login/splash/greeter?

I have seen advice about respawning it in inittab, but I would rather hear somebody confirm that that's okay. E.g.:
x:5:respawn:/opt/kde3/bin/kdm -nodaemon

by the way, unlike some systems I have seen referred to, I see no file here "etc/init.d/kdm". But xdm is in there. I think xdm is told to use kdm, because if I type "etc/init.d/xdm restart" it returns "starting kdm". But it still doesn't give me any login gui.


files I have noticed:
/usr/sbin/rckdm
/opt/kde3/bin/kdm
(But typing "/opt/kde3/bin/kdm start" as root from the pre-gui screen does not help)

On the other hand, is there a valid command like "startx exec icewm"? I couldn't work it out from the man page: looks to me like X always wants to start whatever window manager is defined in pre-set variables.

All this time, if I run Top as root I see that kdm is still running.
My suspicion is that if I log in two users Kde breaks kdm -- and it will never be right again until reboot.
Please tell me it isn't so!
 
Old 01-26-2006, 01:11 AM   #2
linuxbotx
Member
 
Registered: Oct 2003
Location: USA
Distribution: Fedora Core 4
Posts: 247

Rep: Reputation: 30
You can only have one KDM session at a time on one machine. If you want multiple user logins, you have to use CTL+ALT+F2 (F2-F6). It will only be in the console.

To restart KDM type ALT+CTL+BACKSPACE

That will restart KDM and should fix any lockout or problems you are having.
 
Old 01-26-2006, 01:30 AM   #3
spindles
Member
 
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Original Poster
Rep: Reputation: 15
Hi linuxbotx,
Many thanks for the advice.

If you have a moment,
is this limitation to do with kde or kdm? -- e.g. could I try having 2 icewm users logged in?

How about one kde and one icewm?

My objective was partly to let the children leave their kde session running while I do a quick job in ice, e.g. check my email.
 
Old 01-26-2006, 02:01 AM   #4
linuxbotx
Member
 
Registered: Oct 2003
Location: USA
Distribution: Fedora Core 4
Posts: 247

Rep: Reputation: 30
You can only have on X session at a time. KDM is the X manager for KDE. But XFREE86/X.ORG can only have one active session at a time per PC.
 
Old 01-26-2006, 02:22 AM   #5
spindles
Member
 
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Original Poster
Rep: Reputation: 15
Thanks again for your help.
 
  


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
GDM/KDM Login Screen too big for screen on ATI 3D Rage Pro daemon_14 Linux - Software 0 01-14-2006 02:34 PM
Login screen looks primitive. no KDM? TSloth Mandriva 8 01-06-2006 08:09 PM
Solution: Login XDM Screen instead of KDM jess1975 SUSE / openSUSE 2 04-26-2005 02:51 AM
Missing buttons in KDM login screen digiplaya Slackware 4 03-10-2005 05:43 PM
KDM login screen Waldi Slackware 2 04-22-2003 10:44 AM


All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration