Unable to set autologin

Bug #1307102 reported by Elfy
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Invalid
Low
Unassigned

Bug Description

In 14.04 Xubuntu I am unable to set autologin

The /usr/lib/lightdm/lightdm-set-defaults --autologin command is now gone it seems ( https://launchpad.net/ubuntu/+source/lightdm/1.9.4-0ubuntu1 )

I've tried editing the various .conf files with no success.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lightdm 1.10.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Apr 13 11:09:31 2014
InstallationDate: Installed on 2014-04-06 (6 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140406)
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Elfy (elfy) wrote :
Changed in lightdm (Ubuntu):
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Troy Ready (troyready) wrote :

I don't think this is correct -- the method in https://wiki.ubuntu.com/LightDM#Autologin still works for me.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

lightdm-set-defaults was deprecated in 1.10.

The correct method is to create a config file snippet e.g. /etc/lightdm/lightdm.conf.d/50-autologin.conf or by editing /etc/lightdm/lightdm.conf.

The format for the configuration is:
[SeatDefaults]
autologin-guest=false
autologin-user=someuser
autologin-user-timeout=10

(set whatever fields are appropriate)

Revision history for this message
Elfy (elfy) wrote :

[SeatDefaults]
autologin-guest=false
autologin-user=hob
autologin-user-timeout=3

This completely fubar'd my install. Good job it was Unicorn ;)

Not able to screenshot it - I'll install in a vm to test in Tahr - I do have vague memories of trying this at some point during the last cycle - with the same result.

In 14.04 - adding that file - does nothing - machine boots to login screen.

Revision history for this message
Troy Ready (troyready) wrote :

I realize my last comment was vague. I'm confirming that the method described by Robert is working properly for me. I only needed to add the "autologin-user=foo" option on my 14.04 system and it worked properly.

Revision history for this message
Elfy (elfy) wrote :

@troyready - are you using Xubuntu?

Revision history for this message
Troy Ready (troyready) wrote :

Yes, this is with a clean install of Xubuntu 14.04.

Revision history for this message
Elfy (elfy) wrote :

not sure why it's not working here - to be honest I'm not too worried now I'm looking at 14.10

I'm unsubscribing from the bug - I'd mark it Not Worried Anymore if I could :)

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Closing marked "solved by Unicorns"

Changed in lightdm (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Laurent ARNOULD (publicite-arnould-g) wrote :

This bug occure only on 64 bit ubuntu 14.04 version

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.