PDA

View Full Version : ubuntu auto login



smokeyone2
December 23rd, 2015, 07:41 AM
Hello

Even though I am sure I set the installation to auto login my desktop keeps asking for a password upon start up - search the forum it seems I need to alter the /etc/lightdm/lightdm.conf
file but where do I find this file please - I do hope I have this correct -

SeatDefaults]
autologin-guest=false
autologin-user=password
autologin-user-timeout=0
autologin-session=lightdm-autologin
user-session=ubuntu
greeter-session=lightdm-gtk-greeter

Many thanks

deadflowr
December 23rd, 2015, 07:47 AM
Do you have a user named password?

smokeyone2
December 23rd, 2015, 08:09 AM
I just did a copy and past - so change password -

SeatDefaults]
autologin-guest=false
autologin-user=smokeyone2
autologin-user-timeout=0
autologin-session=lightdm-autologin
user-session=ubuntu
greeter-session=lightdm-gtk-greeter

Thanks but still do not know where /etc/lightdm/lightdm.conf is to be found -

deadflowr
December 23rd, 2015, 08:16 AM
Is SeatDefaults] wriiten as is, or does it read
[SeatDefaults] <<This is the proper way, btw.
It needs to be encapsulated in brackets.

smokeyone2
December 23rd, 2015, 09:51 AM
Is SeatDefaults] was wriiten as is - so it should all read -

[SeatDefaults]
autologin-guest=false
autologin-user=smokeyone2
autologin-user-timeout=0
autologin-session=lightdm-autologin
user-session=ubuntu
greeter-session=lightdm-gtk-greeter

deadflowr
December 23rd, 2015, 06:46 PM
Is SeatDefaults] was wriiten as is - so it should all read -

[SeatDefaults]
autologin-guest=false
autologin-user=smokeyone2
autologin-user-timeout=0
autologin-session=lightdm-autologin
user-session=ubuntu
greeter-session=lightdm-gtk-greeter

Basically yes.
Does it work properly, or is their still more to do?

Though doing a quick look at autologin-session and user-session I don't think both are needed.
As autologin-session's settings override user-session.

smokeyone2
December 24th, 2015, 06:25 AM
I am still stuck as I do not know where the /etc/lightdm/lightdm.conf
file is kept or how to alter it - if this is the correct file -