<div dir="ltr">Hi Martin<div><br></div><div>Good point about the depth. I guess we should consider that.</div><div><br></div><div>Regarding -localhost, yes that is a good security practice. On the other hand this is nothing that is started by default, it is always started by a human (or a human writing a script for it) so it is not a very important thing.</div><div><br></div><div>However there are plenty of use-cases for connecting to local host. You can run applications in a chroot, you can have a different desktop session as another user in the vnc server, you can have that server running there with more important tasks that must survive in case you have to restart your desktop session and so on. So there are plenty of use-cases. However they may not be the most common ones of course.</div><div><br></div><div>// Ola</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 7:43 AM, Martin Dorey <span dir="ltr"><<a href="mailto:Martin.Dorey@hds.com" target="_blank">Martin.Dorey@hds.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm concerned why /etc/vnc.conf and /usr/bin/tigervncserver set a depth of 32.  Per man Xtigervnc, that will cause problems for applications, problems that I've just described in a little more detail at <a href="http://stackoverflow.com/a/37428300/18096" rel="noreferrer" target="_blank">http://stackoverflow.com/a/37428300/18096</a>.  I think it should be 24, a setting which doesn't prevent applications from using transparency.<br>
<br>
I'm also mildly bemused as to why /usr/bin/tigervncserver's default for -localhost is yes, again unlike the default for the underlying Xtigervnc.  I can imagine there being an argument that default security should be locked down.  Perhaps I'm just lacking in imagination as to why I might want to connect to localhost.<br>
<br>
> Getting the llvmpipe part to work was a challenge.  I failed on the first system I tried, which had an nvidia :0.<br>
<br>
In the perhaps unlikely event that there's anyone in the same boat, I succeeded with:<br>
<br>
sudo update-alternatives --set glx /usr/lib/mesa-diverted<br>
sudo update-initramfs -u<br>
<br>
... though I eventually went into production setting this before starting tigervncserver:<br>
<br>
LD_LIBRARY_PATH=/usr/lib/mesa-diverted/x86_64-linux-gnu:$LD_LIBRARY_PATH<br>
<br>
_______________________________________________<br>
Pkg-tigervnc-devel mailing list<br>
<a href="mailto:Pkg-tigervnc-devel@lists.alioth.debian.org">Pkg-tigervnc-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tigervnc-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tigervnc-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font face="courier new, monospace" size="1"> --------------------- Ola Lundqvist ---------------------------</font></div><div><font face="courier new, monospace" size="1">/  <a href="mailto:opal@debian.org" target="_blank">opal@debian.org</a>                     Folkebogatan 26          \</font></div><div><font face="courier new, monospace" size="1">|  <a href="mailto:ola@inguza.com" target="_blank">ola@inguza.com</a>                      654 68 KARLSTAD          |</font></div><div><font face="courier new, monospace" size="1">|  <a href="http://inguza.com/" target="_blank">http://inguza.com/</a>                  +46 (0)70-332 1551       |</font></div><div><font face="courier new, monospace" size="1">\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /</font></div><div><font face="courier new, monospace" size="1"> ---------------------------------------------------------------</font></div><div><br></div></div></div></div></div>
</div>