odd question with /dev/tty

From: Tom Dymond (tom_at_kmem.org)
Date: 08/31/04

  • Next message: Ryan Sommers: "Periodic security"
    Date: Tue, 31 Aug 2004 19:16:05 -0000 (GMT)
    To: freebsd-current@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Ryan Sommers: "Periodic security"

    Relevant Pages

    • ssh/xterm/bash weirdness ... seeking for explanation
      ... Yesterday I've noticed some weirdness I don't know the reason ... When I open an xterm with a bash inside locally and then resize the ... When I log in via ssh, then those variables are _not_ automatically ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Problem using Xterm in Expect script
      ... I have written a script which will spawn an xterm and executes the ...
      (comp.unix.solaris)
    • Problem using Xterm in Expect script
      ... I have written a script which will spawn an xterm and executes the ...
      (comp.unix.shell)
    • How do you export an x-session in Fedora
      ... machine and is having no luck. ... xterm Xt error: Can't open display: localhost:0 ... _X11TransSocketINETConnect: Can't connect: errno = 111 ...
      (Fedora)
    • Re: change x-terminal-emulator
      ... >> Is there a reason for this or is it a bug? ... > reports that xterm is part of the virtual package x-terminal-emulator. ... a postinst-file doing it but not the xterm from Ubuntu. ...
      (Ubuntu)