From: ludo@gnu.org (Ludovic Courtès)
To: Rutger Helling <rhelling@mykolab.com>
Cc: guix-devel@gnu.org
Subject: Re: Graphically isolating Guix containers with Xpra.
Date: Fri, 16 Feb 2018 17:55:46 +0100 [thread overview]
Message-ID: <87zi48lvql.fsf@gnu.org> (raw)
In-Reply-To: <20180216114753.0cd0d28b@mykolab.com> (Rutger Helling's message of "Fri, 16 Feb 2018 11:47:53 +0100")
Hello Rutger,
Rutger Helling <rhelling@mykolab.com> skribis:
> Here's a small tip for how you can create graphically isolated containers with Guix and Xpra.
>
> First we create a Xpra server, with no clipboard access.
> $ xpra start --clipboard=no :200
>
> Next we switch to an empty tmp directory, and start a Guix container that has access to the X200 socket only.
> $ cd tmp
> $ guix environment -C --ad-hoc coreutils gedit --expose=/home/$USER/.Xauthority --expose=/tmp/.X11-unix/X200 -- env DISPLAY=:200 XAUTHORITY=/home/$USER/.Xauthority gedit
>
> On a different terminal (or over SSH) you can now access the Xpra server.
> $ xpra attach :200
Nice trick!
Did you see the discussion at
<https://lists.gnu.org/archive/html/help-guix/2018-01/msg00056.html>?
This is something we could directly add to ‘guix run’ or similar.
Ludo’.
next prev parent reply other threads:[~2018-02-16 16:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 10:47 Graphically isolating Guix containers with Xpra Rutger Helling
2018-02-16 16:55 ` Ludovic Courtès [this message]
2018-02-19 12:02 ` Rutger Helling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zi48lvql.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=rhelling@mykolab.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.