[CFT]: GDM patches for XDMCP support

Romain Tartière romain at blogreen.org
Sun May 10 12:51:20 UTC 2009


Hi Joe,

On Sun, May 10, 2009 at 12:17:36AM -0400, Joe Marcus Clarke wrote:
> If anyone out there is trying to use GDM with XDMCP, you will definitely
> need these patches to make it work.  However, I have one user reporting
> there is still something missing.  However, he's on amd64.  I'd
> appreciate some i386 feedback as well.  All of these patches need to be
> copied to x11/gdm/files.
> 
> http://www.marcuscom.com/downloads/gdm/

Because I am using the experimental Nouveau video driver, I can't run
multiple X instance at once, so am interested in XDMCP to use Xephyr and
have multiple users logged-in simultaneously.

So, I added your patches and restarted GDM:
| % sockstat -l46 | grep :177
| root     gdm-binary 999   7  udp46  *:177                 *:*

Then, I started Xephyr querying on loopback, IPv4 address and then IPv6
address. The two first attempts failed but with IPv6 address it's Okay,
I can login using GDM:

| % Xephyr -query 127.0.0.1 -screen 1024x768 :2
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| 
| Fatal server error:
| XDMCP fatal error: Session declined Maximum number of open sessions from
| your host reached
|
| % Xephyr -query <IPv4 address> -screen 1024x768 :3
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| 
| Fatal server error:
| XDMCP fatal error: Session declined Maximum number of open sessions from
| your host reached
| 
| % Xephyr -query <IPv6 address> -screen 1024x768 :4
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)

I tried to get more information about those errors related to HAL adding
-verbosity 1000 to the Xephyr cmdline, unfortunately it doesn't help me to
determine if this is related to the experimental Nouveau driver or not:

| (II) config/hal: initialized(II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so
| (II) GLX: Initialized DRISWRAST GL provider for screen 0
| (II) config/hal: getting input.x11_driver on /org/freedesktop/Hal/devices/usb_device_1e54_2030_noserial returned kbd
| (II) config/hal: getting input.device on /org/freedesktop/Hal/devices/usb_device_1e54_2030_noserial returned 
| (II) config/hal: getting info.product on /org/freedesktop/Hal/devices/usb_device_1e54_2030_noserial returned USB Keyboard
| (II) config/hal: Adding input device USB Keyboard
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| (II) config/hal: getting input.x11_driver on /org/freedesktop/Hal/devices/usb_device_46d_c049_noserial returned mouse
| (II) config/hal: getting input.device on /org/freedesktop/Hal/devices/usb_device_46d_c049_noserial returned /dev/sysmouse
| (II) config/hal: getting info.product on /org/freedesktop/Hal/devices/usb_device_46d_c049_noserial returned USB Gaming Mouse
| (II) config/hal: Adding input device USB Gaming Mouse
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)
| (II) config/hal: getting input.x11_driver on /org/freedesktop/Hal/devices/atkbd_0 returned kbd
| (II) config/hal: getting input.device on /org/freedesktop/Hal/devices/atkbd_0 returned 
| (II) config/hal: getting info.product on /org/freedesktop/Hal/devices/atkbd_0 returned AT Keyboard
| (II) config/hal: Adding input device AT Keyboard
| unrecognised device identifier!
| (EE) config/hal: NewInputDeviceRequest failed (2)

Another thing: if I close Xephyr, I can't run it again: I get
| Fatal server error:
| XDMCP fatal error: Session declined Maximum number of open sessions from your host reached

After restarting GDM I can connect to Xephyr again. Since it is the same
message I get with IPv4 addresses, I think it might be relevant to note
it although it could be caused by the experimental video driver.

Regards,
Romain


-- 
Romain Tartière <romain at blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20090510/00f39282/attachment.pgp


More information about the freebsd-gnome mailing list