Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've launched an Ubuntu 11.10 instance (oneiric-server-cloudimg-amd64-disk1.img downloaded from here) inside of KVM, with VNC enabled. I can connect to the instance using VNC, and I see a login prompt.

I'd like to be able to use this VNC connection to show an X session instead of a text prompt. What do I need to install/configure so that this VNC session exposed through KVM shows an X11 session?

(Note that I can successfully switch between tty[1-6] by doing Ctl-Alt-F#).

share|improve this question
up vote 1 down vote accepted

One way to do it is to install lightdm and unity-2d:

apt-get install lightdm unity-2d
service lightdm start

The KVM vnc will then default to the login page, which is X-based.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.