1388d85bfb
case we don't know the auth file. Use the '-auth guess' option to enable the x11vnc heuristic to find the correct file. While here, remove -display :0 which is the default. ok sthen@ (maintainer)
14 lines
258 B
Bash
Executable File
14 lines
258 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $OpenBSD: x11vnc.rc,v 1.9 2011/09/19 21:33:42 ajacoutot Exp $
|
|
|
|
daemon="${TRUEPREFIX}/bin/x11vnc"
|
|
daemon_flags="-localhost -logfile /var/log/x11vnc -ncache 0 -forever -loop100 -auth guess"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_bg=YES
|
|
rc_reload=NO
|
|
|
|
rc_cmd $1
|