summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/vnc
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-09-30 14:11:30 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-09-30 14:11:30 (GMT)
commitf334e5d80b50663dc514f1a1c2596d5168bb9f33 (patch)
treeb3d47de618b0bbc87f9397ea4ed023b160d4aaef /abs/core/runit-scripts/runitscripts/services/vnc
parent70481ff5f43678e06b12f2c611042e5c8f35d637 (diff)
downloadlinhes_pkgbuild-f334e5d80b50663dc514f1a1c2596d5168bb9f33.zip
linhes_pkgbuild-f334e5d80b50663dc514f1a1c2596d5168bb9f33.tar.gz
linhes_pkgbuild-f334e5d80b50663dc514f1a1c2596d5168bb9f33.tar.bz2
runit-scripts: change frontend and vnc to start usingg su
runit can't term processes run with sudo and the -i option
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/vnc')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/vnc/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/vnc/run b/abs/core/runit-scripts/runitscripts/services/vnc/run
index bc411b1..b67d174 100755
--- a/abs/core/runit-scripts/runitscripts/services/vnc/run
+++ b/abs/core/runit-scripts/runitscripts/services/vnc/run
@@ -11,5 +11,5 @@ geometry=1024x768
#. /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 sudo -u vncsvc -i /usr/bin/vncserver -fg -geometry $geometry :1 2>/var/log/vnc.log
+exec su vncsvc -c "/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