how to disable shutdown and restart from system panel in gnome
I tried both ubuntu desktop and server but result is the same. My end user connect to server through hummingbird exceed or nxclient. It brings up desktop on their end. Problem is there is shutdown and restart options appear in system panel that end user can bring down or reboot server. Is there a way that I can disable these options from end user when they connect to server through X? I have been googling last 3 weeks and found no answer.
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2009-09-28
- Last reply:
- 2009-09-28
| Simon Déziel (sdeziel) said : | #1 |
To do what you want, I think you could use gconf-editor. See that link : http://
| Sam_ (and-sam) said : | #2 |
Options:
gconf-editor
/apps/gnome-
instead of
power = interactive
it's
power = nothing
Far better choice is to use PolicyKit (in system administration menu)
and prevent user from actions.
CLI:
polkit-
Section: power-management
e.g.
sub section
shutdown the system
e.g.
instead of
acitve console = yes
it's
acitve console = Admin authentication
https:/
http://
| Tuyen Nguyen (tuyen) said : | #3 |
This will take away logout object from menu panel. My question is how
to only remove shutdown and restart object from menu panel.
On Sat, 2009-09-26 at 01:38 +0000, Simon Déziel wrote:
> Your question #83825 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Simon Déziel proposed the following answer:
> To do what you want, I think you could use gconf-editor. See that link :
> http://
> guide/ch-
>
| Sam_ (and-sam) said : | #4 |
You may disable shutdown/restart menu or buttons as suggested and create a separate starter on the panel, so the user can only logout.
Since Jaunty 9.04 the cmd would be
e.g.
gnome-session-save --logout --gui
##shows dialog for logout and user switch
gnome-session-save --shutdown-dialog --gui
##shows dialog for shutdown, restart ...
Can you help with this problem?
Provide an answer of your own, or ask Tuyen Nguyen for more information if necessary.

