To autologin to Ubuntu Server you will need to get mingetty
- sudo apt-get intall mingetty
- Then you will want to edit /etc/event.d/tty1 and change the following: exec /sbin/getty 38400 tty1 to exec /sbin/mingetty –autologin your_username tty1
To autologin to Ubuntu Desktop do the following
- sudo gdmsetup
- click on the Security tab
- check Enable Automatic Login
- Select the username from the drop down list and click Close
{ 5 comments… read them below or add one }
Great, thanks
This is exactly what I was looking for. The /etc/event.d structure is foreign to me.
Now if only a way besides installing a gui on top of base ubuntu-server install.
you don’t need to install a gui to do that. The gui part is for Ubuntu Desktop.
The correct form is
–autologin
not
-autologin