I have disabled X server on my machine (16.04), but now I want to do a roll back to old settings. I dont want to start lightdm service in every login. Can you help me to automize it?
I was able to restore the default Ubuntu 16.10 settings after applying the commands from this post (
sudo systemctl enable multi-user.target --force and
sudo systemctl set-default multi-user.target).
The solution is to run:
sudo systemctl set-default graphical.target
I was able to deduce it from running
systemctl get-default on an unmodified Ubuntu.