Forum › Forums › New users › New Users and General Questions › auto-login mis-spelling breaks boot
- This topic has 4 replies, 3 voices, and was last updated Sep 5-4:13 pm by Dave.
-
AuthorPosts
-
September 4, 2018 at 1:09 pm #12056Member
DaveW
Hi,
I broke it again. On Antix 17, installed on harddrive, I experimented with setting the auto-login feature. Unfortunately, I think I mis-spelled the username on the dialogue box. (There was no challenge, like ‘user does not exist’.)On next reboot, the boot process progresses normally through a page or two, then hangs with a black screen. Nothing wakes it up, except tapping the power button, in which case, there are several lines of text, which look like linux is loading. The next to the last line is a welcome to Antix, followed by
enter ‘computer-name’ login:
But the screen goes black, and computer powers off, before I can type two characters.On a liveUSB (Antix 17), the system boots normally.
Of course, I can’t use the Auto-login feature on the liveUSB to change the settings for the system on the harddrive.
Is there a config file (on the harddrive) which can be edited to disable auto-login on the installed system?Thank you, DaveW
September 4, 2018 at 1:18 pm #12057Forum Admin
anticapitalista
::Yes, assuming you haven’t changed the default login manager (slim). Edit as root – /etc/slim.conf to something like this.
### Automatically login the default user (without entering the password) ### Set to "yes" to enable this feature #auto_login yes ### default user (leave blank or remove this line to avoid pre-loading the username) #default_user demoPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
September 4, 2018 at 5:27 pm #12060Forum Admin
Dave
::At the black screen press Control Alt F1 all at the same time.
Likely you are seeing tty7 which has a crashed X session, pressing the above should switch to tty1 where you can log in.
Pressing the power button also switches to tty1 as that action is part of the shutdown sequence.Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
September 5, 2018 at 12:42 pm #12063MemberDaveW
::Control-Alt-F1 did move the process along, and allowed entry of username and password. But for reasons unknown, the desktop only partially opened.
Editing slim.conf fixed the issue.
Just below the lines, quoted by anticapatilista, there were two additional lines:
default_user . . . . my_mis-spelled
auto_login . . . . yesAfter correcting the mis-spelling, auto-login works.
With these two lines commented out, the normal boot process (requiring entry of username and password) is restored.In the Contol Center, there is a GUI for setting auto-login. Is there a GUI for turning auto-login off?
I tried hitting ‘cancel’ in the set auto-login box (leaving the username text block blank). This removed my username from the line in slim.conf, but auto_login remained set at ‘Yes.’
Of course, now that I know, editing the file is not a problem.Thank you both for bailing me out.
DaveW- This reply was modified 4 years, 8 months ago by DaveW.
September 5, 2018 at 4:13 pm #12067Forum Admin
Dave
::I thought I had adapted / made a new utility for setting auto login to turn it on / off as well as give you a list of users that are on the system so you could not type the wrong name.
Maybe the system has not updated, or I have not uploaded it, or stuck the update in the wrong spot or something… I do not know but time to go looking so I know I am not imagining things.
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
-
AuthorPosts
- You must be logged in to reply to this topic.