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


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

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.