Subject: Re: keyboard problem with X
To: Matthieu Herrb <matthieu.herrb@laas.fr>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 06/01/2004 15:54:27
On Tue, 1 Jun 2004, Matthieu Herrb wrote:

> Frederick Bruckman wrote:
>
> > My X server is also running on ttyE4, but I don't have an entry for
> > ttyE4 in "/etc/ttys". Should I?
>
> No.
>
> The symptoms decribed by Wouter look like the known problem that arises
> when X picks up a VT on which a getty process is attached too. Then the
> 2 processes (the X server and getty) are fighting to get keyboard input
> and it produces either a sluggish keyboard or a total lockup, depending
> on luck.
>
> This can arise in 2 situations:
>
> - without xdm if all your VTs have a getty process active
> - with xdm started from rc.local if /etc/X11/xdm/Xservers fails to
> specify a free VT on the command line, because xdm will generally start
> up before init spwans getty processes and so the VT picked up by X will
> run a getty process later.
>
> One last question: you both have more than one screen create in
> /etc/wscons.conf?

Yes. "fstat /dev/ttyE4" shows that XFree86 is running on the free tty,
as expected (now). I'm starting "xdm" with "xdm=YES" in "/etc/rc.conf",
but the next time I catch it in the act, I will check and see which
virtual terminal XFree86 is running on.

Frederick