Ubuntu – How to start X and Unity, without gdm

11.04

I installed Natty over my 10.10 that started in text mode. Before Natty, after booting, I run the graphical environment with startx and all was fine. Now, with Natty, if I run startx, the graphical environment starts without any gnome or unity menu!.

  • How do I start X and Unity, without a graphical login manager?

Thanks in advance.

Best Answer

Unity needs gdm to be able to start, so you need to start it:

service start gdm

or the good old:

/etc/init.d/gdm start

If you don't want to have to enter your credentials again you can either activate autologin in Gdm or switch the default session to classic in gdm. After login off and stopping gdm, startx should work again.

Related Question