Skip to main content

Thread: Disabling shutdown from login screen


i have computer running xubuntu 9.10 and, on login screen, there's button in lower right-hand corner allows shutdown or restart machine. i'd button either disappear or, alternatively, require me log in before using it, way can't walk , shut machine down without me knowing did it.

there way turn off? i've tried turning systemmenu option in /etc/gdm/custom.conf 0 (found option here) doesn't seem anything.

in advance!

update: turns out documentation looking @ deprecated. documentation on valid custom.conf values needed here. however, i'm still spinning wheels bit. following command should trick, doesn't:

code:
sudo -u gdm gconftool-2 -t bool -s /apps/gdm/simple-greeter/disable_restart_buttons true
the documentation states that, if $home directory gdm user writable, gdm-simple-greeter.schemas file created in there stores value. checking /etc/passwd, found home directory gdm user /var/lib/gdm - when went in there, found there files owned gdm in directory, suggest it's writable gdm user, there gdm-simple-greeter.schemas file. however, curiously enough, asking value of key using gconftool-2 showed value had been changed gdm user, after reboot. in other words, happened:

code:
# sudo -u gdm gconftool-2 -g /apps/gdm/simple-greeter/disable_restart_buttons  true
i ran gconftool-2 root; showed original value of key (false). so, tried changing root , restarting gdm service, didn't change anything. on lark, tried using find / -name 'gdm-simple-greeter.schemas' find if 1 of files created anywhere - instead, found default 1 in /usr/share/gconf/schemas. tried changing - still nothing. restart/shutdown button still there before log in.

have suggestions?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [xubuntu] Disabling shutdown from login screen


Ubuntu

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???