VirtualGL on Fedora 21



It isn't generating the key so the xauth merge fails
This link fixes paths, and I think might be relevant for my problem
https://github.com/chenxiaolong/Fedora-SRPMS/blob/master/VirtualGL/fix-paths-in-vglgenkey.patch

diff -Nru VirtualGL-2.3.orig/server/vglgenkey VirtualGL-2.3/server/vglgenkey--- VirtualGL-2.3.orig/server/vglgenkey 2012-02-25 00:12:07.913553458 -0500+++ VirtualGL-2.3/server/vglgenkey 2012-02-25 00:23:01.450462350 -0500@@ -1,17 +1,14 @@ #!/bin/sh XAUTH=xauth-if [ -x /usr/X11R6/bin/xauth ]; then- XAUTH=/usr/X11R6/bin/xauth+if [ -x /usr/bin/xauth ]; then+ XAUTH=/usr/bin/xauth fi-if [ -x /usr/openwin/bin/xauth ]; then- XAUTH=/usr/openwin/bin/xauth+if [ ! -d /etc/VirtualGL ]; then+ mkdir -p /etc/VirtualGL fi-if [ ! -d /etc/opt/VirtualGL ]; then- mkdir -p /etc/opt/VirtualGL+if [ -f /etc/VirtualGL/vgl_xauth_key ]; then+ rm /etc/VirtualGL/vgl_xauth_key fi-if [ -f /etc/opt/VirtualGL/vgl_xauth_key ]; then- rm /etc/opt/VirtualGL/vgl_xauth_key-fi-$XAUTH -f /etc/opt/VirtualGL/vgl_xauth_key generate $DISPLAY . trusted timeout 0 ||- $XAUTH -f /etc/opt/VirtualGL/vgl_xauth_key add $DISPLAY . `xauth list | awk '{print $3}'`-chmod 644 /etc/opt/VirtualGL/vgl_xauth_key+$XAUTH -f /etc/VirtualGL/vgl_xauth_key generate $DISPLAY . trusted timeout 0 ||+ $XAUTH -f /etc/VirtualGL/vgl_xauth_key add $DISPLAY . `xauth list | awk '{print $3}'`+chmod 644 /etc/VirtualGL/vgl_xauth_key

update: 
I was wrong about the source of the problem as I had misread the script. It sets it correctly.
Turns out this is a selinux problem which I am still trying to get the right settings to fix.
However a work around is to
sudo systemctl status gdm.service
for the path to the gdm Xorg server's xauth.
Then
sudo xauth -f <that file path> list
put this in your .Xauthority
Now I can run Glx apps in my Vnc session.
FTW.









Comments

Popular posts from this blog

YAML Syntax Highlighting in gedit

Xubuntu Home Server on Dell XPS 13 9370

Working through the golang tour