How to enable automatic user logins in CentOS 7 and GNOME

- by

CentOS-LogoIf you’ve read my previous article about how to enable automatic logins on CentOS 6, and it sounded a little daunting, you may be pleased to hear that it’s a little easier to accomplish the same thing on CentOS 7.1.

If you’re using GNOME in a single user environment, and you’re confident that nobody else will use your system, you can enable auto-logins without the password questions like this:

  1. Login to GNOME as usual
  2. Find your name at the top right and click on it
  3. Now select Settings
  4. In the new window that opens, find Users
  5. Click on Unlock at the top right
  6. Select your own user and turn on Automatic Logins

You need supervisor privileges to make this change. Next time you restart your system, you’re logged in automatically.

Screen Shot 2015-08-13 at 10.19.12

Thank you, CentOS!



If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.

12 thoughts on “How to enable automatic user logins in CentOS 7 and GNOME”

  1. I can’t get this to work. What is the command to launch the user/account UI? Is there another way to do this via systemd?
    I’ve tried editing /etc/gdm/custom.conf and it doesn’t work either.

  2. Sorry, it just work once just after you boot up the system. If I logout the user, it won’t autologin again and shows me the login box !!

  3. Tja… not sure what to suggest, it works for me reliably every time. Did you speak to the CentOS people? Perhaps it’s a bug?

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.