This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] KDE 4.4svn unable to log out

Tags: logout, shutdown logout, shutdown logout, shutdown
(comma "," separated)
User avatar
echoes
Registered Member
Posts
107
Karma
0
OS
KDE 4.3.64 (KDE 4.4 >= 20090812)) "release 2"
openSUSE 11.1 x86_64

for the last several kde unstable releases from opensuse i have been unable to logout normally. i have to kill the xserver to login again.

my question is: is there a way to logout via command line so i can see where the stalling/hanging is occurring?

Last edited by echoes on Wed Aug 19, 2009 12:59 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE 4.4svn unable to log out

Sat Aug 15, 2009 10:31 pm
You need to use QDBus to communicate with KSMServer. Unfortunately that will not provide output to your terminal. I would recommend looking at the contents of ~/.xsession-errors after having restarted the X server. ( use another user or login at a VT and move the file to something else )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
echoes
Registered Member
Posts
107
Karma
0
OS

Re: KDE 4.4svn unable to log out

Sat Aug 15, 2009 11:38 pm
by "move the file to something elese" do you mean to rename/delete the file?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE 4.4svn unable to log out

Sun Aug 16, 2009 7:18 am
Yes.
I would recommend using a virtual terminal, and moving the file, then posting its contents here / on pastebin.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
echoes
Registered Member
Posts
107
Karma
0
OS

Re: KDE 4.4svn unable to log out

Mon Aug 17, 2009 10:04 pm
ok, here is the login: http://pastebin.com/m990ad2b

and here is the logout: http://pastebin.com/m5031ec7c

the "logout" log contains some login entries as well though. i deleted the original xsession-errors log (from command line), logged in, then tried to logout but couldn't of course, so i had to kill the xserver but that time instead of dumping me back to command line login it dumped me back to a screen with the kde/xserver errors and i couldn't login without a prompt. so i had restart the PC and thus the logout log contains some login info as well i'm sure.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE 4.4svn unable to log out

Tue Aug 18, 2009 5:15 am
Unfortunately when you login using X the ~/.xsession-errors file is cleared, so the "logout" file only contains logging in information.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
echoes
Registered Member
Posts
107
Karma
0
OS

Re: KDE 4.4svn unable to log out

Tue Aug 18, 2009 6:33 am
well thats what i thought but you recommended posting it here... :/
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE 4.4svn unable to log out

Tue Aug 18, 2009 7:43 am
I recommended performing the force logout, then switching to a VT and moving the ~/.xsession-errors file somewhere else so it wouldn't get overwritten. Then posting the moved file here. The file is only affected if you login using the X server ( and only if you don't move it ).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
echoes
Registered Member
Posts
107
Karma
0
OS

Re: KDE 4.4svn unable to log out

Tue Aug 18, 2009 4:46 pm
well i thought you meant the opposite...

now what?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE 4.4svn unable to log out

Tue Aug 18, 2009 8:19 pm
Can you please post the file that you moved from ~/.xsession-errors after force logging out?

It may also help to clear your cache:
Code: Select all
rm -rf ~/.kde4/cache-*/*
kbuildsycoca4 --noincremental


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
echoes
Registered Member
Posts
107
Karma
0
OS

Re: KDE 4.4svn unable to log out

Tue Aug 18, 2009 9:21 pm
bcooksley wrote:Can you please post the file that you moved from ~/.xsession-errors after force logging out?


i can't because i deleted it.

i will try the other steps though & report back.
User avatar
echoes
Registered Member
Posts
107
Karma
0
OS

Re: KDE 4.4svn unable to log out  Topic is solved

Wed Aug 19, 2009 12:58 am
solved. it was this bug: http://osdir.com/ml/kde-bugs-dist/2009-08/msg02999.html

solution: disable the logout sound.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Interesting. I'll note that for future trouble shooting,


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]