LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-10-2013, 06:33 AM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 882

Rep: Reputation: 45
kdm fails but xdm works


Ladies & Gents.

I updated a netbook the other day (some 1200 packages or so) and after I did the gui would not come up. Debian Jessie (testing) with KDE, Gnome has never been installed although xfce is. I thought it was the normal xorg driver issue that happens some times but no. When in root and running startx the gui comes up in xfce. But kdm quits because it seams that there is a permissions problem of some kind. So I installed xdm and uninstalled kdm and then the default KDE gui comes up.

So I reinstalled kdm with no joy. There was a Ubuntu bug where the permissions were not set right on install some time back. I have compared this net book to a laptop with the same system on it and the permissions seam to be correct.

Any ideas?

Thanks.
 
Old 09-12-2013, 10:12 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,438

Rep: Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769
the first thing is to look for error messages in your logs. /var/log/Xorg* or in your home ~/.xsession-errors. Probably there are other files too to check.
 
Old 09-12-2013, 08:21 PM   #3
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 882

Original Poster
Rep: Reputation: 45
Thanks pan64

I looked at the logs before my original post. The only thing there is about a non existent file related to kdm. But that file does not even exist on my other working machines so I am not sure it matters.

I did discover that if I run startx as a normal user kde comes up just fine, further confirming that the missing file in reported in syslog means nothing.

So it seams that it is an issue with the init script somehow.

The search continues.

Thanks
 
Old 09-13-2013, 12:05 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,438

Rep: Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769Reputation: 2769
do you mean /etc/X11/Xsession ?
 
Old 09-13-2013, 05:41 AM   #5
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 882

Original Poster
Rep: Reputation: 45
The kdm log

Code:
(process:2718): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Address does not contain a colon
kdm_greet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Server terminated successfully (0). Closing log file.
from syslog

Code:
Sep 12 18:24:46 sweatbee kdm_greet[2718]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Sep 12 18:24:48 sweatbee kdm: :0[2680]: Abnormal termination of greeter for display :0, code 1, signal 0
I am not sure what you are asking.

What I do know is the wwhen I let the machine go through its normal boot to gui process it fails. If I login and run /usr/bin/startx the gui starts corectly.

I have a gui animation "tux-pump-it-up", not sure of the name, set up on the machine. It does not run during the normal boot-to-gui proccess, which fails. But it dose run when I start the gui with startx, which loads corectly.

In the normal boot-to-gui process the xserver starts corectly and begins to load the greater/login box and then for whatever reason the xserver shuts down. Thinking about it now the animation thing never gets a chance to load because it runs after someone logs in. So it seams to be an issue with the login.

Thanks
 
Old 09-17-2013, 05:02 PM   #6
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 299

Rep: Reputation: 53
Go to terminal as root and "nano /etc/inittab" when terminal opens up that file go down to this line and change the id:3 to a id:4 and you will have it!

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

ctrl x yes and save

Last edited by zrdc28; 09-17-2013 at 05:04 PM.
 
Old 09-17-2013, 07:57 PM   #7
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 882

Original Poster
Rep: Reputation: 45
Thanks zrdc28

but that is not the problem.

Have looked at 3 other machines with Debian Jessie (testing) on them and they all have the same run level setting "id:2", and they all work just fine.

The problem seams to be with the login greater. I have uninstalled it and reinstalled with no joy.

When the gui first comes up, before it shuts down, I can see a white box on the screen the same size as a normal login box but it is just that, a blank white box. Then the gui shuts down. This is all from a reboot. After it shuts down, if I then login to a command line and run "startx" the gui comes up fine. But system shut down and reboot must be done from the command line.

Thanks
 
Old 10-06-2013, 08:45 AM   #8
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 882

Original Poster
Rep: Reputation: 45
Well

I worked around the problem by installing gdm3 and setting it as the default display manager. I would really rather use kdm but with it not working and no real time to devote to searching for the fix I worked around it. I have to pass the machine off to another user and don't want to give them root

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
[SOLVED] xdm init script problem - "invoke-rc.d xdm start" fails ? Vilius Debian 2 09-13-2010 12:15 AM
Su to root works fine @ console, fails in x (cant login at all when using xdm) lionsong Slackware 5 09-06-2009 06:22 PM
xdm kdm themanwhowas Linux - Software 3 06-20-2008 09:49 PM
xdm and kdm jupiter3437 Linux - Software 2 08-30-2005 06:56 PM
xdm to kdm echto Linux - Software 3 01-11-2002 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 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