The rationale behind ldm/ldm2 seems to get rid of
XDMCP (being an insecure auth protocol) and enhance interaction between app server and a terminal.
I'll try to at least keep some snippets by ogra on #ltsp posted here so that those wouldn't require asking/answering again.
2007-07-09 ca. 17:30 UTC
<ogra> gvy, XDMCP should die
<ogra> we're working hard to get ldm feature complete to completely replace it
<vagrantc> and until we can replicate all of the functionality of it, it won't die.
<ogra> putting time into XDMCP is a waste imho ... but we won't refuse sent in patches indeed :)
<vagrantc> agreed :)
<gvy> ogra, i don't disagree
[...]
<ogra> gvy, we don't break it ... it's just not cared for ... for 90% of the cases we have
ldm is fine as is
* vagrantc finds ldm lacking
<ogra> for the other 10 you still have the XDMCP script there
<gvy> ogra, again, i don't disagree :-)
<ogra> vagrantc, ldm2 will change that a lot
<ogra> vagrantc, i'm having some basic code for automatic printer detection at home :)
ldm2 makes that trivial ...
<ogra> also having shutdown/reboot options in the desktop to affect the client won't be
any prob anymore
<gvy> that sounds interesting, 'cause currently on todo
<ogra> the communication has improved so much that we're probably even able
to have hal only seeing the client HW in an ltsp session
<ogra> that's why i pushed so hard for implementing everything client side
<ogra> (everything session related in mean indeed)
<ogra> gvy, well, have a look at the new ldm code :)
<ogra> it spawns an ssh tunnel independently of the session ... with a socket attached to it ...
<ogra> now everything you execute like ssh -S <socketname> <command> will be executed as
the user you are logged in on the server
<ogra> so the X session is actually started like that ...
<ogra> the socket persists for the duration of the session ...
<ogra> so adding a udev script that checks for the socket existence and then runs
gnome-printer-manager through that tunnel in the users session is trivial
<ogra> (an udev script that reacts on plugging in printers indeed)
<ogra> indeed that's limited to usb printers atm ... but i guess you understand the principle ...
<sep> how is ldm called ? what's running screen.d/ldm ?
<sbalneav> sep: SCREEN_07=ldm
--
MichaelShigorin - 09 Jul 2007