<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 22/07/16 18:31, Fajar A. Nugraha
wrote:<br>
</div>
<blockquote
cite="mid:CAG1y0se+Y3rfYsnYvkRL4RENG4bKjZe5B8rLmy7z7ywop+AuJA@mail.gmail.com"
type="cite">
<pre wrap="">On Fri, Jul 22, 2016 at 4:33 AM, rob e <a class="moz-txt-link-rfc2396E" href="mailto:redgerhoo@yahoo.com.au"><redgerhoo@yahoo.com.au></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">thanks Brian,
yes, I have about 4 of those running - unprivileged :) And I've had a go
with TigerVNC (which supports 3d capabilities currently lacking in X2Go).
I can run current versions of KDE and Unity on Xephyr, which I currently
cannot with X2Go
</pre>
</blockquote>
<pre wrap="">
3d support is kinda weird with virtual displays. At least so in xrdp:
- xrdp is supposed to support remotefx which 'allows the end user to
work remotely in a Windows Aero desktop environment, watch videos and
run 3-D applications with performance that is close to a native
desktop experience' when enabled and configured correctly (i.e. you
have certain libraries, and enable certain configure switches). IIRC
there was a compile error last time I tried enabling it (long time
ago, memory kinda hazy)
- the default vnc display supports 3d (at least glxgears run), but
does not support text copy-paste
- x11rdp support text copy-paste, but does not support 3d
- xrdp's xorg module supports 3d and text copy-paste, but somehow
breaks autologin (when user/password saved by windows)
I wonder if your tigervnc solution properly support text copy-paste
between local and remote desktop.
</pre>
<blockquote type="cite">
<pre wrap="">
But for this use case, I want desktop integration from an unprivileged
container. I have achieved it with LXC on Ubuntu 16.04... but was hoping to
be able to use LXD. It feels like I'm so close ... just missing something,
probably quite trivial once you know how ... I wish i knew how
</pre>
</blockquote>
<pre wrap="">
IIRC you can NOT have custom uid mappings in lxd. It's either
privileged, or use-the-same-unprivileged-mapping-for-all-containers.
The workaround would PROBABLY be (untested) to have an unpriv user in
the CONTAINER (e.g. uid 100 in the container, which translates to uid
100100 in the host), then manually create a user with uid 100100 in
the HOST (e.g "unpriv_user"), grant the necessary privilege to it
(i.e. make it so that the user can login to the host, start GUI
including pulseaudio, and so on), and redo your setup. So you can skip
the specific-user-mapping step.
</pre>
</blockquote>
thanks Fajar,<br>
TigerVNC works with Xenial's standard version of KDE (Plasma 5)
whereas X2Go will not. I use KRDC on the host to access TigerVNC
running on the container and it works nicely. And Tigervnc supports
copy and paste (I just checked it).<br>
<br>
I do have user mappings on LXD, that's how I run myth backend in a
container, accessing a mount from the host. See this post
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p style="margin-bottom: 0cm; line-height: 100%"><a
href="https://gist.github.com/bloodearnest/ebf044476e70c4baee59c5000a10f4c8"><a class="moz-txt-link-freetext" href="https://gist.github.com/bloodearnest/ebf044476e70c4baee59c5000a10f4c8">https://gist.github.com/bloodearnest/ebf044476e70c4baee59c5000a10f4c8</a></a></p>
Use the code on that page to create a new profile. Then create a
container with the profile eg. "lxc init <container-name> -p
<your-id> -p default". I had a little trouble where profiles
could become "disconnected" from the container so I now edit the
container config to reflect the profile entries (which is why I use
"init" rather than "launch"). And I don't map my home directory into
the container, map other mounts instead.<br>
<br>
<title></title>
<meta name="generator" content="LibreOffice 5.1.4.2 (Linux)">
<style type="text/css">
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120% }
a:link { so-language: zxx }
</style>This is working very well for me.<br>
<br>
</body>
</html>