≡ Menu

Remove Shutdown and Reboot Option from Linux GUI Login Screen ( GDM Setup )

Q. I’ve a central Linux test server. It has GDM based GUI login screen. How do I remove both shutdown and reboot server options from the login screen?

A. GDM is gnome specific display manager. It is a display manager that implements all significant features required for managing attached and remote displays. GDM is highly configurable, and many configuration settings can affect security. The GDM daemon is responsible for managing displays on the system. This includes authenticating users, starting the user session, and terminating the user session.

GUI tool gdmsetup

The gdmsetup application can be used to configure GDM. Open terminal and type the command:
$ sudo gdmsetup
Select “Local” tab > unselect “Show Actions menu” > Close

Remove the Shutdown / Reboot options from the GNOME system login screen
(Fig. 01: gdmsetup in action)

Note: You can start gdmsetup by visiting System > Administration > Login Screen / Login Windows. You can also modify configuration file stored at /etc/gdm/ directory.

Share this tutorial on:

Like this? Follow us on Twitter OR support us by using Patreon

{ 4 comments… add one }
  • saqib January 16, 2008, 7:15 pm

    hi dear i m facing a problem .I have install Red Hat Enterprise Linux 5 .and when i want to connect from xmanager 2.1 from my labtop its showing me a msg “System Administrator is not allowed to login in this Screen” more surprising i can connect any other user except “root”.Root is not allowed.I have enable the gdm and done all other things

  • slvjerome August 27, 2008, 11:50 am

    But the user can still hit F10 and get all the options. Is there a way to disable F10 at the login screen?

  • kcmakwana November 20, 2008, 2:39 pm

    edit the file /etc/ssh/sshd_config, in this file, set the parameter of PermitRootLogin to yes(it may be set to no). this will allow you to login via network as root. further info, kcmakwana@rediffmail.com

  • thahir1986 June 27, 2010, 2:12 pm

    Where is the answer for the question man……He asked u how to disable shutdown, reboot options from login screen…but u replied him how to change the login theme….what a craze….

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , , , , , , , , , ,