diff options
-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 |