Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 09:27:42 +0700
From:      Roger Merritt <mcrogerm@stjohn.ac.th>
To:        freebsd-questions@FreeBSD.ORG
Subject:   vnc at start-up
Message-ID:  <5.2.0.9.0.20030130091936.00a298d0@127.0.0.1>

next in thread | raw e-mail | index | archive | help
I've installed vnc from the ports and it works fine, but it's annoying to 
have to log on to my server and start the vncserver every time I want to 
connect from my desktop PC. One problem is my server has been randomly 
rebooting (I suspect hardware problems but ...), so I can't just leave the 
server running.

I tried putting a start-up script in /usr/local/etc/rc.d and it works, but 
in the vncserver script itself there is a loop which checks for the 
availability of commands, including xauth. Apparently during boot-up the 
PATH doesn't include /usr/X11R6/bin, so on boot-up one of the messages I 
get is 'vncserver: couldn't find "xauth" on your path' and the server isn't 
started.

Can anyone suggest what I should do to make this work?

-- 
Roger


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?5.2.0.9.0.20030130091936.00a298d0>