Hi,
I've just installed my first RH EL4 system (been working with EL3 and RH9). After starting up VNC, I tried to open a wterm window (I've installed a Wterm RPM), and the window closes. After using "strace" to trace the problem, I saw that it was looking for all /dev/pty* devices and getting "ENOENT".
My first question is why are there no PTY devices after install of EL4?
Next, I used "/sbin/MAKEDEV ptyp" to create the device files ptyp0-ptypf. I tried to start wterm again. Same basic result but now I see:
open("/dev/ptyp0",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp1",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp2",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp3",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp4",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp5",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp6",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp7",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp8",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyp9",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptypa",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptypb",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptypc",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptypd",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptype",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptypf",
O_RDWR)
= -1 ENXIO (No such device or address)
open("/dev/ptyq0",
O_RDWR)
= -1 ENOENT (No such file or directory)
open("/dev/ptyq1",
O_RDWR)
= -1 ENOENT (No such file or directory)
....
Any ideas? I can open an xterm, but using strace shows me that it is opening /dev/tty and /dev/ptym...
Thanks,
Kevin