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.

Advertisement

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.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

4 comments… add one
  • saqib Jan 16, 2008 @ 19:15

    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 Aug 27, 2008 @ 11:50

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

  • kcmakwana Nov 20, 2008 @ 14:39

    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 Jun 27, 2010 @ 14:12

    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….

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.