Find the answer to your Linux question:
Results 1 to 5 of 5
I'm running Ubuntu 10.04 (and, on another server, 10.10) and can't seem to figure out how to remove the Shutdown and Restart options from the menu on the bottom right ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    3

    How to Remove Shutdown/Restart From Login Screen?


    I'm running Ubuntu 10.04 (and, on another server, 10.10) and can't seem to figure out how to remove the Shutdown and Restart options from the menu on the bottom right of the login screen.

    I've tried

    Code:
    gksudo -u gdm dbus-launch gconf-editor
    and checking the /apps/gdm/simple-greeter/disable_restart_buttons, but it doesn't do anything even after a reboot. I've also tried the above command as root (without the "-u gdm").

    I have also tried adding the following lines to /etc/gdm/custom.conf:

    Code:
    RebootCommand=
    ShutdownCommand=
    These seem to have no effect either. Is this a Gnome bug, or am I doing something wrong?

    Thanks for any help!

  2. #2
    Just Joined!
    Join Date
    Dec 2009
    Location
    Bolingbrook, IL
    Posts
    22
    If you have Ubuntu Tweak, there's an option to remove the restart under Login Settings. Will have to some research about the shutdown.

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    3
    Thanks - just checked it out.

    Ubuntu Tweak seems to just toggle the setting in gconf-editor, which doesn't do anything. Is this a Gnome bug?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2009
    Location
    Bolingbrook, IL
    Posts
    22
    This may be a stupid question,but, have you looked in the Ubuntu forums?

  6. #5
    Just Joined!
    Join Date
    Mar 2011
    Posts
    3
    Yup, nothing there - but I did figure things out, after a fashion. Check out my other thread there:

    ubuntuforums.org/showthread.php?t=1604937&page=2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •