Posts

Showing posts from June, 2015

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 -

Enable ssh tunnel to home via systemd

# vi /usr/local/bin/vpntohome.sh     #!/bin/bash     su - vpntohome -c "screen -D -m /home/vpntohome/vpntohome" # chmod 700 /usr/local/bin/vpntohome.sh # vi /lib/systemd/system/vpntohome.service     [Unit]     Description=Start SSH tunnel to applesauce     After=syslog.target network.target sshd.service     [Service]     Type=simple     ExecStart=/usr/local/bin/vpntohome.sh     RestartSec=120     [Install]     WantedBy=multi-user.target # cd /etc/systemd/system/ # ln -s /lib/systemd/system/vpntohome.service vpntohome.service # systemctl daemon-reload # systemctl start vpntohome.service # systemctl enable vpntohome.service