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

Bug#278340: kdm has no keyboard



On Tuesday 26 October 2004 04:35 am, Andreas Rittershofer wrote:
> Package: kdm
> Version: 4:3.3.0a-1
> Severity: normal
>
>
> When I start my computer, I have a graphical login with KDM. But KDM has
> no keyboard, I am not able to enter anything. I must go to the console,
> restart KDM via /etc/init.d/kdm restart and then I can enter username
> and password.
>
> mfg ar

KDM 3.3 added a new configuration parameter to /etc/kde3/kdm/kdmrc:

ServerVTs=-7

This parameter specifies which vt KDM should start a session on.  The optional 
- in front of the number specifies to only use that vt if it is free.  If you 
choose to keep your kdmrc when upgrading (which I think most people do if 
they have made any changes), you need to add this line manually.

My understanding of the problem is as follows:

1) Without a ServerVTs line, KDM defaults to using the first available vt.
2) On computer startup KDM somehow grabs its vt before the tty's are created.
result: KDM grabs vt 2 (or some early number), then a tty grabs the same vt 
and steals the keyboard from KDM.

work-around: restart KDM - the ttys already have their vts, so when KDM grabs 
the earliest free one, it will work.

user solution: add the ServerVTs=-7 to kdmrc

josh



Reply to: