LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-21-2007, 01:13 AM   #1
tux_addict
Member
 
Registered: Dec 2004
Location: Nairobi, Kenya
Distribution: Ubuntu 21.10, Debian 11 (Bullseye)
Posts: 91

Rep: Reputation: 15
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.
 
Old 12-21-2007, 01:29 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 12-25-2007, 04:04 PM   #3
CarzyIvan
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Rep: Reputation: 0
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?
 
Old 12-23-2017, 06:33 PM   #4
vsnyder
LQ Newbie
 
Registered: May 2005
Distribution: Red Hat
Posts: 18

Rep: Reputation: 0
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?
 
Old 12-23-2017, 10:41 PM   #5
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
@vsnyder

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


Reply



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
KDE logs out after closing laptop .... Kubuntu HotRod Slacker Ubuntu 2 03-01-2007 08:05 AM
Machine locks up unexpectedly, questions about cryptic kernel logs tisource Linux - Hardware 0 05-13-2006 12:03 PM
KDE and xine Crashing, what logs should I be looking at? BajaNick Linux - Security 4 04-08-2005 12:06 AM
Enemy Territory logs me out of kde happyhippy Linux - Games 0 01-20-2005 03:45 PM
Mandrake automatically logs into kde MrPolite Linux - General 3 03-17-2003 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration