My base system is Gentoo amd64, up to date. Before the upgrade, I have the shutdown button in the KDE menu. But after the upgrade, this button is gone...I think it is because of the permission settings are wrong. The user account I used is in the user group. But I have no idea how the set the permission. I even tried to delete the KDE configuration files in the user directory and try to re-configure everything, but does not work.
- 1You can try this. Have you tried to create a new account to see if the shutdown button is there?Alko– Alko2013-08-23 14:03:06 +00:00Commented Aug 23, 2013 at 14:03
- @Alko, I have tried. No shutdown button for the new user. I think it is a system wide configuration issue.David S.– David S.2013-08-25 02:34:04 +00:00Commented Aug 25, 2013 at 2:34
- I have find out this issue is related to polkit, not KDE itself...however I still cannot find a fix :(David S.– David S.2013-08-25 13:32:56 +00:00Commented Aug 25, 2013 at 13:32
Add a comment |
2 Answers
The configuration file /etc/config/kdm/kdmrc has the following section:
[Shutdown] # The command (subject to word splitting) to run to halt the system. # Default is "/sbin/shutdown -h -P now" # HaltCmd= # The command (subject to word splitting) to run to reboot the system. # Default is "/sbin/shutdown -r now" # RebootCmd= # Whether it is allowed to shut down the system via the global command socket. # Default is false # AllowFifo=true # Whether it is allowed to abort active sessions when shutting down the # system via the global command socket. # Default is true #AllowFifoNow=false Un-comment the "AllowFifo=true" line, then the system shutdown as it used to before the latest upgrade. Source and info As long as this is correct you can add a shutdown launcher.
- I am not using kdm, I use lightdm. So I don't have this config. file at all :(David S.– David S.2013-08-25 03:28:46 +00:00Commented Aug 25, 2013 at 3:28