From owner-freebsd-questions Thu Jan 30 5:27:44 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 2BCE837B401 for ; Thu, 30 Jan 2003 05:27:43 -0800 (PST) Received: from mail1.uits.uconn.edu (mail1.uits.uconn.edu [137.99.25.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB0D943F43 for ; Thu, 30 Jan 2003 05:27:36 -0800 (PST) (envelope-from matt@forsetti.com) Received: from [137.99.80.149] (d80h149.public.uconn.edu [137.99.80.149]) by mail1.uits.uconn.edu (8.11.6/8.11.6) with ESMTP id h0UDR3705769; Thu, 30 Jan 2003 08:27:04 -0500 Subject: Re: vnc at start-up From: Matt Smith To: Roger Merritt Cc: freebsd-questions@FreeBSD.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> Content-Type: text/plain Organization: Message-Id: <1043933222.34410.3.camel@d80h149.public.uconn.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 30 Jan 2003 08:27:02 -0500 Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1, required 6, AWL, IN_REP_TO, QUOTED_EMAIL_TEXT, REFERENCES, SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01) 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 Try this: http://www.dei.isep.ipp.pt/~andre/extern/ixvnc.htm The newest versions of XVnc have the patch built in. Effectively, this allows a XVnc session to be launced via inetd, and upon initial connection you are presented with a [XKG]DM login screen. You can even configure the web component to do the same. And, with some clever SSH tunnels created on bootup, you can encrypt your VNC session. -Matt On Wed, 2003-01-29 at 21:27, 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? -- Matt Smith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message