password on aa1 running peppermint 3[SOLVED]

Hi Mark

Whats the easiest (best) way of having a password when i start the netbook?
Not the lock screen when suspended, just when starting the machine.

thanks

keith

menu > System Tools > Users & Groups

Select your user in the left panel … click the “Change” next to “Password: Not asked at login

Take the tick out of “Don’t ask for password on login

Click the “OK” button.

when i click on user groups and get my user settings box, it already has “password asked at login” not what i was expecting, because it doesn’t ask me a login.
sorry to be a pain,
any suggestions

Do you get a lgin screen at boot?
Have you got it set for Autologin?
Check out this section in /etc/lightdm/lightdm.conf

cat /etc/lightdm/lightdm.conf

You should see something like this:

[SeatDefaults}
greeter-session=lightdm-gtk-greeter
user-session=Peppermint

The autologin section should be commented out

no login screen at boot
the answere to your question
eith@keith-AOA110 ~ $ cat /etc/lightdm/lightdm.conf

[SeatDefaults]
autologin-guest=false
autologin-user=keith
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=lightdm-gtk-greeter
user-session=Peppermint

OK, then edit that section to make it look like this:
[SeatDefaults]
#autologin-guest=false
#autologin-user=keith
#autologin-user-timeout=0
#autologin-session=lightdm-autologin
greeter-session=lightdm-gtk-greeter
user-session=Peppermint

You could edit it with:

sudo gedit /etc/lightdm/lightdm.conf

after editing I had the following
$ sudo gedit /etc/lightdm/lightdm.conf
[sudo] password for keith:

(gedit:5535): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.UVQ3WW’: No such file or directory

(gedit:5535): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

(gedit:5535): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.ONZFXW’: No such file or directory

(gedit:5535): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

(gedit:5535): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.PLYCXW’: No such file or directory

(gedit:5535): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

You can ignore those. It tries to save the recently used to the root user (which is pointless)
Save the changes and reboot :slight_smile:

Many thanks SeZo
I don’t know why but it always amazes me when these commands work
works perfect btw

keith

At least you now know how to enable autologin (reverse the changes):slight_smile: