Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 09:44:35 +0100
From:      Ruben de Groot <fbsd-q@bzerk.org>
To:        Roger Merritt <mcrogerm@stjohn.ac.th>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: vnc at start-up
Message-ID:  <20030130084435.GA16177@ei.bzerk.org>
In-Reply-To: <5.2.0.9.0.20030130091936.00a298d0@127.0.0.1>
References:  <5.2.0.9.0.20030130091936.00a298d0@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 30, 2003 at 09:27:42AM +0700, Roger Merritt typed:
> 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?

What about putting

PATH=${PATH}:/usr/X11R6/bin; export PATH

in your startup script?

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

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?20030130084435.GA16177>