Home > Linux > CentOS 6 Single User Auto Login

CentOS 6 Single User Auto Login

To have Centos auto login to Gnome with a single user account make the following modification.

Add these two lines in /etc/gdm/custom.conf under the [daemon] section.

AutomaticLoginEnable=true
AutomaticLogin=<accountName>
Advertisements
Categories: Linux
  1. 2013-04-05 at 05:56

    I dont have gdm installed, what can you suggest in such a situation, only runlevel 3 and startx.. CentOS 6.3

    • LF4
      2013-04-05 at 08:21

      That’s a good question I’ll update this to include how to do it with out GDM for those that don’t have it installed.

      • 2013-04-06 at 11:07

        Thanks for the words, Meanwhile I figured it out.

        Modified following line in /etc/init/tty.conf

        exec /sbin/mingetty $TTY to exec /sbin/mingetty –autologin username password $TTY

  2. 2013-04-06 at 11:09

    Reblogged this on Vashishtha's Blog and commented:
    How to enable Auto Login in Redhat/Cent OS with or without gdm installed.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: