Author Topic: Linux Debian12 How to bypass login and password?  (Read 443 times)

0 Members and 1 Guest are viewing this topic.

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 859
  • Country: ca
Linux Debian12 How to bypass login and password?
« on: January 15, 2024, 05:33:12 pm »
I'm a total Linux newbie, so please bear with me....

I have installed LinuxCNC 2.91 under Debian12. Everytime the machine starts I need to enter username and password. This PC will be dedicated to a milling machine and will only be by used by me, and will probably not be connected to the internet so it would be more convenient if on power-up the login and password screen would simply be bypassed. I did find one reference stating to modify
lightdm.conf

So I opened a command prompt and typed "sudo nano /etc/lightdm/lightdm.conf" and then removed (under the "[Seat:*]" section,  the '#' for the following two lines (I assume the # means comment) and added my user name after =

Changed.....

#autologin-user=
#autologin-user-timeout=0

to

autologin-user=myusername
autologin-user-timeout=0

I then did ^O, and ^X the file appears to have been updated, because when I reopen the file I can see my changes.
This does NOT seem to work and does not address the password aspect.

myusername is my actual username

Suggestions welcome.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7876
  • Country: de
  • A qualified hobbyist ;)
Re: Linux Debian12 How to bypass login and password?
« Reply #1 on: January 15, 2024, 06:33:34 pm »
Do you run the LightDM window manager? If yes, have you also set up the autologin group? Please see https://wiki.archlinux.org/title/LightDM#Enabling_autologin.
 
The following users thanked this post: Jester

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 859
  • Country: ca
Re: Linux Debian12 How to bypass login and password?
« Reply #2 on: January 15, 2024, 07:03:12 pm »
This is resolved, stupid one extra l in the username in the file   
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf