Bug#586539: gdm problem fixed

Michael Dorrington michael.dorrington at gmail.com
Sat Jun 26 22:59:10 UTC 2010


Tags: patch

This patch doesn't fix it for me. With or without the patch gdm does not
accept keyboard input on boot about half the time.

Investigating further I noticed that:

* When gdm does allow keyboard input on boot you can see it running on
vt2 (ttyv1) (the vt you get from Ctrl-Alt-F2) and not, as expected, vt7
(ttyv8 ?) (the vt you get from Ctrl-Alt-F7).

* When gdm doesn't allow keyboard input on boot then when you do the
Action->"Run XDMCP chooser" trick this starts XDMCP chooser on vt7 and
if you switch to vt2 it is blank until you press Enter and then the
login Password prompt appears. Perhaps in this case getty on vt2 has
been messed up by gdm running on vt2?

Could there be a race condition on boot between getty on vt2 and gdm on vt2?

To test this I disabled getty starting on vt2 (ttyv1 in kfreebsd) in
/etc/inittab and now gdm accepts keyboard input on every boot. So this
suggests the problem lies with gdm starting on vt2 when it should be
starting on vt7.

Note that xdm works every boot on kFreeBSD and runs in vt7.

Regards,
Mike.

Tuco wrote:
> Hi,
> This patch solved the problem for me:
> 
> --- gdm-2.20.10/daemon/getvt.h  2009-03-19 00:59:27.000000000 -0400
> +++ gdm-2.20.10.fixed/daemon/getvt.h    2010-06-26 07:57:32.000000000 -0400
> @@ -27,7 +27,7 @@
>  #endif
>  #endif
> 
> -#if defined (__FreeBSD__) || defined (__DragonFly__)
> +#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined
> (__DragonFly__)
>  #define GDM_USE_CONSIO_VT
>  #endif

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfreebsd_consio_vt.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100626/5745d2aa/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100626/5745d2aa/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list