No downsides. As a matter of fact, TurboVNC makes that easier for you.
You can simply pass '-vgl -wm xfce' to /opt/TurboVNC/bin/vncserver, or set
$useVGL = 1;
$wm = "xfce";
in turbovncserver.conf (under /etc for system-wide or ~/.vnc for
per-user). The -wm argument/$wm variable correspond to a session
desktop file under /usr/share/xsessions. In the case of Xfce, the
session desktop file does nothing but run startxfce4, but other window
managers (e.g. GNOME) sometimes have additional arguments or environment
variables embedded in their session desktop files, so using -wm/$wm is
the preferred way to start a window manager these days.
/opt/TurboVNC/bin/xstartup.turbovnc should take care of all of the
mechanics automatically. Also, you should use xstartup.turbovnc rather
than overriding the X startup script, because xstartup.turbovnc sets up
a separate D-Bus session bus instance for each TurboVNC session. (Some
window managers, such as GNOME and MATE, need that in order to run
multiple simultaneous sessions.)
All window managers listed here:
https://turbovnc.org/Documentation/Compatibility30
have been tested both with and without VirtualGL.
DRC
On 9/6/24 7:21 AM, Paul Melis wrote:
Hi, I saw this handy tip somewhere, to start the desktop environment
within a VNC server under vglrun, e.g. `-xstartup "vglrun xfce4"` when
using TurboVNC with XFCE. This avoids the user within the VNC session
to have to use vglrun for OpenGL apps, but I'm wondering if there's
downsides to this approach that I might be missing.
Paul
--
You received this message because you are subscribed to the Google
Groups "VirtualGL User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/virtualgl-users/cdb4028a-fbfe-4e61-b890-d663a8beefebn%40googlegroups.com
<https://groups.google.com/d/msgid/virtualgl-users/cdb4028a-fbfe-4e61-b890-d663a8beefebn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "VirtualGL
User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/virtualgl-users/ed508ce1-059b-404b-b299-2cfee440929c%40virtualgl.org.