[CFT]: GDM patches for XDMCP support

Joe Marcus Clarke marcus at marcuscom.com
Sun May 10 17:41:08 UTC 2009


On Sun, 2009-05-10 at 14:51 +0200, Romain Tartière wrote:
> 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.

I uploaded a new patch set as well as a new Makefile for x11/gdm.  Try
those out.

Joe

> 
> 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
> 
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20090510/b3b0ac7f/attachment.pgp


More information about the freebsd-gnome mailing list