nygrule56 Posted April 5 Posted April 5 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 0 Quote
Werner Posted April 5 Posted April 5 Tried something mentioned here? https://www.google.com/search?q=debian+autologin 0 Quote
nygrule56 Posted April 5 Author Posted April 5 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. 0 Quote
Solution nygrule56 Posted April 6 Author Solution Posted April 6 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! 0 Quote
Recommended Posts
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.