Re: devfs + xinit Authentication error

From: Douglas Gilbert (dgilbert@interlog.com)
Date: Wed Mar 01 2000 - 08:03:38 EST


Richard Gooch wrote:
>
> Matthew Vanecek writes:
> > Douglas Gilbert wrote:
> > >
> > > I'm trying to use devfs (with the default configuration of devfsd) on
> > > a slightly modified RH 6.0 i386 platform. When I call startx it fails
> > > with an authentication error in xinit. [Works with the classic /dev .]
> > > Any guidance?
> > >
> > > Doug Gilbert
> >
> >
> > I'm having the exact same problem, on 2.3.48. It complains that I might
> > not own the console.

The solution (at least on RH6.0 and RH6.1) for the X problem was
to change the following line in /etc/security/console.perms from:

<console>=tty[0-9][0-9]* :[0-9]\.[0-9] :[0-9]

to:
<console>=tty[0-9][0-9]* [0-9][0-9]* :[0-9]\.[0-9] :[0-9]

There is a related problem which stops root logging in on
a virtual console. The solution was to add the last 8
lines to /etc/securetty yielding:
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
1
2
3
4
5
6
7
8

BTW Both 'who' and 'df' look different under the devfs regime.

> [snip]
>
> Blame Linus for the name changes. In time, he expects distributions to
> see the merit in the new names and move over to devfs wholesale.

As Richard says, the interesting thing will be to see how the
various distributions will jump with devfs. If that was known
in advance of 2.4 being released then applications that scan
for devices (e.g. cdparanoia, cdrecord and SANE) could be ready
if there was to be a wholesale change.

Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:09 EST