LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS
User Name
Password
elementary OS This forum is for the discussion of elementary Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 04-23-2022, 11:45 PM   #1
kokoko42
LQ Newbie
 
Registered: Apr 2022
Posts: 1

Rep: Reputation: 0
Question Autologin doesn't work (resets after restart)


Installed the last version of Elementary OS, updated. Setup in Users and accounts autologin (don't ask for password when system starts). Reboot the laptop, OS asks me for the password. Check settings and the checkbox is off for autologin. Turn it on. Reboot. Again asks for the password.

Any ideas?
 
Old 04-27-2022, 08:03 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
Quote:
Check settings and the checkbox is off for autologin. Turn it on. Reboot. Again asks for the password
sounds like you ran some kind of GUI (graphical panel) as non-root which is why IMHO it did not work

try opening a terminal and getting root then edit the file /etc/lightdm/lightdm.conf so that the line changes from
#autologin-user=<YOUR USERNAME>
to
autologin-user=<YOUR USERNAME>

ref
https://elementaryos.stackexchange.c...entary-os-loki

Code:
sudo nano /etc/lightdm/lightdm.conf
use arrow keys to get to # and delete it
then press kb keys Ctrl (and) o (to over-write file).....follow the prompts to agree to over write file-name
then press kb keys Ctrl (and) x (to exit nano)


2) if that scares you....run sudo <name of text editor> /etc/lightdm/lightdm.conf in a terminal to achieve same outcome.

Last edited by aus9; 04-27-2022 at 08:05 PM.
 
Old 09-25-2022, 07:02 PM   #3
DIYster
LQ Newbie
 
Registered: Sep 2022
Posts: 1

Rep: Reputation: 0
Having the opposite problem - auto logs in when config'd not to

Recently, on boot up or restart, my EOS system has been auto logging into one of the user accounts (the one I use most, call it user A) even though it is configured not to. I can log in with user B, then log out of user A, then log out of or restart from user B and get the greeter showing the users. Logging into user B requires a password, but selecting user A logs in user A without a password. Also renamed /etc/lightdm/lightdm.conf and edited io.elementary.greeter.conf as advised from a StackExchange EOS forum post, with no affect.
Any ideas on where to start looking to troubleshoot this issue?

Computer: Dell Inspiron 15-7568 laptop
OS: elementary OS 6.1 Jólni, latest updates
$: lightdm --show-config
[LightDM]
A logind-check-graphical=true
C backup-logs=false

[Seat:*]
A greeter-session=io.elementary.greeter
A user-session=pantheon
B allow-guest=false
D greeter-wrapper=/usr/lib/lightdm/lightdm-greeter-session
E guest-wrapper=/usr/lib/lightdm/lightdm-guest-session
F xserver-command=X -core
G autologin-user=

Sources:
A /usr/share/lightdm/lightdm.conf.d/40-io.elementary.greeter.conf
B /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
C /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
D /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
E /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
F /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
G /etc/lightdm/lightdm.conf

Last edited by DIYster; 09-25-2022 at 07:52 PM. Reason: Additional details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New installation V20 on SSD applies updates but resets to default on restart Stu-UK Linux Mint 4 09-16-2020 05:47 AM
Autologin doesn't work for sddm (plasma) cstacy Debian 2 05-15-2019 10:44 AM
Ubuntu 9.10 - "Restart" option just restarts Ubuntu, doesn't restart PC tensigh Linux - Laptop and Netbook 5 03-02-2011 10:47 AM
"random" xorg resets ... quickly typing in the GUI a "2" resets X Tinkster Slackware 3 04-09-2010 04:25 AM
volume resets to mute on restart sumeet inani Ubuntu 6 09-17-2009 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS

All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration