NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Keybord seems to be attached to ttyE0 after wdm starts



Hi,

Am 05.06.2022 um 23:11 schrieb RVP:
On Sun, 5 Jun 2022, BERTRAND Joël wrote:

    When NetBSD starts, wdm is launched, mouse works fine, but keyboard not
! I cannot switch from X console to ttyE1, but from a remote server, if
I kill X or wdm, I see that keyboard has sent characters to ttyE1 (login
I have enter in wdm is written after 'login: ' on ttyE1).

    If I restart wdm, keyboard is active in wdm.

    I don't understand why wdm loses keyboard when it is started during
boot. Explanation will be welcome.


Those config. files look OK. Can you post your Xorg config. file and the
/var/log/Xorg.0.log file?	

-RVP

The symptom is familiar to me. If I remember correctly, you had to start the X server on a tty that is not occupied by a getty yet, otherwise the keystrokes are not passed on.

If you start wdm via /etc/ttys, something like this (ttyE4):

```
ttyE0   "/usr/libexec/getty Pc"         wsvt25  off secure
ttyE1   "/usr/libexec/getty Pc"         wsvt25  on secure
ttyE2   "/usr/libexec/getty Pc"         wsvt25  on secure
ttyE3   "/usr/libexec/getty Pc"         wsvt25  on secure
ttyE4   "/usr/pkg/bin/wdm -nodaemon"    wsvt25  on secure
```

it required me to put the following to /usr/pkg/etc/wdm/Xservers:

```
:0 local /usr/X11R7/bin/X vt5
```

I hope this helps.

Many greetings
Matthias




Home | Main Index | Thread Index | Old Index