[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Container howto for X11?

From: Thompson, David
Subject: Re: Container howto for X11?
Date: Sun, 3 Jul 2016 18:12:07 -0400

On Sun, Jul 3, 2016 at 2:40 PM, Pjotr Prins <address@hidden> wrote:
> Is there a container howto for X11 applications? I would like to run
> the browser in a Guix container. Fun with a serious note.

If you share the X11 socket file and set $DISPLAY to the right value,
then you should be able to make that happen:

    guix environment --container --network --share=/tmp/.X11-unix
--ad-hoc icecat
    export DISPLAY=":0.0"

Do note that the above code gives icecat full access to the X11 server
and the host's network interfaces, so it's not exactly a locked down

Perhaps we could use a command line switch to automatically do this
sort of thing.

- Dave

reply via email to

[Prev in Thread] Current Thread [Next in Thread]