Disabling Graphical Login on Home Server

I have a home server running Elementary OS that in turn based on Ubuntu LTS. Currently, I use Juno (version 5.0 of Elementary OS). It is still in beta as of this writing. My current home server runs on AMD A6-9500 CPU that is enough for my needs. It is a desktop server, housed on a big Cooler Master HAF XB cabinet. I’ve decided to switch my workplace to somewhere else (currently I work from home). I can’t take the whole cabinet with me. Of course, I have MacBook Air (2014). However, that’s too tiny to run multiple processes. Even if I open multiple tabs, its CPU starts to show its limit. So, my current plan is to switch to an Intel NUC Kit that I can carry along with MBA (MacBook Air), wherever I switch to, even it means an office within the same city. The problem is that Intel NUC Kit isn’t as good as a desktop. So, in optimize it, a lot of things needs to be done. At least, to save some memory, I’d like to disable graphical login. Here’s how it could be done…

sudo systemctl set-default multi-user.target
sudo reboot

If you’d like to get back to graphical login again, do the following…

sudo systemctl set-default graphical.target
sudo reboot

If you’ve disabled graphical login and if you’d like to use graphical only once, then you may start graphical login from console using the following command

sudo systemctl start graphical.target

Do you have any other tips to optimize a home server? Please share it in the comments below!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s