<div dir="ltr">Oh, also I couldn't think of any workaround that would work without patching.<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 5 Aug 2015 at 15:20 Robert Ancell <<a href="mailto:robert.ancell@gmail.com">robert.ancell@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi Lupe,<br><br></div>I've filed a bug for this issue [1].<br><br></div>I can't seem to find any documentation on exactly what you should do if you have multiple connections specified in the XDMCP Request. I'm not sure if LightDM should try them all or pick one based on some criteria. I can't tell it's actually wrong for the client to report an address that the daemon can't route to (I guess the client couldn't know in advance?).<br><br></div>I've changed the behaviour for LightDM to use the address the Request came from if it is in the list. This will mean it matches the GDM behaviour in the simple case but also continues to work for other cases.<br><br></div>Note that LightDM 1.6 is no longer supported. You will either need to upgrade to 1.10 or patch your version.<br><br></div>Hope this helps,<br></div>--Robert<br><div><div><div><div><div><div><br>[1] <a href="https://bugs.launchpad.net/bugs/1481561" target="_blank">https://bugs.launchpad.net/bugs/1481561</a><br>[2] <a href="http://www.x.org/releases/X11R7.6/doc/libXdmcp/xdmcp.html" target="_blank">http://www.x.org/releases/X11R7.6/doc/libXdmcp/xdmcp.html</a><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 5 Aug 2015 at 02:11 Lutz Christoph <<a href="mailto:lchristoph@extern.creativedata.de" target="_blank">lchristoph@extern.creativedata.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><p>Hi!<br></p><p><br></p><p>This is part of a complicates scenario involving RHEL7, virtualization with KVM, VMs with multiple interfaces, and Xorg on the hypervisor host. The reason I'm trying to use LightDM is that the NVidia driver does not work with GDM (black screen). (GDM is the only DM offered by RHEL7.)<br></p><p><br></p><p>The Xorg setup works OK when using Nouveau and GDM.<br></p><p><br></p><p>When I switch the VM to LightDM, the connection starts OK, but LightDM is confused by the connection offerings of the client Xorg. GDM uses the address the request came from, but LightDM uses the first connection offering, which happens to be the outside interface of the hypervisor, and we do not permit many things in the firewall for that interface.<br></p><p><br></p><p>I found no way to limit the connection offerings in the XDMCP Request packet, and frankly I should not need to since the sending IPv4 address is included in the list, but as #3.<br></p><p><br></p><p>This is with these EPEL RPMs:<br></p><p>lightdm-gobject-1.6.3-4.el7.x86_64<br>lightdm-gtk-1.6.1-4.el7.x86_64<br>lightdm-1.6.3-4.el7.x86_64<br></p><p><br></p><p>Relevant log entries with IP addresses obfuscated (nice logging, BTW):<br></p><p><br></p><p>[+1952.58s] DEBUG: Got Query(authentication_names=[])<br>[+1952.58s] DEBUG: Send Willing(authentication_name='' hostname='' status='')<br>[+1952.92s] DEBUG: Got Request(display_number=2 connections=[(0, 0A11xxxx) (0, C0A8xxxx) (0, C0A8xxxx) (6, FE80xxxx...xxxx) (6, FE80xxxx...xxxx) (6, FE80xxxx...xxxx) (6, FE80xxxx...xxxx) (6, FE80xxxx...xxxx) (6, FE80xxxx...xxxx) (6, FE80xxxx...xxxx) (6, FE80xxxx...xxxx)] authentication_name='' authentication_data= authorization_names=['MIT-MAGIC-COOKIE-1' 'XDM-AUTHORIZATION-1' 'SUN-DES-1'] manufacturer_display_id='')<br>[+1952.92s] DEBUG: Send Accept(session_id=1015 authentication_name='' authentication_data= authorization_name='MIT-MAGIC-COOKIE-1' authorization_data=3C46DEAE1D40A959820F497B1526DF38)<br>[+1952.92s] DEBUG: Got Manage(session_id=1015 display_number=2 display_class='MIT-unspecified')<br>[+1952.92s] DEBUG: Starting seat<br>[+1952.92s] DEBUG: Starting new display for greeter<br>[+1952.92s] DEBUG: Connecting to XServer 10.17.xx.xx:2<br>[+1952.92s] DEBUG: Error connecting to XServer 10.17.xx.xx:2<br>[+1952.92s] DEBUG: Send Failed(session_id=1015 status='Failed to connect to display :2')<br></p><p><br></p><p>Any ideas how I can force LightDM to use the requesting address for the X connection?<br></p><div><p style="margin-bottom:12.0pt"><span style="font-size:10.0pt;color:#1f497d">Mit freundlichen Grüßen / Kind regards<br> <br> </span><strong><span style="font-family:'Calibri Light','sans-serif';color:#1f4e79">Lupe Christoph</span></strong><span style="font-size:10.0pt;color:#1f497d"><br> </span><span style="font-size:10.0pt;color:#1f497d">im Auftrag von / on behalf of<br> </span><strong><span style="color:#c00000">Creative Data AG</span></strong><span style="font-size:10.0pt;color:#1f497d"><br> - Standort Süddeutschland -<br> Otto-Lilienthal-Str. 36<br> D-71034 Böblingen<br> </span><span style="font-size:10.0pt;color:#1f497d"><br> Mobil:</span> <span style="font-size:10.0pt;color:#1f497d"> +49 (0) 172 630 1004<br> E-Mail:</span> <span style="font-size:10.0pt;color:#1f497d"> <a href="mailto:lchristoph@extern.creativedata.de" target="_blank">lchristoph@extern.creativedata.de</a><br> Web:</span><span style="font-size:10.0pt;color:#1f497d"><a href="http://www.creative-data.de/" target="_blank"><span style="color:#0563c1">www.creative-data.de</span></a></span><br></p><p><span style="font-size:7.5pt;color:#1f497d">Firmensitz: Robert-Bosch Str. 10 D-50769 Köln, Deutschland</span></p><p><span style="font-size:7.5pt;color:#1f497d">Sitz der Gesellschaft: Köln, Registergericht Köln, HRB: 45125 Köln<br> Vorstand: Heinz Friebel, Aufsichtsratvorsitzender: Gerhard Böhm</span></p></div></div>_______________________________________________<br>
LightDM mailing list<br>
<a href="mailto:LightDM@lists.freedesktop.org" target="_blank">LightDM@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/lightdm" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/lightdm</a><br>
</blockquote></div></blockquote></div>