summaryrefslogtreecommitdiffstats
path: root/abs
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
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')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/vnc/run2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 96959be..1c4c342 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=8.4
-pkgrel=4
+pkgrel=5
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license=('BSD')
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