From e70070598ed1527ec5f64adaf99de793b60f0792 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 9 Oct 2012 08:42:35 -0500
Subject: runitscripts: vnc service,  change dir to vncsvc home dir .  Without
 this all xterms opened up within the vnc session started in /service/vnc

---
 abs/core/runit-scripts/runitscripts/services/vnc/run | 1 +
 1 file changed, 1 insertion(+)

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
 
-- 
cgit v0.12

