I am currently running Ubuntu 16.04 operating system. In order to experiment, I had asked for the way to login to Ubuntu CLI mode only (i.e. the GUI version must not start at all). In response to my question, I was suggested something like
sudo systemctl start lightdm.services
when I entered this command and restarted the system, it indeed worked and I was given a command line interface to login (No GUI element whatsoever; even the browser was not opening when I typed
Now, I want to go back to the GUI version again.
I typed the following command
sudo systemctl stop lightdm.services
and then restarted the system. The OS still opens in the CLI mode only. Is there anything wrong with my commands?
Kindly guide me.