Search This Blog

2017-07-31

turning off the desktop manager

# In order to make text boot the default under systemd
# (regardless of which distro, really)...

# as root...

systemctl set-default multi-user.target

# To change back to booting to the GUI, use...

# systemctl set-default graphical.target

# ----------------------------
# to start X automatically after login at the first console

# as your user...
# add a line to ~/.bashrc or ~/.bash_aliases

echo '[[ `tty` == "/dev/tty1" ]] && startx' >> ~/.bash_aliases

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.