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

Andrea Conci cionki86 at gmail.com
Wed Jan 27 09:32:42 UTC 2010


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.

startx fail on guest, what are needed for get it working(if is possible)?
This is the Xorg.0.log http://pastebin.com/fb49b4a4
My guest is a debian 5 stable system
This is the configuration file used for "lxc-create":

lxc.utsname = deepthought
lxc.tty = 12
lxc.pts = 1024
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.name = eth0
lxc.network.mtu = 1500
lxc.mount = lxc.fIwTn16YJM
lxc.cgroup.devices.deny = a
# /dev/null and zero
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
# consoles
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
lxc.cgroup.devices.allow = c 4:* rwm
lxc.cgroup.devices.allow = c 5:* rwm
# /dev/{,u}random
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm
# rtc
lxc.cgroup.devices.allow = c 254:0 rwm
# agpgart
lxc.cgroup.devices.allow = c 10:175 rwm


Thanks,
Andrea Conci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20100127/76a1e838/attachment.html>


More information about the lxc-users mailing list