[LightDM] Lightdm host in XDMCP chooser menu

Robert Ancell robert.ancell at gmail.com
Wed May 4 23:46:44 UTC 2016


Hi Wolfgang,

>From the XDMCP documentation:

    *Hostname*: ARRAY8
      Is a human readable string describing the host from which the packet
was sent. The protocol specifies no interpretation of the data in this
field.
    *Status*: ARRAY8
      Is a human readable string describing the status of the host. This
could include load average/number of users connected or other information.
The protocol specifies no interpretation of the data in this field.
Looking at the LightDM code we don't set anything in these fields. It seems
we should probably set hostname to the system hostname (and make
configurable in lightdm.conf). Not sure what is appropriate to set status
to (if anything).

--Robert


On Tue, 3 May 2016 at 07:34 Wolfgang Baudler <wbaudler at gb.nrao.edu> wrote:

>
> I have a lightdm setup in an XDMCP configuration like this:
>
> [SeatDefaults]
> type=xremote
> xserver-allow-tcp=true
> xdmcp-port=177
> greeter-show-remote-login=true
> greeter-allow-guest=false
>
> [XDMCPServer]
> enabled=true
> port=177
>
> I have a kdm chooser host which is configured to show the lightdm host in
> it's chooser menu.
>
> It seems to work, except for the rather irritating fact that the chooser
> hostname and status field of the lightdm host show up as completely empty
> in the menu (the menu shows an empty line instead of a proper host entry).
>
> lightdm.log shows
> [+26.32s] DEBUG: Got Query(authentication_names=[]) from 10.16.96.76:44231
> [+26.32s] DEBUG: Send Willing(authentication_name='' hostname=''
> status='') to 10.16.96.76:44231
>
> Where you can clearly see that the hostname and status strings are empty
> (status normally shows number of users logged in and load on the remote
> XDMCP host). It seems that lightdm does not set these fields?
>
> Am I missing something or is this a bug?
>
> Wolfgang
>
>
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/lightdm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/lightdm/attachments/20160504/b55f1e6c/attachment.html>


More information about the LightDM mailing list