How to disable GUI on boot in Ubuntu | Ubuntu Problems

It may be noted that by default Ubuntu is not having GUI. But still we need it for better working of some apps and features and also to provide them a workable environment. So, we generally install GUI while installing such features. Some of us might even don't know when they installed it, but as it caused some problem to a few users, then they might be searching for how to disable or uninstall GUI  from Ubuntu. So I am going to explain this:


To disable GUI from Ubuntu:

  1. Open terminal by Ctrl.+Alt+T
  2. Then enter following command
    sudo systemctl set-default multi-user.target
  3. Finally enter user password and proceed.

To enable GUI again in Ubuntu:

  1.  Open terminal
  2. Then enter following command in terminal
    sudo systemctl set-default graphical.target
  3. Finally enter user password

To start new GUI session use following command

sudo systemctl start gdm3.service
Thanks... If you face any problem feel free to contact us via comment box or at contact@madtrickz.com 
 
How to disable GUI on boot in Ubuntu | Ubuntu Problems How to disable GUI on boot in Ubuntu | Ubuntu Problems Reviewed by Sumit Bishnoi on February 13, 2020 Rating: 5

No comments:

Powered by Blogger.