LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-23-2017, 11:24 PM   #1
vsnyder
LQ Newbie
 
Registered: May 2005
Distribution: Red Hat
Posts: 18

Rep: Reputation: 0
Thumbs down KDE logs out before finishing login


KDE on Scientific Linux 6.9 logs out one account before login is complete. That is, after supplying the user ID and password, the login screen briefly disappears, the monitor is heard changing its resolution as if it's about to display the desktop, and then the login screen reappears. For the same account, gnome logs in. Both gnome and KDE log in for all other accounts. Just before it failed to log in, I had been using that account, therefrom logged in as root using "su", to run "yum -y update". Upon rebooting, that account could not log in. Newly-installed kernel is -2.6.32-696.16.1.el6.i686. There are some cryptic messages in /var/log/gdm/:0-greeter.log

GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-acOeSLN9l9: Connection refused)

The system hadn't crashed.

Any suggestions, or ideas where to look for more clues, are welcome.
 
Old 12-24-2017, 03:45 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Boy, what a pile of <expletive deleted> that sounds like.

Something caused this, I would imagine. Some update, some fiddling with files. Search for that first. To me it sounds like the shell crashed. You could check that by running bash in your shell (bash within bash) and starting up :P.
If /tmp/dbus-acOeSLN9l9 exists, I would delete or rename it. Go through /var/log/Xorg.0.log,l and if you don't find something obvious go through the checks mentioned in your GConf error. Then restart as a different user. If necessary, add one. You can delete him after. Then start X as your offending user this way
Code:
startx > /tmp/x.err 2>&1
 
Old 12-24-2017, 04:00 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,840

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
yes, check log files, most probably .xsession-errors and/or Xorg.0.log. I would say the login process itself failed, that means an incorrect initialization script (and looks like it is not only user but kde specific too).

Last edited by pan64; 12-25-2017 at 03:21 AM. Reason: typo
 
Old 12-24-2017, 08:29 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
If this is affecting only one account out of several, I would consider the most likely culprit to be a corrupt of misconfigured configuration (dot-[filename]) file in that user's /home directory.

One way to test this would be to back up the configuration files in user's home to a separate directory (which could still be within /home), then delete the original files, and test a login; new configuration files will be created on login.

If the login is successful, that would confirm the above theory. To identify which file is borked, you could move them back into /home one by one until the login fails, or you could just say, "the heck with it," and plow ahead.
 
Old 12-25-2017, 10:21 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If Gnome logs in, then surely it has to be one of KDE's user configuration files. Either the file is corrupt, or its permission has somehow been changed. I had this problem once myself. I'd make sure the permissions are OK and if they are, just follow Frank's advice.
 
Old 12-26-2017, 03:20 PM   #6
vsnyder
LQ Newbie
 
Registered: May 2005
Distribution: Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up Problem solved.

Frank's advice was useful. The culprit file was .kde/share/config/kwinrc. After re-setting my title-bar behaviors and window button behaviors to previous values, I compared the saved one to the re-created one. There are still large and significant differences. For example, no [plugins] section in the new file. Does anybody care to see both files?
 
Old 12-27-2017, 07:26 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Glad I could help. I for one don't know enough about that rc file to be much help at parsing it.

Maybe you could use meld or diff to isolate the differences between the two (meld is a GUI version of diff).
 
  


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
XRDP Login Issue, logs into XTERM instead of KDE PLASMA 5 sapper6fd Linux - Newbie 0 08-05-2016 03:49 AM
Ubuntu 16.04 setup error preventing me from finishing: guest login only RobN Linux - Newbie 1 08-03-2016 06:52 AM
KDE logs in then immediately back to login screen lelava Linux - Software 1 06-27-2006 09:45 AM
kde problem after finishing BLFS. Axion Linux From Scratch 2 06-12-2004 02:52 AM
Finishing up KDE 3.2 upgrade amw2320 Slackware 1 05-17-2004 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:24 AM.

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