Author Topic: Is it possible to set a user lock screen in Peppermint Live OS? (SOLVED)  (Read 245 times)

Offline gunesh

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 1
  • New To PeppermintOS
    • View Profile
Hey guys, whats going on? I am a new user of Peppermint and I'm really enjoying its experience, but I'm using the distro in a USB stick with a persistent storage and I realized that I can have access to the desktop without any restriction or the system asking me to put the user password in order to have access to it. So, the ask is: How can I set a user lock screen to ask a password before going to the desktop?. I'm afraid that this can make anyone else than me to have access to my files if I loose my USB stick.

Plss help me guys  ;)
« Last Edit: May 14, 2020, 04:33:03 pm by gunesh »

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2343
  • Karma: 616
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Is it possible to set a user lock screen in Peppermint Live OS?
« Reply #1 on: May 14, 2020, 02:00:34 am »
Hi gunesh,

I've never used PeppermintOS from a live USB stick with persistence, but I would think that you need to set several things. First open a terminal window and enter:

Code: [Select]
sudo xed /etc/lightdm/lightdm.confand change it to have the following contents (click on [Select] and copy the following and then paste it into the file):

Code: [Select]
Seat:*]
allow-guest=false
autologin-guest=false
autologin-user=
autologin-user-timeout=0

Save the file and close the editor.

Now open the Users and Groups menu item (this might also be called Users Settings) and for your user there are several options that each (on the right side of the window) have a button labelled Change...  Go to the option labelled Password and make sure that it is set to Asked on login (if it is not, the click on Change... and make sure that in the next window the option Don't ask for password on login has NO check mark in its little box).

That should now be all that you need to do so that at each boot from your USB stick you will be presented with a login screen that will only accept your password to access your desktop.

Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline gunesh

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 1
  • New To PeppermintOS
    • View Profile
Hi Slim.Fatz,

I appreciate your quick and straightforward answer. I'm here to thank you for your help and say that it worked pretty well.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2952
  • Karma: 335
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Hi Slim.Fatz,

I appreciate your quick and straightforward answer. I'm here to thank you for your help and say that it worked pretty well.

Hello and Welcome to PeppermintOS gunesh!

#teampeppermint are pleased you are enjoying your experience. #teampeppermint appreciates that you remembered to marked your issue SOLVED!
 ;)

Wow! thanks @Slim.Fatz for providing such a swift solution!
« Last Edit: May 14, 2020, 06:08:54 pm by spence »
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2343
  • Karma: 616
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Hi gunesh,

Good news to hear that your issue has been resolved! Thanks for marking the issue (SOLVED) too.  ;)


And finally: Welcome to the forum and to PeppermintOS !!  8)

Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline gunesh

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 1
  • New To PeppermintOS
    • View Profile
Hi Slim.Fatz,

I appreciate your quick and straightforward answer. I'm here to thank you for your help and say that it worked pretty well.

Hello and Welcome to PeppermintOS gunesh!

#teampeppermint are pleased you are enjoying your experience. #teampeppermint appreciates that you remembered to marked your issue SOLVED!
 ;)

Wow! thanks @Slim.Fatz for providing such a swift solution!


Thank you friend  ;D

Offline gunesh

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 1
  • New To PeppermintOS
    • View Profile
Hi gunesh,

Good news to hear that your issue has been resolved! Thanks for marking the issue (SOLVED) too.  ;)


And finally: Welcome to the forum and to PeppermintOS !!  8)

Regards,

-- Slim

Thank you too  :D