From owner-freebsd-questions Thu Jan 30 2:17:48 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1068C37B401 for ; Thu, 30 Jan 2003 02:17:47 -0800 (PST) Received: from highland.isltd.insignia.com (highland.isltd.insignia.com [195.74.141.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 039CF43E4A for ; Thu, 30 Jan 2003 02:17:46 -0800 (PST) (envelope-from Jim.Hatfield@insignia.com) Received: from scorpio.isltd.insignia.com (scorpio.isltd.insignia.com [172.16.1.1]) by highland.isltd.insignia.com (8.12.6/8.12.6) with ESMTP id h0UAHd5x091545 for ; Thu, 30 Jan 2003 10:17:39 GMT (envelope-from Jim.Hatfield@insignia.com) Received: from exchange-uk.isltd.insignia.com (exchange-uk [172.16.1.6]) by scorpio.isltd.insignia.com (8.11.3/8.11.3) with ESMTP id h0UAHd123279 for ; Thu, 30 Jan 2003 10:17:39 GMT Received: by exchange-uk.isltd.insignia.com with Internet Mail Service (5.5.2653.19) id <3949HDMN>; Thu, 30 Jan 2003 10:17:38 -0000 Message-ID: <2F03DF3DDE57D411AFF4009027B8C3670289D726@exchange-uk.isltd.insignia.com> From: "local.freebsd.questions" To: "'freebsd-questions@freebsd.org'" Subject: Re: vnc at start-up Date: Thu, 30 Jan 2003 10:17:38 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 30 Jan 2003 02:28:19 -0000, mcrogerm@stjohn.ac.th (Roger Merritt) wrote: >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 starting it via xdm? Just add a line to the bottom of /usr/X11R6/lib/X11/xdm/Xservers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message