AutoLogin - Solved
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.
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
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".
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.
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.
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.
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.
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.
- abdulasis12
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 6
16 Jan 2024 03:13 #290826
by abdulasis12
have any idea or check ?
autologin-user =asixx
autologin-user-timeout =0
ctrl + O
ctrl + X
Replied by abdulasis12 on topic AutoLogin - Solved
I try your solution but my pc can't to autologin hahahahaI'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.
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.
- jimmejames
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 2
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
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