this post was submitted on 29 Nov 2023
21 points (83.9% liked)

Linux

48220 readers
720 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have installed nimdow window manager. I have auto-login enabled. Nimdow is the default option. The only options I have at boot are (from the bootloader): default, timeout, edit, resolution, print and help (help is not working). How am I supposed to go back to GNOME or disable auto-login? I tried accessing the recovery shell, but I can't access it by spamming escape. Someone PLEASE help. Google Bard is useless.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 11 months ago (1 children)

If the computer boots but you can't access a GUI, use Ctrl+Alt+F3 to open a console. From there you can use nano to edit the login manager configuration. If you had GNOME installed, your login manager is probably GDM, and its config should be at /etc/gdm/daemon.conf, according to the manual. If that is the case, it looks like you should erase the username under the entry "AutomaticLogin=".

[–] [email protected] 4 points 11 months ago (1 children)

Thank you! The Linux community is the best! I will not regret switching to Linux

[–] [email protected] 2 points 11 months ago (1 children)

Just be ready to have to lean on the community a lot to begin with

[–] [email protected] 2 points 11 months ago

I don't mind leaning on a community that helps me within 15 minutes of making a post and is just generally so helpful

[–] [email protected] 6 points 11 months ago

FYI, the options at boot have nothing to do with this. At boot you might have different options for different OS's. When you pick linux, it will start up. Only after login will a DE/WM like Gnome/Nimdow start. If you install multiple WM's, they will not show up in your boot menu. Some login managers allow you to switch between them at login.

[–] [email protected] 5 points 11 months ago

What greeter are you using? GDM? You can disable auto login from the command line.

Assuming gdm, as root edit /etc/gdm/custom.conf and set AutomaticLoginEnable=False.

[–] [email protected] 4 points 11 months ago (1 children)

You are probably gonna want to chroot into your laptop using a livecd for linux. This will allow you to basically access your terminal without being able to login or boot, and then you can uninstall Nimdow, or turn off auto-login.


Some guides to chrooting.

https://superuser.com/questions/111152/whats-the-proper-way-to-prepare-chroot-to-recover-a-broken-linux-installation#111215

https://wiki.archlinux.org/title/Chroot

[–] [email protected] 7 points 11 months ago (1 children)

Can't they just do this by switching to a TTY? (Ctrl + alt + F1, F2...) Might be less work than chrooting.

[–] [email protected] 4 points 11 months ago

Yeah. I just thought that the OP was unable to boot or something like that.

[–] [email protected] 2 points 11 months ago

Ctrl+alt+f3 put in your user and password and remove the window manager or install some other one until you fix it.

[–] [email protected] 1 points 11 months ago

As long as the laptop boots, you should be able to switch to a TTY console, where you have a complete shell interface to your system after logging in (in said TTY console). So, being greeted with a login screen or something is a win here - but you're very vague in your report.

The GUI is only just a program and has nothing to do with your boot options in BIOS or bootloader (like grub).

Using CTRL-ALT-[F1-9/0] you can switch between your virtual consoles and on only one of them your GUI is running.
You can use any other one to change anything on the system from CLI.
You should also be able to stop the current GUI/X11 Session and directly start the window manager you wish - temporarily to fix your system, if you're not confident in the CLI.

[–] [email protected] -1 points 11 months ago

If you're data is backed up and you still have a live CD just nuke your install and start over.

Be sure not to do stupid things like "auto login". Literally the worst thing you can do on any pc.