From owner-freebsd-questions@FreeBSD.ORG Sun Jun 26 07:17:56 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 0D1AE16A41C for ; Sun, 26 Jun 2005 07:17:56 +0000 (GMT) (envelope-from duckeo@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFE1843D48 for ; Sun, 26 Jun 2005 07:17:55 +0000 (GMT) (envelope-from duckeo@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so167180wra for ; Sun, 26 Jun 2005 00:17:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iyuY0Cdfj2jpVxf4yrHCb0w/YqWa27jFc6DqZYKCj+gF9y+AXf6xNGD8kYxefemUz7QkFHUAtQQA5YDmdkN4ndCe4POtmRvNlSva8y9AQTC5XFkCEJFcrMqmWRtot/YWUtW5VNkXS/WcY7XKhfr2Hilx7rB3vGWbf+1DbCn2Ir0= Received: by 10.54.28.31 with SMTP id b31mr445872wrb; Sun, 26 Jun 2005 00:17:55 -0700 (PDT) Received: by 10.54.34.66 with HTTP; Sun, 26 Jun 2005 00:17:55 -0700 (PDT) Message-ID: <89415954050626001752c3c470@mail.gmail.com> Date: Sun, 26 Jun 2005 17:17:55 +1000 From: Ken Quach To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Xvnc + inetd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ken Quach List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 07:17:56 -0000 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 stu= mped. Various config files are below. Any ideas as to what else I need to change? --=20 /root/.vnc/xstartup: #!/bin/sh [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & kdm & --=20 /etc/inetd.conf (relevant line) vnc-1024x768x16 stream tcp nowait root /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -geometry 1024x768 -depth 16 -once I have also tried running it with tpcd --=20 /usr/local/share/config/kdm/kdmrc [Xdmcp] # Whether KDM should listen to incoming XDMCP requests. # Default is true Enable=3Dtrue # The UDP port on which KDM should listen for XDMCP requests. Do not change= . # Default is 177 Port=3D177 # File with the private keys of X-terminals. Required for XDM authenticatio= n.