I have selected the setting 'Automatic Login' from within the default Gnome 3 Ubuntu 17.10 control panel app, but it keeps resetting to 'off' after every restart and does not allow me to automatically login.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
I had to force the loging screen to use xorg and not wayland (not yet supported by nvidia drivers).
Edit as root the file /etc/gdm3/custom.conf.
sudo nano /etc/gdm3/custom.conf
Change the line
I think i've found the problem, try to edit
AutomaticLoginEnable=True in my case
(full lowercase for the word "true")
or uncomment this line if it is...
Same issue. I've originally changed the "/etc/gdm3/custom.conf" and simply enabled the "AutomaticLoginEnable=True". This was the whole issue: I didn't notice that "True" has to be lowercase.
EDIT: I was wrong. My autologin works because I'm NOT using the gnome-xorg (the default option for ubuntu) but the gnome classic session. I can't manage to get the gnome-xorg session to work properly unless I setup a timedlogin which is a little unpleasant.
EDIT 2: Ok, I finally got enough of this issue, since it's getting ignored. To solve my issue, since I don't care the least about gdm but I still want to use chrome, I've installed lightdm and changed the autologin in the user settings.
In other words:
sudo apt install lightdm
followed by the usual change in the user settings for the autologin.
I can confirm that it's a bug in Settings app. When changing the 'Automatic Login' flag under Details->Users it writes True/False values for
AutomaticLoginEnable in "/etc/gdm3/custom.conf".
After manually writing the value
AutomaticLoginEnable=true the auto-login works.
I had to set two variables, to make it work:
$sudo gedit /etc/gdm3/custom.conf
And insert the lines:
AutomaticLoginEnable = true AutomaticLogin = <my user name>
The settings app is buggy, to an extend where it's getting useless as of 11.2017. Hopefuly that will change :)
I just had problems with GDM 3.28.3 auto login with 18.04 minimal and
gnome-core only. GUI froze completely on boot with the error
A start job is running for Hold until boot process finishes up and after long research I accidentally found a solution by disabling the boot splash screen:
# disable splash screen on boot sudo sed -i 's/splash quiet//g' /etc/default/grub sudo update-grub
Note: To enable the splash again:
sudo gedit /etc/default/grub and make sure
splash quiet is again within the quotation marks of
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet". Apply the new settings with
I hope this saves other people's time. If anyone has an idea why this worked for me please let me know.