From owner-freebsd-questions@FreeBSD.ORG Fri May 2 22:26:34 2003 Return-Path: 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 2F29A37B401 for ; Fri, 2 May 2003 22:26:34 -0700 (PDT) Received: from fed1mtao05.cox.net (fed1mtao05.cox.net [68.6.19.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F47443FDD for ; Fri, 2 May 2003 22:26:33 -0700 (PDT) (envelope-from tom@openadventures.org) Received: from openadventures.org ([68.2.175.193]) by fed1mtao05.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030503052631.OWDU1868.fed1mtao05.cox.net@openadventures.org> for ; Sat, 3 May 2003 01:26:31 -0400 Message-ID: <3EB352FE.9070105@openadventures.org> Date: Fri, 02 May 2003 22:26:22 -0700 From: Tom Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem starting VNCServer at boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 05:26:34 -0000 ENVIRONMENT FreeBSD 4.8-STABLE TightVNC 1.2.8 PROBLEM Getting error: "Starting local daemons:vncserver: couldn't find "xauth" on your PATH." SITUATION I installed tightvnc-1.2.8 from the port collection and configure /etc/rc.local to start a vncserver for a specific user at startup using the following command: su -c "/usr/X11R6/bin/vncserver :1 -depth 8 -geometry 800x600" When this tries to start at boot up I get the above error. If I start it from the command line it works fine. This sounds like an issue with the defined PATH at bootup but I've not been able to find anything explaining how to define this PATH in the FreeBSD handbook or otherwise.