LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Login...again? (https://www.linuxquestions.org/questions/slackware-14/login-again-568071/)

Alien_Hominid 11-30-2007 08:51 AM

Don't know how this is related, but error is the same:
http://www.unixadmintalk.com/f61/res...server-509121/

adriv 11-30-2007 03:40 PM

I can't imagine that there is a direct link between the login problem and the suspend problem.
But I'll give it a try. :confused:

Code:

Option "NvAGP" "1"
in the "Device" section, after the line 'Vendor Name "NVidia"' in /etc/X11/xorg.conf

firebird 12-01-2007 08:34 AM

I used to have such login failure before with kdm (XFCE session, KDE session might also have the problem but I cannot remember. My notes only mention XFCE session). I checked /var/log/Xorg.0.log and /var/log/kdm.log, nothing unusual found. I also tried to enable kdm debug in /etc/rc.d/rc.4:
Code:

exec /usr/bin/kdm -nodaemon -debug 15
Still nothing found.

However, I happen to find in ~/.xsession-errors that xfce4 agent cannot start because ICE socket cannot be established. I start system in single user mode, remove most temporary files under /tmp (remove .ICE-unix should be enough), and restart the system. The login problem is fixed immediately. I implemented a shutdown script to cleanup /tmp shortly after that, the login failure never happened since then. You can have a try, see if it helps.

BTW, I also have nVidia card, a very old one: NV15 [GeForce2 GTS/Pro] (rev a4). In my experience, nv driver in X.Org 7.2 did have some problem, I've experienced quite some X lockup (X uses 100% CPU) in Slackware (12.0), Debian (etch) and Ubuntu (7.04). But X.Org 7.3 on -current is quite good, I've upgraded shortly after it appeared on -current, no lockup has ever happened since then. If you have such problem with nVidia, you could give it a try.

adriv 12-01-2007 04:13 PM

Quote:

Originally Posted by firebird (Post 2976602)
I used to have such login failure before with kdm (XFCE session, KDE session might also have the problem but I cannot remember. My notes only mention XFCE session). I checked /var/log/Xorg.0.log and /var/log/kdm.log, nothing unusual found. I also tried to enable kdm debug in /etc/rc.d/rc.4:
Code:

exec /usr/bin/kdm -nodaemon -debug 15
Still nothing found.

However, I happen to find in ~/.xsession-errors that xfce4 agent cannot start because ICE socket cannot be established. I start system in single user mode, remove most temporary files under /tmp (remove .ICE-unix should be enough), and restart the system. The login problem is fixed immediately. I implemented a shutdown script to cleanup /tmp shortly after that, the login failure never happened since then. You can have a try, see if it helps.

BTW, I also have nVidia card, a very old one: NV15 [GeForce2 GTS/Pro] (rev a4). In my experience, nv driver in X.Org 7.2 did have some problem, I've experienced quite some X lockup (X uses 100% CPU) in Slackware (12.0), Debian (etch) and Ubuntu (7.04). But X.Org 7.3 on -current is quite good, I've upgraded shortly after it appeared on -current, no lockup has ever happened since then. If you have such problem with nVidia, you could give it a try.

First reboot looks fine. I'll let you know if it sticks. :)

adriv 12-30-2007 01:36 PM

I forgot all about this thread, but this one reminded me of it. ;)
And BTW, I haven't seen the log-in crashes anymore. :cool:

Franklin 12-30-2007 08:13 PM

Quote:

Originally Posted by adriv (Post 2973792)
/var/log/syslog shows this error:
Code:

Nov 27 05:47:24 Slackware kdm[2699]: X server for display :0 terminated unexpectedly
Nov 27 05:47:27 Slackware kdm_greet[3104]: Can't open default user face
Nov 27 05:58:54 Slackware kdm[2699]: X server for display :0 terminated unexpectedly
Nov 27 05:58:57 Slackware kdm_greet[3221]: Can't open default user face


I believe KDM is set to load a user picture and can't find or open the default picture. Go to the control center > login manager > users > user images and either turn off this option or find out what happened to the default face picture. I've seen this happen for KDM and GDM.

HTH


All times are GMT -5. The time now is 01:44 PM.