From owner-freebsd-questions Wed Dec 18 17:32:23 2002 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 C58D537B401 for ; Wed, 18 Dec 2002 17:32:22 -0800 (PST) Received: from smtp08.wxs.nl (smtp08.wxs.nl [195.121.6.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48DB543EB2 for ; Wed, 18 Dec 2002 17:32:21 -0800 (PST) (envelope-from akruijff@dds.nl) Received: from cybertron.kruijff ([213.10.151.186]) by smtp08.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id H7CEXW03.HTA; Thu, 19 Dec 2002 02:32:20 +0100 Date: Thu, 19 Dec 2002 02:31:32 +0100 From: Alex X-Mailer: The Bat! (v1.62 Christmas Edition) Personal Reply-To: Alex X-Priority: 3 (Normal) Message-ID: <8913044647.20021219023132@dds.nl> To: Brian Cc: Questions FREEBSD Subject: Re[2]: VNC In-Reply-To: <20021212124239.F80956-100000@entwistle.sonicboom.org> References: <20021212124239.F80956-100000@entwistle.sonicboom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Dear/Beste Brian, Thursday, December 12, 2002, 9:45:27 PM, you wrote: > getting vnc to start at boot is tricky, since you want it to start as some > user, rather than as root. A solution I've been thinking of is looking at > the output os ps auxw, grepping for Xvnc owned by the desired user, if its > there exit, if not run vncserver as the user in question. Putting it in > cron with a /8 to check every 8 minutes seems a good idea. > Bri Wouldn't a command in a script 'su user' work? -- Best regards/Met vriendelijke groet, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message