[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Question on /dev/pty*



Title: Message
Resending this as I have made no further progress and nobody had any ideas as to why I have no pty devices that work in ES4.
 
Anyone?
 
Thanks,
 
Kevin
-----Original Message-----
From: nahant-list-bounces redhat com [mailto:nahant-list-bounces redhat com] On Behalf Of Collins, Kevin (MindWorks)
Sent: Thursday, June 30, 2005 5:17 PM
To: nahant-list redhat com
Subject: Question on /dev/pty*

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]