Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 have already created a number of LXC containers in my 12.04 machine. I need to run GUI applications inside them (mostly Firefox).

Is it correct to presume that it will work out of the box? If not, what do I need to do to make it work?

share|improve this question

Your lxc guest will need a desktop but whether or not a full ubuntu-desktop or not depends on your use. Then you might wanta means to access a desktop in the container (VNC, xfreerdp/xrdp, x2go). In my lxc containers I install x2go server then use an x2go client (mac, pc, linux) to log into the lxc desktop. x2go clients support unity, gnome others so you can choose.
Also, you may need/want to modify ssh default port etc for the container (/etc/ssh/sshd_config) to something other than default but that may mean you may need to make a change on your router firewall also.

share|improve this answer
one question; does x2go will use hardware/GPU acceleration to render the desktop or will it fallback to software/CPU? I need the desktop to be rendered with GPU, otherwise it won't work for my purposes – diffeomorphism Nov 7 '12 at 15:59

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.