From owner-freebsd-gnome@FreeBSD.ORG Sun May 10 17:41:08 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8771065673 for ; Sun, 10 May 2009 17:41:08 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 01F5E8FC18 for ; Sun, 10 May 2009 17:41:07 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n4AHh8JQ004384; Sun, 10 May 2009 13:43:08 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Romain =?ISO-8859-1?Q?Tarti=E8re?= In-Reply-To: <20090510125118.GA5434@blogreen.org> References: <1241929056.88553.29.camel@shumai.marcuscom.com> <20090510125118.GA5434@blogreen.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-5xsG7YUvTDKH1lXevdET" Organization: MarcusCom, Inc. Date: Sun, 10 May 2009 13:41:14 -0400 Message-Id: <1241977274.88553.33.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: freebsd-gnome Subject: Re: [CFT]: GDM patches for XDMCP support X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2009 17:41:08 -0000 --=-5xsG7YUvTDKH1lXevdET Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Sun, 2009-05-10 at 14:51 +0200, Romain Tarti=E8re wrote: > Hi Joe, >=20 > 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 definitel= y > > 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/ >=20 > 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 >=20 > So, I added your patches and restarted GDM: > | % sockstat -l46 | grep :177 > | root gdm-binary 999 7 udp46 *:177 *:* >=20 > 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: >=20 > | % 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 fro= m > | your host reached > | > | % Xephyr -query -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 fro= m > | your host reached > |=20 > | % Xephyr -query -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) >=20 > 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 t= o > determine if this is related to the experimental Nouveau driver or not: >=20 > | (II) config/hal: initialized(II) AIGLX: Loaded and initialized /usr/loc= al/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/devic= es/usb_device_1e54_2030_noserial returned kbd > | (II) config/hal: getting input.device on /org/freedesktop/Hal/devices/u= sb_device_1e54_2030_noserial returned=20 > | (II) config/hal: getting info.product on /org/freedesktop/Hal/devices/u= sb_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/devic= es/usb_device_46d_c049_noserial returned mouse > | (II) config/hal: getting input.device on /org/freedesktop/Hal/devices/u= sb_device_46d_c049_noserial returned /dev/sysmouse > | (II) config/hal: getting info.product on /org/freedesktop/Hal/devices/u= sb_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/devic= es/atkbd_0 returned kbd > | (II) config/hal: getting input.device on /org/freedesktop/Hal/devices/a= tkbd_0 returned=20 > | (II) config/hal: getting info.product on /org/freedesktop/Hal/devices/a= tkbd_0 returned AT Keyboard > | (II) config/hal: Adding input device AT Keyboard > | unrecognised device identifier! > | (EE) config/hal: NewInputDeviceRequest failed (2) >=20 > 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 fro= m your host reached >=20 > 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. >=20 > Regards, > Romain >=20 >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-5xsG7YUvTDKH1lXevdET Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkoHEbkACgkQb2iPiv4Uz4cTYQCgmcIzP7X74zBfZ3vN3AeOKDBh 7okAnAxLfC8IXsU4/P770pkEOhbFvohR =JceZ -----END PGP SIGNATURE----- --=-5xsG7YUvTDKH1lXevdET--