Date: Sun, 10 May 2009 14:51:18 +0200 From: Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org> To: freebsd-gnome <freebsd-gnome@FreeBSD.org> Subject: Re: [CFT]: GDM patches for XDMCP support Message-ID: <20090510125118.GA5434@blogreen.org> In-Reply-To: <1241929056.88553.29.camel@shumai.marcuscom.com> References: <1241929056.88553.29.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--gKMricLos+KVdGMg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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) |=20 | 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) |=20 | Fatal server error: | XDMCP fatal error: Session declined Maximum number of open sessions from | your host reached |=20 | % 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=20 | (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/atk= bd_0 returned=20 | (II) config/hal: getting info.product on /org/freedesktop/Hal/devices/atk= bd_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 --=20 Romain Tarti=E8re <romain@blogreen.org> http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoGzcYACgkQ2OmjP/9W/0MD2ACeIH1/UGGDL0Jm08g2euCvYbdM sqMAn3uYd0NRZxULgyH8mzYKExTuA0eC =b6cr -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090510125118.GA5434>