If you’re having trouble starting X.Org in Ubuntu, there are a few things you can do to try and fix the problem. First, make sure that your system has the latest updates installed. If not, install them now. Next, check to see if X.Org is installed on your system. If it isn’t, you can install it using the following command: sudo apt-get install xorg xserver-xorg You may also need to enable the graphical interface in your computer’s settings. To do this, open up a terminal window and type: sudo dpkg-reconfigure xserver-xorg After doing this, restart your computer to apply the changes. If all of these steps fail to fix the problem, you may need to reinstall Ubuntu entirely. ..


The only reason to do this instead of removing the packages would be because you might want to still sometimes use the box through the GUI.

Disable X.Org

In order to disable the graphical environment, we’ll need to disable GDM, the Gnome Display Manager. In order to do this, you’ll need to run the following command at the terminal:

When you restart your computer, you’ll be presented with a text-mode login prompt instead of the graphical environment.

Run X.Org While Disabled

If you want to run the graphical environment, all you have to do is type the following command from the prompt, making sure to run it as your normal user account.

The annoying gray screen will go away once Gnome is fully started.

Enable X.Org

If you want to re-enable X11 it’s a simple matter of running this command from the terminal:

When you restart, you’ll be presented with the graphical prompt again.