<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head><body><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 class="io-ox-signature"><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">lchristoph@extern.creativedata.de</a><br> Web:</span><span style="font-size: 10.0pt; color: #1f497d;"><a href="http://www.creative-data.de/"><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></body></html>