Mailinglist Archive: opensuse (4626 mails)

< Previous Next >
Re: [opensuse] [SOLVED] 10.2/KDE logout - removing Suspend button?
  • From: Johnny Ernst Nielsen <j_e_n_pub@xxxxxxxx>
  • Date: Mon, 22 Jan 2007 13:46:17 +0100
  • Message-id: <200701221346.18044.j_e_n_pub@xxxxxxxx>
Mandag 22 januar 2007 08:47 kvad Johnny Ernst Nielsen:
> [...] it is still there for everyone at the login screen (System ->
> Shut down)

Searching for the solution to another problem, I stumbled upon this
one.

One has to edit /opt/kde3/share/config/kdm/kdmrc and uncomment the
line "#AllowSuspend=All" and change "All" to "None"

So the full soution is:

Edit the following files:
/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege
/etc/PolicyKit/privilege.d/hal-power-standby.privilege
/etc/PolicyKit/privilege.d/hal-power-suspend.privilege
In all three cases set SufficientPrivileges= and Allow= to nothing
Edit /opt/kde3/share/config/kdm/kdmrc
Uncomment the line "#AllowSuspend=All" and change "All" to "None"

This will remove the suspend button from all logout boxes everywhere
for all users.

Best regards :o)

Johnny :o)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >