From owner-freebsd-questions@FreeBSD.ORG Sun Jun 26 12:18:12 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 829BC16A41C for ; Sun, 26 Jun 2005 12:18:12 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61D0F43D53 for ; Sun, 26 Jun 2005 12:18:12 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout5.cac.washington.edu (8.13.4+UW05.04/8.13.4+UW05.05) with ESMTP id j5QCIBm3022517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 26 Jun 2005 05:18:11 -0700 Received: from [127.0.0.1] (cs331-34.spmodem.washington.edu [140.142.167.35]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.4+UW05.04/8.13.4+UW05.05) with ESMTP id j5QCHno7012891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 26 Jun 2005 05:17:51 -0700 Message-ID: <42BE9CDB.5040502@u.washington.edu> Date: Sun, 26 Jun 2005 05:17:31 -0700 From: Garrett Cooper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Quach References: <89415954050626001752c3c470@mail.gmail.com> In-Reply-To: <89415954050626001752c3c470@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Xvnc + inetd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 12:18:12 -0000 Ken Quach wrote: >I'm trying to turn FreeBSD5.4 into a 'terminal server' of sorts, >allowing users to VNC in to access various network related utilities. > >What I'm seeing is a gray screen when connecting into vnc, which I >know is indicative of not having a window manager set up. > >My question is when running xvnc through inetd, I can specify which >user to run it as. > >I've tried using root and nobody, as well as a 'vnc' user which I >created. In all cases it seems not to read the ~/.vnc/xstartup file as >I expect it would (e.g. /root/.xvnc/xstartup). > >I've followed various guides to ensure settings are correct but now I'm stumped. > >Various config files are below. Any ideas as to what else I need to change? > > > Uhm, why not just use kdm? It appears that all you need is a X[dm] login based server and you don't need Xvnc at all. Refer to ssh's information on X port forwarding and info on how to setup kdm properly. -Garrett