summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-06-08 17:23:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-06-08 17:23:26 (GMT)
commit39939b77f5be04020bce74f1d4aaf7bb5d0c4c00 (patch)
tree515f3e4d1d577d9827d86c4f1473bb0184772165 /abs/core/runit-scripts/runitscripts
parentf8d1d319d2e5d53c26624adab41f02747c502f14 (diff)
downloadlinhes_pkgbuild-39939b77f5be04020bce74f1d4aaf7bb5d0c4c00.zip
linhes_pkgbuild-39939b77f5be04020bce74f1d4aaf7bb5d0c4c00.tar.gz
linhes_pkgbuild-39939b77f5be04020bce74f1d4aaf7bb5d0c4c00.tar.bz2
runit-scripts: vnc/run: force LD_LIBRARY_PATH so that mesa libGL is used instead of nvidia so that opengl apps will run
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/vnc/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/vnc/run b/abs/core/runit-scripts/runitscripts/services/vnc/run
index c168251..70118cc 100755
--- a/abs/core/runit-scripts/runitscripts/services/vnc/run
+++ b/abs/core/runit-scripts/runitscripts/services/vnc/run
@@ -11,5 +11,5 @@ geometry=1920x1080
#. /etc/conf.d/vncserver 2>/dev/null
cp -f $MV_ROOT/templates/vnc.service /etc/avahi/services/vnc.service 2>/dev/null
cd ~vncsvc
-exec su vncsvc -c "/usr/bin/vncserver -fg -geometry $geometry :1" 2>/var/log/vnc.log
+exec su vncsvc -c "LD_LIBRARY_PATH=/usr/lib /usr/bin/vncserver -fg -geometry $geometry :1" 2>/var/log/vnc.log
#exec sudo -u vncsvc -i /usr/bin/vncserver -fg -geometry $geometry :1 2>/var/log/vnc.log