* xterm: no available ptys
@ 2000-11-06 20:37 Paul Powell
2000-11-06 20:53 ` Ben Ford
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Paul Powell @ 2000-11-06 20:37 UTC (permalink / raw)
To: linux-kernel
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: xterm: no available ptys
2000-11-06 20:37 xterm: no available ptys Paul Powell
@ 2000-11-06 20:53 ` Ben Ford
2000-11-06 20:57 ` Michael Meissner
2000-11-07 0:57 ` Igmar Palsenberg
2 siblings, 0 replies; 8+ messages in thread
From: Ben Ford @ 2000-11-06 20:53 UTC (permalink / raw)
To: Paul Powell; +Cc: linux-kernel
(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
Paul Powell wrote:
> 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: xterm: no available ptys
2000-11-06 20:37 xterm: no available ptys Paul Powell
2000-11-06 20:53 ` Ben Ford
@ 2000-11-06 20:57 ` Michael Meissner
2000-11-06 22:04 ` H. Peter Anvin
2000-11-07 0:57 ` Igmar Palsenberg
2 siblings, 1 reply; 8+ messages in thread
From: Michael Meissner @ 2000-11-06 20:57 UTC (permalink / raw)
To: Paul Powell; +Cc: linux-kernel
On Mon, Nov 06, 2000 at 12:37:38PM -0800, Paul Powell wrote:
> 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.
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
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: xterm: no available ptys
2000-11-06 20:57 ` Michael Meissner
@ 2000-11-06 22:04 ` H. Peter Anvin
0 siblings, 0 replies; 8+ messages in thread
From: H. Peter Anvin @ 2000-11-06 22:04 UTC (permalink / raw)
To: linux-kernel
Followup to: <20001106155755.A4096@munchkin.spectacle-pond.org>
By author: Michael Meissner <meissner@spectacle-pond.org>
In newsgroup: linux.dev.kernel
>
> 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
>
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
--
<hpa@transmeta.com> at work, <hpa@zytor.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: xterm: no available ptys
2000-11-06 20:37 xterm: no available ptys Paul Powell
2000-11-06 20:53 ` Ben Ford
2000-11-06 20:57 ` Michael Meissner
@ 2000-11-07 0:57 ` Igmar Palsenberg
2000-11-07 0:28 ` H. Peter Anvin
2 siblings, 1 reply; 8+ messages in thread
From: Igmar Palsenberg @ 2000-11-07 0:57 UTC (permalink / raw)
To: Paul Powell; +Cc: linux-kernel
On Mon, 6 Nov 2000, Paul Powell wrote:
> 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
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: xterm: no available ptys
2000-11-07 0:57 ` Igmar Palsenberg
@ 2000-11-07 0:28 ` H. Peter Anvin
2000-11-08 0:32 ` Igmar Palsenberg
0 siblings, 1 reply; 8+ messages in thread
From: H. Peter Anvin @ 2000-11-07 0:28 UTC (permalink / raw)
To: linux-kernel
Followup to: <Pine.LNX.4.21.0011070157010.30406-100000@server.serve.me.nl>
By author: Igmar Palsenberg <maillist@chello.nl>
In newsgroup: linux.dev.kernel
>
> I'm missing ptmx. You NEED a writable /dev/pts dir.
>
Actually, what you need is the devpts filesystem mounted onto
/dev/pts.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: xterm: no available ptys
2000-11-07 0:28 ` H. Peter Anvin
@ 2000-11-08 0:32 ` Igmar Palsenberg
2000-11-08 2:24 ` H. Peter Anvin
0 siblings, 1 reply; 8+ messages in thread
From: Igmar Palsenberg @ 2000-11-08 0:32 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-kernel
> > I'm missing ptmx. You NEED a writable /dev/pts dir.
> >
>
> 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.
>
> -hpa
>
Igmar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: xterm: no available ptys
2000-11-08 0:32 ` Igmar Palsenberg
@ 2000-11-08 2:24 ` H. Peter Anvin
0 siblings, 0 replies; 8+ messages in thread
From: H. Peter Anvin @ 2000-11-08 2:24 UTC (permalink / raw)
To: Igmar Palsenberg; +Cc: H. Peter Anvin, linux-kernel
Igmar Palsenberg wrote:
>
> > > I'm missing ptmx. You NEED a writable /dev/pts dir.
> > >
> >
> > 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
--
<hpa@transmeta.com> at work, <hpa@zytor.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2000-11-08 2:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-06 20:37 xterm: no available ptys Paul Powell
2000-11-06 20:53 ` Ben Ford
2000-11-06 20:57 ` Michael Meissner
2000-11-06 22:04 ` H. Peter Anvin
2000-11-07 0:57 ` Igmar Palsenberg
2000-11-07 0:28 ` H. Peter Anvin
2000-11-08 0:32 ` Igmar Palsenberg
2000-11-08 2:24 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox