Disable startx on Ubuntu

I was having an issue starting up my Ubuntu (installed on a VMware) on a command line instead of it's default Desktop. After some googling, I was able to solve my problem with these simple steps on how to disable startx.

First it is important you create a backup copy of your file.
$ cp /etc/X11/default-display-manager /etc/X11/default-display-manager.orig

Then replace it's content with false
$ cat false > /etc/X11/default-display-manager

Restart Ubuntu
$ shutdown -r t 1

Now your Ubuntu will start on a command line. To view your Desktop simply startup startx
$ startx

Comments

Popular posts from this blog

Remote Deployment with Ant and Rsync

Site Performance Enhancement