LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   KDE logs me out unexpectedly (https://www.linuxquestions.org/questions/debian-26/kde-logs-me-out-unexpectedly-608287/)

tux_addict 12-21-2007 01:13 AM

KDE logs me out unexpectedly
 
For some reason, if I leave my desktop unattended for 20 – 30 minutes, and even if something like Amarok is playing, when I come back I find myself looking at the KDM login screen, which means that I’ve been automatically logged out. When I grepped /var/log/daemon.log for kdm, I got the following readout:

Quote:


tux@tuxilla:~$ sudo cat /var/log/daemon.log | grep kdm | tail

Dec 19 08:12:07 localhost kdm: :0[5656]: pam_setcred(DELETE_CRED) for tux failed: Bad item passed to pam_*_item()

Dec 19 08:12:07 localhost kdm: :0[5656]: PAM unable to dispatch function

Dec 19 08:12:07 localhost kdm[2864]: Unknown session exit code 0 (sig 11) from manager process

Dec 20 08:33:14 localhost kdm: :0[2870]: PAM unable to dispatch function

Dec 20 08:33:14 localhost kdm: :0[2870]: pam_setcred(DELETE_CRED) for tux failed: Bad item passed to pam_*_item()

Dec 20 08:33:14 localhost kdm[2857]: Unknown session exit code 0 (sig 11) from manager process

Dec 20 12:27:28 localhost kdm[2899]: X server for display :0 terminated unexpectedly

Dec 20 16:15:33 localhost kdm[2899]: X server for display :0 terminated unexpectedly

Dec 21 06:50:05 localhost kdm[2899]: X server for display :0 terminated unexpectedly

Dec 21 07:04:53 localhost kdm[9777]: Can't lock pid file /var/run/kdm.pid, another xdm is running (pid 2899)

Now, I'm sure there could be several possible reasons for this peculiar behaviour, but my question is, where would be a good place to start looking for the cause (e.g. any specific log or configuration files)?

Thanks.

Junior Hacker 12-21-2007 01:29 AM

In a KDE environment, go to main menu/control center and click on "Appearance & Themes" then "Screen saver". If there is a (x) in the "Require password to stop" box, remove it.

CarzyIvan 12-25-2007 04:04 PM

It may be because X crashes. It would be nice to see /var/log/Xorg.0.log
If it is "automatic logoff" then after logon there should be everything running that was before this "logoff" (this works mostly for Qt apps).
What video driver do you use?

vsnyder 12-23-2017 06:33 PM

My KDE (in Scientific Linux 6, not Debian) logs me out immediately, before my desktop appears. gnome login succeeds. Other accounts, including root, log in successfully. I created a new account, and it logs in successfully. So X isn't crashing. Where to look for clues?

TheEzekielProject 12-23-2017 10:41 PM

@vsnyder

This thread is a decade old! Start a new one detailing your issue! See my signature for How to ask a smart question!


All times are GMT -5. The time now is 11:33 PM.