Bug#285098: I can reproduce it and fix it

Enrico Zini Enrico Zini <enrico@enricozini.org>, 285098@bugs.debian.org
Fri, 28 Jan 2005 00:36:38 +0100


--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Hello,

I am able to reproduce and fix this bug, which is very annoying (thanks
to Patrizio Bruno that put me in the very right direction with his
mail).

The bug happens when someone configures more than 6 consoles in inittab:
for example, I have this:

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/fgetty tty2
3:23:respawn:/sbin/fgetty tty3
4:23:respawn:/sbin/fgetty tty4
5:23:respawn:/sbin/fgetty tty5
6:23:respawn:/sbin/fgetty tty6
7:23:respawn:/sbin/fgetty tty7
8:23:respawn:/sbin/fgetty tty8
9:23:respawn:/sbin/fgetty tty9
10:23:respawn:/sbin/fgetty tty10
11:23:respawn:/sbin/fgetty tty11
12:23:respawn:/sbin/getty 38400 tty12

In this case, when gdm starts at boot, it seems to engage in some race
condition for controlling VC 7: it may be that fgetty starts after gdm
started and takes the keyboard input away.

The bug probably doesn't show when running gdm by hand, since at that
point (f)getty is already running on that VC.

To solve the problem, one just needs to change FirstVT to something
higher: I have set FirstVT=13 and now everything works perfectly.

Finally I can use gdm on my systems!  Thanks Patrizio so much!


Ciao,

Enrico

--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@enricozini.org>

--bg08WKrSYDhXBjb5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB+XsG9LSwzHl+v6sRAo/1AKCFgKk7NdbPc2QrKFbkPRNCxxpUeACeKAag
kdGhZWFNVmatTovPceyqg/8=
=NT8M
-----END PGP SIGNATURE-----

--bg08WKrSYDhXBjb5--