[Lxc-users] gui inside guest, startx can work?

Daniel Lezcano daniel.lezcano at free.fr
Sun Jan 31 23:24:43 UTC 2010

Andrea Conci wrote:
> It is possible to run and get working startx inside a container, I'm trying
> but the only way to have a window manager is: launch 'xinit' on host, export
> DISPLAY on guest and then execute gnome-session on guest.
The true is I never tried that :)

At the first glance I would say it's a complicated topic and that will 
need some investigations before answering. But if you create a container 
with the network isolation you won't be able to access to the X server 
via af_unix socket.

I am used to launch one X server on the host with the tcp_listen option 
and connect via tcp in a container.
I use the container for migrating application from one host to another 
host and it does not work with a X server, that would require some 
hardware virtualization and that's the job of a VM not a container.

More information about the lxc-users mailing list