diff options
author | James Meyer <james.meyer@operamail.com> | 2012-10-09 13:42:35 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-10-09 13:42:35 (GMT) |
commit | e70070598ed1527ec5f64adaf99de793b60f0792 (patch) | |
tree | 93bd8039f73e9ad1201000f0c8b4cf756d2e1fed /abs/core/runit-scripts | |
parent | c00e80b01d3ac38e96d9d11961552acc671dc349 (diff) | |
download | linhes_pkgbuild-e70070598ed1527ec5f64adaf99de793b60f0792.zip linhes_pkgbuild-e70070598ed1527ec5f64adaf99de793b60f0792.tar.gz linhes_pkgbuild-e70070598ed1527ec5f64adaf99de793b60f0792.tar.bz2 |
runitscripts: vnc service, change dir to vncsvc home dir . Without this all xterms opened up within the vnc session started in /service/vnc
Diffstat (limited to 'abs/core/runit-scripts')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/vnc/run | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/vnc/run b/abs/core/runit-scripts/runitscripts/services/vnc/run index af53139..1c01371 100755 --- a/abs/core/runit-scripts/runitscripts/services/vnc/run +++ b/abs/core/runit-scripts/runitscripts/services/vnc/run @@ -10,5 +10,6 @@ stat_runit "Starting vnc service" 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 |