Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

  1. #11
    Join Date
    Dec 2010
    Beans
    133
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    Quote Originally Posted by Blowfish0815 View Post
    anybody ideas? i don't want to remove the GUI completely, but if i can't find a fix for this i will have to.
    Have you tried to right-click on the red shutdown icon, then choosing "Remove From Panel"

    Or is your problem worse?

    (And if you want to get it back you just right-click on the panel . Add to Panel... Then click on the "shutdown" icon and choose "Add")

  2. #12
    Join Date
    Mar 2011
    Location
    Vienna
    Beans
    14
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    It restarted GDM itself (service gdm restart) and the whole machine too. After each new input. But nothing helped till yet.

  3. #13
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    Thanks. May it be that those command structure works?:
    https://defect.opensolaris.org/bz/sh...gi?id=12911#c5

  4. #14
    Join Date
    Mar 2011
    Location
    Vienna
    Beans
    14
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    Hey, sorry to tell you that, but this doesn't work either.
    the mandatory thing i tried before, but this config is just ignored. is there a way to check what config-variables(if there are such) are loaded and user by gdm/gnome?
    PS: i've executed the commands also as root and as user gdm (via su). doesn't make any difference to the login screen.

  5. #15
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    I just yet tested it myself and it works for me. Even without the mandatory thing, my steps were:

    - enter those command in a terminal:
    Code:
    gksudo -u gdm dbus-launch gconf-editor
    - enter the password, obviously
    - browse down the path in the GUI to "/apps/gdm/simple-greeter/disable_restart_buttons"
    - tick it
    - close apps, logout
    - press Ctrl+Alt+F1
    - login at the console (if not already)
    - enter those commands:
    Code:
    sudo service gdm stop
    sudo service gdm start
    (Yeah, "restart" may do it also.)

    EDIT: You didn't mention it so far, which version of Ubuntu do you run?
    Last edited by Krytarik; March 16th, 2011 at 12:40 PM.

  6. #16
    Join Date
    Mar 2011
    Location
    Vienna
    Beans
    14
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    except for the dbus-launch i did it exact the same and it is ticked since days...i have also unticked it and reticked it. doesn't change anything.

    its ubuntu 10.10
    Linux version 2.6.35-27-server (buildd@crested) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #48-Ubuntu SMP Tue Feb 22 21:53:16 UTC 2011

  7. #17
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    Quote Originally Posted by Blowfish0815 View Post
    its ubuntu 10.10
    Maybe there is a change/bug in Maverick's GDM version, would not be the only one.

    The only remaining option I can offer right now is to try to downgrade to Lucid's GDM version, but that may not work because of the dependencies:
    http://packages.ubuntu.com/lucid-updates/gdm

  8. #18
    Join Date
    Mar 2011
    Location
    Vienna
    Beans
    14
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    i think i will remove gnome completely. i can run GUI programs also with x11-forwarding on my win-client with xming.
    but thanks for trying.

  9. #19
    Join Date
    Nov 2007
    Location
    PWM
    Beans
    75

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    I would also like an answer to this question. I am running two servers: one with 10.04 and one with 10.10.

    I've only been trying to remove the menu with Shutdown/Restart/Hibernate on the machine running 10.10 so far, with no luck. Krytarik's suggestion of

    Code:
    gksudo -u gdm dbus-launch gconf-editor
    does nothing, even after a complete reboot. Before being able to run the above, I also had to add user gdm to the users allowed to connect to the X server with:

    Code:
    xhost +SI:localuser:gdm
    But the menu in the lower right corner of the login screen is still there. Surely there must be a way to remove it??!

    I've also tried putting the following lines in /etc/gdm/custom.conf, without success:

    Code:
    RebootCommand=
    ShutdownCommand=
    Are there any other ideas? I've tried everything else in this thread, and in the others I could find.

    Thanks!

  10. #20
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Disable Shotdown/Reboot/Hibernate buttons on LOGIN SCREEN

    Quote Originally Posted by gfunkdave View Post
    I've only been trying to remove the menu with Shutdown/Restart/Hibernate on the machine running 10.10 so far, with no luck. Krytarik's suggestion of
    Code:
    gksudo -u gdm dbus-launch gconf-editor
    does nothing, even after a complete reboot. Before being able to run the above, I also had to add user gdm to the users allowed to connect to the X server with:
    Code:
    xhost +SI:localuser:gdm
    Yeah, in 10.10 you need to run those command before the other will work. I forgot to mention that, sorry.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

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