Jump to content

Skip Login Automatically


Go to solution Solved by nygrule56,

Recommended Posts

Hello I have an Orange pi Prime and I need help getting it to boot directly to the desktop bypassing the login prompt.  I have been searching for a solution but the threads I've found are pretty outdated.  Is there a way to accomplish this?

No LSB modules are available.
Distributor ID:    Debian
Description:    Armbian 24.2.1 bookworm
Release:    12
Codename:    bookworm

 

6.6.16-current-sunxi64

Link to comment
Share on other sites

Not working so far.  I used this code:

 

sudo nano /etc/lightdm/lightdm.conf

 

I found the line #autologin-user=

I uncommented the line using ctrl+shift+d

added my username directly after the =

commented with ctrl+d

saved the file and rebooted.

No change so far.

Link to comment
Share on other sites

  • Solution

OK YES!  Got it to work.  The first thing I did was learn what comment and uncommented lines actually mean.  Then I did these steps because there were some differences between the arch linux solutions and debian.

sudo dpkg-reconfigure lightdm

sudo groupadd -r autologin

sudo gpasswd -a YOURUSERNAME autologin

sudo nano /etc/lightdm/lightdm.conf

In the lightdm.conf file there is a section called [Seat:*].  I uncommented (activated) these lines:

[Seat:*]

pam-service=lightdm

pam-autologin-service=lightdm-autologin

autologin-user=username

autologin-user-timeout=0

autologin-session=

What I did to retrieve the session type was 

echo $DESKTOP_SESSION

 

Overall, not as easy as flipping a switch but it was a good learning experience.  I'm not sure if there are any unnecessary steps here but it is working as it should.

Thank you, Werner for pointing me in the right direction!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines