Registered Member
|
The menu items for shutting down, restarting and logging out don't do anything when I click on them. They used to work. I created a new user and the menu items for that user do work. I'm thinking the problem exists in a corrupt file under my user's .kde directory. Does anyone know what config files I might look at to get my shutdown/logout buttons to work, or any other ideas?
|
Administrator
|
I assume this problem is persistent across reboots?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I have this failure sometimes. After a reboot (sudo shutdown -r now) the buttons work as expected.
|
|
Compare viewtopic.php?f=17&t=119788
Do you have _IceTransSocketUNIXConnect: Cannot connect to non-local host strings in ~/.xsession-errors ? |
Registered Member
|
Not anywhere in there. |
|
apparently not the changin hostname issue then.
what's your DisplayManager (kdm, gdb, ldm, mdm, xdm ....) and the outputs of
|
Registered Member
|
Today it is happend again:
No such Strings in ~/xsession-errors. Outputs:
If i try to shutdown with the Dbus-method logout from KSMServer:
Up to the last line nothing happend. Here i am using kdm on an ach-linux, but i know that some people do have similiar problems with kubuntu (lightdm) too. |
Registered Member
|
In addition the output from today, when shutdown works fine:
|
|
Could the logout be inhibited? Can you still interact normally with the system after the failed logout attempt?
|
Registered Member
|
Maybe its a problem with polkit authentication agent? Studiing the logs i found:
Boot without shutdownoptions:
A normal boot looks like this:
But i am not sure if this is the right track. And because it happens to me only sometimes, it is not easy to stay at this failure. In case of polkit: i do not need this agent really. As i understoud, it is there to bring superuser rights for Packagemanagement or something else, which needs such rights in a graphical environment. But i do not need this graphical superuser-environment (or really rare). It would be great, if vayu could answer some questions: 1. Persists the problem between boots? 2. What is the output from
3. is the polkitdaemon running and is "polkit-kde-authetication-agent-1" loaded? |
Administrator
|
Polkit has no involvement in logout/shutdown/restart - that indication of it going down is likely the agent exiting as part of the logout process, or because it crashed.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Ok, this evening it happens again. I noticed the mousecursor jumping a lot of time and klipper did not start. At this point i know that the shutdownbuttons do not work. I tried to find something, which would help to investigate whats going wrong, but i do not find anything, except that the "polkit-kde-authentication-agent" is not running. I found a hint on this in https://bugzilla.redhat.com/show_bug.cgi?id=983110
Next time i will try to start this agent manually, before i reboot the the system. |
Administrator
|
Okay. If I recall correctly, this has historically been an extremely difficult issue to troubleshoot. Hopefully it doesn't resurface.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hm, sounds bad I will report any results further which i could find.
Last time it happens as i add a bootoption to /etc/default/grub and updatet grub. The reboot results in a "shutdownbutton-not-working" situation. But i dont think, that something like this will cause the failure. "polkit-kde-authentication-agent" could be startet without errors. Listing procecces (with "ps axjf") shows something strange:
Some procecces are not shown correctly, they are cropped. The misbehaved rows are only those which originally look like this:
I dont know, where the misbahved rows come from. A failure of ps, bash or konsole? Next time i will look into the /proc/-folder, to investigate the appropriate processfolder. Any other hints, where i could look at? |
|
Did we determine whether it could be a hidden window that inibits logout?
see https://git.reviewboard.kde.org/r/115955/ |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]