xterm: no available ptys
Hello,
I have created a trimmed down /dev directory to be used with my custom bootable Linux CD. I've run into a problem where I can't start an xterm. I get the error...
xterm: no available ptys
I'm not sure which device I'm missing in /dev. I'm no expert on how the tty's and stuff work so feel free to fill me in. Everything else seems to work fine on the CD.
Here is what my /dev directory looks like now:
/dev:
console
cua0
cua1
cua2
cua3
fb
fb0
fb1
fb2
fb3
fb4
fb5
fb6
fb7
fd0
fd1
hda
hdb
hdc
hdd
kmem
listing
mem
mouse
null
psaux
pts
|...0
ram
ram0
ram1
ram2
ram3
ramdisk
scd0
scd1
scd2
scd3
scd4
scd5
scd6
scd7
tty
tty0
tty1
tty2
ttyp0
ttyp1
ttyp2
ttyp3
ttyp4
urandom
zero
Am I missing something?
Any help appreciated!
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one Place.
http://shopping.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
(ben@qwerty)-(12:52pm Mon Nov 6)-(/dev)
$ ls ptys* ptys0 ptys2 ptys4 ptys6 ptys8 ptysa ptysc ptyse ptys1 ptys3 ptys5 ptys7 ptys9 ptysb ptysd ptysf
-b
Quoted 75 lines · Paul Powell
Hello,
I have created a trimmed down /dev directory to be used with my custom bootable Linux CD. I've run into a problem where I can't start an xterm. I get the error...
xterm: no available ptys
I'm not sure which device I'm missing in /dev. I'm no expert on how the tty's and stuff work so feel free to fill me in. Everything else seems to work fine on the CD.
Here is what my /dev directory looks like now:
/dev:
console
cua0
cua1
cua2
cua3
fb
fb0
fb1
fb2
fb3
fb4
fb5
fb6
fb7
fd0
fd1
hda
hdb
hdc
hdd
kmem
listing
mem
mouse
null
psaux
pts
|...0
ram
ram0
ram1
ram2
ram3
ramdisk
scd0
scd1
scd2
scd3
scd4
scd5
scd6
scd7
tty
tty0
tty1
tty2
ttyp0
ttyp1
ttyp2
ttyp3
ttyp4
urandom
zeroAm I missing something?
Any help appreciated!
Quoted 8 lines
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one Place.
http://shopping.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 7 lines · Paul Powell
Hello,
I have created a trimmed down /dev directory to be used with my custom bootable Linux CD. I've run into a problem where I can't start an xterm. I get the error...
Quoted 6 lines
xterm: no available ptys
I'm not sure which device I'm missing in /dev. I'm no expert on how the tty's and stuff work so feel free to fill me in. Everything else seems to work fine on the CD.
Did you mount /dev/pts, which is usually done with a line in /etc/fstab:
none /dev/pts devpts gid=5,mode=0622 0 0
Signature · 8 lines
Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [email protected] phone: +1 978-486-9304 Non-work: [email protected] fax: +1 978-692-4482 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Followup to: <[email protected]> By author: Michael Meissner <[email protected]> In newsgroup: linux.dev.kernel
Quoted 5 lines
Did you mount
/dev/pts, which is usually done with a line in/etc/fstab:none
/dev/ptsdevpts gid=5,mode=0622 0 0
That should be gid=5,mode=0620 unless you *REALLY*, *REALLY* know what you're doing!!!! Arguably, that should actually be mode=0600, with user tty's then being required to chmod to 0620 if they want "mesg y" by default.
(gid 5 being the gid for group "tty".)
-hpa
Signature · 7 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 37 lines · Paul Powell
Hello,
I have created a trimmed down /dev directory to be used with my custom bootable Linux CD. I've run into a problem where I can't start an xterm. I get the error...
xterm: no available ptys
I'm not sure which device I'm missing in /dev. I'm no expert on how the tty's and stuff work so feel free to fill me in. Everything else seems to work fine on the CD.
Here is what my /dev directory looks like now:
/dev:
console
cua0
cua1
cua2
cua3
fb
fb0
fb1
fb2
fb3
fb4
fb5
fb6
fb7
fd0
fd1
hda
hdb
hdc
hdd
Quoted 8 lines
kmem
listing
mem
mouse
null
psaux
pts
|...0
I'm missing ptmx. You NEED a writable /dev/pts dir.
Igmar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Followup to: <[email protected]> By author: Igmar Palsenberg <[email protected]> In newsgroup: linux.dev.kernel
Quoted 3 lines
I'm missing ptmx. You NEED a writable
/dev/ptsdir.
Actually, what you need is the devpts filesystem mounted onto /dev/pts.
-hpa
Signature · 7 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 6 lines
Quoted 3 lines
I'm missing ptmx. You NEED a writable
/dev/ptsdir.Actually, what you need is the devpts filesystem mounted onto
/dev/pts.
Agree. I had a shitload of probs when 2.2.0 came out and I switched.. Was due that /dev was readonly here. Bit strange if I think of it.
Quoted 3 lines
-hpa
Igmar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 10 lines · Igmar Palsenberg
Quoted 6 lines
Quoted 3 lines
I'm missing ptmx. You NEED a writable
/dev/ptsdir.Actually, what you need is the devpts filesystem mounted onto
/dev/pts.Agree. I had a shitload of probs when 2.2.0 came out and I switched.. Was due that /dev was readonly here. Bit strange if I think of it.
If you don't have devpts mounted, glibc tries to use a setuid program to hack around /dev for you. I'd rather wish it didn't, actually.
-hpa
Signature · 7 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/