Bug 158378 - Unable to logout - Selecting logout or poweroff from the menu does nothing
Summary: Unable to logout - Selecting logout or poweroff from the menu does nothing
Status: RESOLVED FIXED
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
: 157433 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-25 03:54 UTC by Matt
Modified: 2008-07-08 11:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2008-02-25 03:54:59 UTC
Version:           kdesvn as of 2008 Feb. 23 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2) 
OS:                Linux

from kde4 svn trunk, (2008 Feb. 23)
  Logout doesn't work.
   neither from right clicking on the desktop and selecting 'Logout' nor from going through the menu and selecting leave->Logout.   I can select it, but nothing happens.
Comment 1 Lubos Lunak 2008-03-09 14:42:24 UTC
I cannot reproduce. Is there anything interesting in ~/.xsession-errors.
Comment 2 Jordi relats 2008-03-11 18:20:12 UTC
I have exacly the same problem in two diferent computers with opensuse 10.3 and kde 4.0.2, about .xsesion-errors there is a lot of information but I don't know if there is anything interesting.
Comment 3 Jani Grönberg 2008-03-27 08:54:12 UTC
I confirm this bug with Gentoo distribution, kde compiled with gcc 4.1.2. It exists in all released kde4 version, ie. kde-meta-4.0.0, 4.0.1 and 4.0.2. Selecting logout, power off or restart does nothing and does not generate extra lines to .xsession-errors. It is my understanding that a confirmation dialog should appear, but I have never seen it. The bug exists for all users of the computer, including a new user I created for the purpose of testing this.
Comment 4 Matt 2008-04-29 04:48:15 UTC
This only happens if I use kdm.  If I use startx, logout and shutdown work fine.

Comment 5 Lubos Lunak 2008-04-29 10:10:17 UTC
*** Bug 157433 has been marked as a duplicate of this bug. ***
Comment 6 Jani Grönberg 2008-04-30 09:12:47 UTC
For me, startx or kdm makes no difference, logout still doesn't work. Relevant lines from my .xinitrc are
#!/bin/sh

##for kde
export KDEDIR=/usr/kde/4.0
PATH=$PATH:$KDEDIR/bin
exec $KDEDIR/bin/startkde >$HOME/.Xsession-errors  2>&1

What I neglected to mention before is that I have also kde-3.5.8 installed. According to Gentoo documentation both can exist side by side, so I don't know whether this is relevant or not. For obvious reasons, I am not willing to let go of kde 3.5.8 yet.
Comment 7 Jani Grönberg 2008-04-30 09:22:45 UTC
For me, startx or kdm makes no difference, logout still doesn't work. Relevant lines from my .xinitrc are
#!/bin/sh

##for kde
export KDEDIR=/usr/kde/4.0
PATH=$PATH:$KDEDIR/bin
exec $KDEDIR/bin/startkde >$HOME/.Xsession-errors  2>&1

What I neglected to mention before is that I have also kde-3.5.8 installed. According to Gentoo documentation both can exist side by side, so I don't know whether this is relevant or not. For obvious reasons, I am not willing to let go of kde 3.5.8 yet.

I also scanned .xsession-errors again for this test user. Here are some lines that may be relevant:
KWrited - Listening on Device /dev/pts/4
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer: Failed t
o connect to socket /tmp/dbus-2H3WytdNxD: Connection refused
startkde: Shutting down...
kdeinit4_wrapper: Warning: connect(/home/janitest/.kde/socket-nadsokor/kdeinit4_
_2) failed: : No such file or directory
Error: Can't contact kdeinit4!


Comment 8 Jani Grönberg 2008-05-20 12:51:23 UTC
After installing kde-4.0.4 this bug has disappeared and my logout proceeds normally even saving the session settings.
Comment 9 A. Spehr 2008-07-02 11:39:07 UTC
I had this just before i did an svn up. r825423 of kdebase ---> r827026 
Its gone now. 
Comment 10 Matt 2008-07-02 16:08:25 UTC
The problem appears gone.  I can logout, shutdown and restart correctly.
Comment 11 Lubos Lunak 2008-07-08 11:41:27 UTC
Fixed, according to last comments.