I'm trying to set up my Ubuntu machine to boot directly into the terminal without a graphical interface. I used the command `sudo systemctl set-default multi-user.target`, which worked initially. However, when I later attempted to launch my desktop environment using `startx`, it became incredibly slow and took forever just to open a terminal. I typically use GNOME. Are there alternative methods to achieve a terminal login on boot while still being able to access my GUI later? The terminal I got into wasn't very appealing either.
4 Answers
If you're looking for a system without a graphical environment, consider installing Ubuntu Server. It comes with a clean slate—no GUI at all, so it might suit your needs better.
You might want to try installing VirtualBox and set up a Debian system without a GUI. It can be a good way to experiment and see how it runs with just terminal access.
I think there's a little confusion here. You seem to want a GUI at some point. If you really just want console stuff, that's different. But it sounds like you might want to keep options open for graphical apps too.
Instead of messing with systemd settings, a simple solution is to log into TTY by pressing Ctrl-Alt-F1 to F6. When you want to return to your graphical interface, just hit Ctrl-Alt-F7, and you'll be right back to your GUI login.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures