From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27632 invoked from network); 27 Oct 1999 13:20:10 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Oct 1999 13:20:10 -0000 Received: from polo04.feg.unesp.br (polo04.feg.unesp.br [200.145.11.141]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id JAA20225 for ; Wed, 27 Oct 1999 09:19:58 -0400 Received: from feg.unesp.br ([200.145.13.24]) by polo04.feg.unesp.br (8.9.3/8.8.5) with ESMTP id LAA06865; Wed, 27 Oct 1999 11:18:51 -0200 (EDT) Message-ID: <3816FC82.24F92BF0@feg.unesp.br> Date: Wed, 27 Oct 1999 11:22:11 -0200 From: Ernesto Vieira Neto X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Michal Jaegermann , axp-list@redhat.com Subject: Re: Problems with X Window References: <199910261931.NAA02857@ellpspace.math.ualberta.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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