summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/vnc/run
blob: c621c2c44788294dcfbc3d2937e770c3f7417809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#set -x
exec 2>&1
export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
stat_runit "Starting vnc service"
geometry=1024x768
#. /etc/conf.d/vncserver 2>/dev/null

exec su vncsvc -c "/usr/bin/vncserver -fg -geometry $geometry :1"