[lxc-users] Running unprivileged gui container in Arch Linux

Veer Singh veer.chah at gmail.com
Sun Aug 10 04:05:18 UTC 2014


lxc-users at lists.linuxcontainers.org

Hello ,

I am running a unprivileged container (as shown here :
https://www.stgraber.org/2014/02/09/lxc-1-0-gui-in-containers/   ) in host
Arch Linux (amd64) and template is precise-gui (amd64 version) downloaded
as given in above link.

I am able to run this unprivileged container as normal user , but I am
unable to run any gui from it . When I try to run firefox from the
container I get following error :

lxc-attach --clear-env -n precise-gui -- sudo -u ubuntu -i DISPLAY=$DISPLAY
firefox
No protocol specified
No protocol specified
No protocol specified
No protocol specified
Error: cannot open display: :0

I am able to do all cmd line stuff in container but not gui.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140810/7a9403c2/attachment.html>


More information about the lxc-users mailing list