Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2000 17:50:13 +0100
From:      John Murphy <bigotfo@bigfoot.com>
To:        questions@freebsd.org
Subject:   starting vncserver in /usr/local/etc/rc.d
Message-ID:  <Yp6iOYXgpG0UpqGNm%2BhY8lVgpyIC@4ax.com>

next in thread | raw e-mail | index | archive | help
I'm trying to get vncserver to start automatically at boot.

/root/.vnc/xstartup is:=20

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x34+0+0 -ls -title "$VNCDESKTOP Desktop" &
twm &

This works fine if I type vncserver after login, but with the
following script as vncserver.sh in /usr/local/etc/rc.d/

#!/bin/sh
/usr/X11R6/bin/vncserver
echo -n 'vncserver started'

I get: vncserver: couldn't find "xauth" on your PATH.

Is this going to be possible?

Thanks again,
John.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yp6iOYXgpG0UpqGNm%2BhY8lVgpyIC>