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

Cannot logout from a KDE session

Tags: None
(comma "," separated)
angel-tsankov
Registered Member
Posts
16
Karma
0
OS

Cannot logout from a KDE session

Tue Sep 14, 2010 8:32 am
In Kickoff Application Launcher, section "Leave", I can see icon "Logout". When I click it, a window appears which has a "Logout" button. When I click that button the window disappears but session is not terminated. I also tried running "logout" from "Run Command" but it behaves as though it cannot find such a command. I also executed 'type logout' in a terminal window and found out that 'logout' is a shell built-in. This is KDE 4.4.5 built from source. Do I miss any command named 'logout', or is it something else?

Regards,
Angel Tsankov
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Is there any output in ~/.xsession-errors that indicates why this happens?
If you leave it for a while, does the logout eventually occur?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
angel-tsankov
Registered Member
Posts
16
Karma
0
OS
bcooksley wrote:Is there any output in ~/.xsession-errors that indicates why this happens?


There is no such file.

bcooksley wrote:If you leave it for a while, does the logout eventually occur?


After the timeout of 30 seconds the logout window disappears and nothing else happens.

P.S. The distribution is LFS.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I'm not sure where LFS stores the output of X applications started from KDM in that case. Perhaps try running "startx" from a terminal, and piping it's output somewhere.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
angel-tsankov
Registered Member
Posts
16
Karma
0
OS
bcooksley wrote:I'm not sure where LFS stores the output of X applications started from KDM in that case.


That probably depends on how they were configured at build time (I built KDE packages with '-DCMAKE_INSTALL_PREFIX=/usr'). It might also be a hard-coded default or configurable via some file -- I'm not really sure.

bcooksley wrote:Perhaps try running "startx" from a terminal, and piping it's output somewhere.


I had a look at the standard output and standard error log from startx (can be found here: http://pastebin.com/WbCvCbPp) but I did not notice anything unusual except that icon theme "oxygen" is not found.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Hmm. What modules do you have loaded in "KDE Daemon"?
This can be seen in the output of "qdbus org.kde.kded /kded loadedModules"

In particular, try disabling Bluedevil if it is present. Disabling can be done with the following command:
Code: Select all
qdbus org.kde.kded /kded unloadModule <name of module>


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
angel-tsankov
Registered Member
Posts
16
Karma
0
OS
bcooksley wrote:Hmm. What modules do you have loaded in "KDE Daemon"?
This can be seen in the output of "qdbus org.kde.kded /kded loadedModules"

In particular, try disabling Bluedevil if it is present.


As can be seen in the output from this command Bluedevil is not loaded:

Code: Select all
networkwatcher
kdesvnd
khotkeys
networkstatus
solidautoeject
statusnotifierwatcher
desktopnotifier
phononserver
powerdevil
device_automounter
kephal
ktimezoned
dnssdwatcher
randrmonitor
remotedirnotify


Could it be that I miss some runtime dependency, e.g. I have to install some additional package for this feature to work? Of all KDE packages, it's only oxygen-icons that I've not yet installed. However, I did not satisfy all dependencies when installing KDE packages. If this will help, I can pastebin the build log.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you kill "kded4" after trying to initiate the logoff does anything happen?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
angel-tsankov
Registered Member
Posts
16
Karma
0
OS
bcooksley wrote:If you kill "kded4" after trying to initiate the logoff does anything happen?


No, nothing happens except that some icons in the system tray disappear and re-appear.


Please, note that I built KDE from source.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Being built from source is likely unrelated.

Can you please activate all debug output using "kdebugdialog" and see if any relevant output is generated?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
angel-tsankov
Registered Member
Posts
16
Karma
0
OS
I am not sure I understand the output, but here it is (beginning truncated): http://pastebin.com/tUsuJ9fi
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It appears that KSMServer is starting the logout procedure without problems, but an application is hanging or otherwise stopping the procedure. Try checking for any "xdg-screensaver" processes, and try closing individual applications.


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


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft