AutoLogin - Solved

More
15 Jan 2024 16:24 #290767 by slowpoke
AutoLogin - Solved was created by slowpoke
I'm a total Linux newbie, so please bear with me....

I have installed LinuxCNC 2.91 under Debian12.

This PC will only be dedicated to a milling machine and will only 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. This might be more of a Debian question however I can't seem to find a how to regardless of where I search, 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 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.

Suggestions welcome.

Please Log in or Create an account to join the conversation.

More
15 Jan 2024 17:00 #290771 by tommylight
Replied by tommylight on topic AutoLogin - Solved
Been to long, but, i think there are several entries with those same lines in different sections of the conf file, the lines under the "seat" section have to be modified/activated for it to work.
And myusername should be the user name you log in with, not "myusername".
The following user(s) said Thank You: abdulasis12

Please Log in or Create an account to join the conversation.

More
15 Jan 2024 17:15 #290773 by slowpoke
Replied by slowpoke on topic AutoLogin - Solved
tommylight,

I did modify the lines under "seat" and "myusername" is my actual username, so it's something else.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
15 Jan 2024 19:04 - 15 Jan 2024 19:05 #290780 by slowpoke
Replied by slowpoke on topic AutoLogin - Solved
Solved!

Not enough coffee, I had one extra 'l' in the username in the file

Thanks for responding.
Last edit: 15 Jan 2024 19:05 by slowpoke.
The following user(s) said Thank You: abdulasis12

Please Log in or Create an account to join the conversation.

More
16 Jan 2024 03:13 #290826 by abdulasis12
Replied by abdulasis12 on topic AutoLogin - Solved

I'm a total Linux newbie, so please bear with me....

I have installed LinuxCNC 2.91 under Debian12.

This PC will only be dedicated to a milling machine and will only 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. This might be more of a Debian question however I can't seem to find a how to regardless of where I search, 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 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.

Suggestions welcome.

I try your solution but my pc can't to autologin  hahahaha
have any idea or check ?

autologin-user =asixx
autologin-user-timeout =0
ctrl + O
ctrl + X
 

Please Log in or Create an account to join the conversation.

More
18 Feb 2024 04:14 - 18 Feb 2024 04:15 #293666 by jimmejames
Replied by jimmejames on topic AutoLogin - Solved
@adbulasis12 - did you make sure you set the parameters under the [Seat:*] heading as @tommylight mentioned? This was around row 128 in the lightdm.conf file.

I started with the inputs under the [LightDM] heading as that's the first place I saw the sample parameters, but autologin did not work. When I changed the location, my autologin worked.

Note, I needed to change to root to save my changes ("sudo -i" at a terminal).

Information from here:
wiki.printnc.info/en/controllers/linuxcnc/install
Last edit: 18 Feb 2024 04:15 by jimmejames.
The following user(s) said Thank You: tommylight, abdulasis12

Please Log in or Create an account to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum