From owner-freebsd-current@FreeBSD.ORG Tue Aug 31 19:16:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B88C16A4CE for ; Tue, 31 Aug 2004 19:16:10 +0000 (GMT) Received: from viefep19-int.chello.at (viefep11-int.chello.at [213.46.255.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 105B143D31 for ; Tue, 31 Aug 2004 19:16:09 +0000 (GMT) (envelope-from tom@kmem.org) Received: from shuttle.kmem.org ([213.245.62.139]) by viefep19-int.chello.atSMTP <20040831191607.GRIS19938.viefep19-int.chello.at@shuttle.kmem.org> for ; Tue, 31 Aug 2004 21:16:07 +0200 Received: (qmail 67712 invoked by uid 6003); 31 Aug 2004 19:16:06 -0000 Received: from tom@kmem.org by j2.kmem.org by uid 89 with qmail-scanner-1.22-st-qms (clamdscan: 0.73. spamassassin: 2.63. Clear:RC:1(192.168.1.13):. Processed in 0.844325 secs); 31 Aug 2004 19:16:06 -0000 X-Antivirus-MYDOMAIN-Mail-From: tom@kmem.org via j2.kmem.org X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(192.168.1.13):. Processed in 0.844325 secs Process 67707) Received: from j2.kmem.org (HELO webmail.kmem.org) (192.168.1.13) by shuttle.kmem.org with SMTP; 31 Aug 2004 19:16:05 -0000 Received: from 83.146.61.204 (SquirrelMail authenticated user tom@kmem.org) by j2.kmem.org with HTTP; Tue, 31 Aug 2004 19:16:05 -0000 (GMT) Message-ID: <2215.83.146.61.204.1093979765.squirrel@j2.kmem.org> Date: Tue, 31 Aug 2004 19:16:05 -0000 (GMT) From: "Tom Dymond" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: odd question with /dev/tty X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: tom@kmem.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 19:16:10 -0000 Hello group I've got a strange problem on this machine : FreeBSD bat.xxx.xxx.org 5.3-BETA2 FreeBSD 5.3-BETA2 #0: Mon Aug 30 19:03:00 BST 2004 tom@xxx.xxx.org:/usr/obj/usr/src/sys/GENERIC i386 On this machine i installed a few jails, each jail has it's own root, procfs, devfs so the typical jail is like this : /dev/ad0s3f 4.8G 546M 3.9G 12% /usr/jails/j3 procfs 4.0K 4.0K 0B 100% /usr/jails/j3/proc devfs 1.0K 1.0K 0B 100% /usr/jails/j3/dev I installed vncserver from ports along with xorg to give users a graphical workspace I installed blackbox windowmanager from ports I launch vncserver after modifying my xstartup script and it powers up blackbox with a xterm. but impossible to open another xterm from the blackbox menu... it doesn't do anything nor produce any output, so i look in the I first think of maybe the $PATH wasn't set correctly so i modified the menu so it uses the absolute path, but that didn't change anything and on the initial xterm, i did a quick echo $PATH which reported this : 19:53|tom@bat:~/.vnc> echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/tom/bin 19:57|tom@bat:~/.vnc> which xterm /usr/X11R6/bin/xterm So i checked the VNC log, and saw this cat $HOME/.vnc/`hostname`:1.log xterm: Error 14, errno 2: No such file or directory Reason: spawn: open() failed on /dev/tty xterm: Error 14, errno 2: No such file or directory Reason: spawn: open() failed on /dev/tty xterm: Error 14, errno 2: No such file or directory Reason: spawn: open() failed on /dev/tty xterm: Error 14, errno 2: No such file or directory Reason: spawn: open() failed on /dev/tty xterm: Error 14, errno 2: No such file or directory Reason: spawn: open() failed on /dev/tty Thanks in advance for *any* help on this. -tom