From: Ernesto Vieira Neto <ernesto@feg.unesp.br>
To: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>,
axp-list@redhat.com
Subject: Re: Problems with X Window
Date: Wed, 27 Oct 1999 11:22:11 -0200 [thread overview]
Message-ID: <3816FC82.24F92BF0@feg.unesp.br> (raw)
In-Reply-To: 199910261931.NAA02857@ellpspace.math.ualberta.ca
Hi Michael, my terminals are working properly now. I did
chmod o+w /dev/ptmx
and all the users can get kvt and others terminals.
The problem seems that somehow when the users start the X, it don't pass the
property of ptmx to the users. I don't know how to do it in a bealty way, so
I did it on the hard way.
Thank you very much. The users was trying to kill me, now I can breth for a
while.
Ernesto.
Michal Jaegermann wrote:
> > none /dev/pts devpts mode=0622 0 0
> ^^^^^^^
> >
> > so, I haven't any ptys
> >
>
> Well, yes, you do. You should have 'devpts' mounted on /dev/pts.
> Check by typing 'mount'.
>
> >
> > When I strace kvt I have a lot of numbers, but the last lines is
> > interesting:
> >
> >
> > open("/dev/ptmx", O_RDWR) = -1 EACCES (Permission denied)
> ^^^^^^
> This seems to be the problem. This is "pseudo-tty multiplexer".
> It should be a node of with (major,minor) 5,2 and 666 permissions.
> It creates a new node in /dev/pts/ directory and is passing that
> to an application. glibc2, as opposed to glibc2.1, behaves
> differently here and is NOT using /dev/ptmx or /dev/pts/.
>
> > write(2, "kvt: ", 5) = 5
> > write(2, "Can\'t open a pseudo teletype", 28) = 28
>
> Figures. Root apparently gets a terminal anyway, but other
> users are screwed.
>
> >
> > The user have no permision on /dev/ptmx. Do you how can I change this
> > thing.
>
> With 'chmod'. Your /dev/MAKEDEV file should list proper permissions
> for that one.
>
> > Do I have to put it on /etc/fstab?
>
> No, this has nothing to do with fstab.
>
> Michal
next parent reply other threads:[~1999-10-27 13:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199910261931.NAA02857@ellpspace.math.ualberta.ca>
1999-10-27 13:22 ` Ernesto Vieira Neto [this message]
1999-10-19 3:30 Un-install RH 5.2 from test box - load error on reboot Ken Hansen
1999-10-19 13:11 ` Problems with X Window Ernesto Vieira Neto
1999-10-19 17:10 ` Wes Bauske
1999-10-22 11:17 ` Maciej W. Rozycki
1999-10-22 16:29 ` Wes Bauske
1999-10-26 14:20 ` Ernesto Vieira Neto
1999-10-26 15:44 ` Wes Bauske
1999-10-26 19:01 ` Ernesto Vieira Neto
1999-10-26 19:36 ` Wes Bauske
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox