Automatic login not working in Ubuntu 17.10

Autologin only works with Wayland on Nvidia Machines. This is confirmed bug. Check the workaround!

Several users has reported that automatic login is not working in Ubuntu 17.10.  This is a bug which is currently included to be fixed in upcoming software updates for Ubuntu 17.10. Note that this problem is confirmed to occur only on nvidia video graphics based computers. We will update this article after the bug gets resolved and when update is released, but for now check the workaround to fix the problem.

Checking which Video drivers are installed in Ubuntu

To check which video drivers are installed on your Ubuntu computer, launch terminal and enter the following command:

sudo lshw -c video | grep 'configuration'

You should see output configuration resembling below screenshot, but in my test PC it is intel drivers, hence it shows i915.

Finding which video driver is installed in Ubuntu
Finding which video driver is installed in Ubuntu. Example shows Intel Video drivers installed.

nvidia driver users should see output as “configuration: driver-nvidia latency=0

Workaround until official bug is released

Automatic login works perfectly fine when the user has logged in with default Wayland video server. Those who switched to XOrg display server while logging into the PC and have nvidia video drivers in their PC will face the automatic login issue. By default settings of Ubuntu 17.10, you should not see this problem happen unless you switched to Xorg on purpose, may be due to incompatibility application problems seen with Wayland.

Therefore, the workaround for the automatic login issue is to select Wayland display server while logging into Ubuntu.

Login Wayland - x11 Options in Ubuntu 17.10
Login Wayland – x11 Options in Ubuntu 17.10

New to Automatic Login?

For those new to automatic login feature, let me quickly explain that you can enable autologin feature which will allow a user to login to the PC without the need of a login password. This is handy feature to save time if you are the sole user of the PC and no one comes around it OR may be it’s only a test PC with no private data in it.

To enable automatic login in Ubuntu 17.10:

Step 1) Go to “Activities” > “Settings”

Step 2) Click “Details”.

Step 3) Click “Users” and then click “Unlock” button to unlock admin privileges.

Unlock to change Admin settings
Unlock to change Admin settings

Step 4)  Finally enable “Automatic Login” and restart PC for setting to take effect.

Enable Autologin in Ubuntu 17.10
Enable Autologin in Ubuntu 17.10

That’s it!

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


Please enter your comment!
Please enter your name here




How to create a GParted live USB drive in Ubuntu, Linux Mint

GParted Live USB Flash Drive
GParted Partition Editor is one of the best programs to create, resize, and manage hard disk partitions. The greatness of free and opensource program is it can be used to work on Linux, Windows, or Mac OS X.
guide to clone hard disk
Disk cloning refers to the process of copying data from one disk to another, thus creating a one-to-one copy of the drive. Technically, this process is possible using the copy-and-paste method.
best linux distros for laptops
Whether buying a Linux pre-installed laptop or selecting a Linux distro for your existing laptop, there are many things to consider. Let's take you through some of the best Linux distros that are optimized for Laptops in this 2019 edition of the article. Read on.