Re: Merging the new ldm

Stéphane Graber <stgraber-GeWIH/[email protected]> Sun, 10 Oct 2010 23:02:39 -0400
Newsgroups gmane.linux.terminal-server.devel
Message-ID <1286766159.5672.6.camel@castiana>
On Wed, 2010-10-06 at 15:51 -0400, Stéphane Graber wrote:
> On Wed, 2010-10-06 at 13:32 -0400, Gideon Romm wrote:
> > I'm looking forward to a presentation on the code, too. I notice (only
> > quickly) that the plugins are all written in C. I am wondering if that
> > is a requirement for the plugins and how flexible the new LDM will be
> > for those srcripters we have on both the dev side and the user(admin)
> > side.
> > 
> > I guess this would be an LDM 3.0?
> > 
> > I would have liked to see the merge happen after BTS, but I'm with
> > vagrant in looking forward to hearing/seeing the new functionality and
> > improvements.
> > 
> > -Gadi
> 
> I'm still "discovering" the code myself, trying everything it's supposed
> to do and fixing that as I go.
> 
> We still have our good old hooks and rc.d so all scripts are still run
> as they used to. These "plugins" are really authentication backends.
> 
> The initial reason to have them in C is because it's more likely that
> the various protocols we want to implement are already implemented in C.
> Currently that's:
>  - SSH (with our good old C code ;))
>  - RDP (just starting rdesktop)
> 
> I'd like to add support for NX and for RDP using libfreerdp in the
> future and Scotty is still working on getting a new SSH backend too.
> 
> So far I tested the code on Ubuntu Maverick but I'd be interested in
> hearing feedback from anyone having issue with it, so I can try to
> reproduce here on Ubuntu and if I can't, then reproduce and fix on
> whatever distro you use.
> 
> Current known issues are:
>  - Broken menu icons for "Backend selection" and "Domain selection"
>  - Selecting the session or language option will make LDM crash
>  - LDM window is placed wherever the cursor is and not at the middle of
> the screen
>  - The RDP backend tries to use "None" as domain instead of not setting
> it (that one should be fixed in the latest commit).
> 
> I hope to have something that "works" by the end of the week, then
> deploy it here as we migrate to Maverick at the office so I get ~20 more
> testers ;)

Hey everyone,

Just wanted to make a quick status update on what I did this week with
LDM.

- We now have better logging of everything that's happening within LDM
and its modules, though I hope to have a single logging function with
"log level" support very soon.
- The broken menu entries and icons are now fixed.
- WWM got patched to center the window. It's currently an ugly hack
which should be changed for proper handling of the always center flag.
But at least it works.
- RDP and SSH backends are now working as they should.
- Session and Language selection no longer make LDM segfault.

The only bug I currently have on my list is WWM not exiting when the X
server is dead. That should be relatively easy to fix once I have the
time to look and learn that part of the code.

I also did a quick code cleanup recently, updating all files to follow
the coding guidelines:
 - No trailing spaces
 - 4 spaces indent (replaced single tab by 4 spaces)

For these of you using Ubuntu, I have PPA builds for maverick available
here: https://launchpad.net/~stgraber/+archive/experimental/+packages
I usually rebuild a new package every-time I commit something.

I hope to have the time to do some more cleanup and improvements next
week.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb

_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkyyfk4ACgkQjxyfqkjBhuwAhgCfdZcPKqN7774CjlIHOHSECcha
XtwAn2lVtieaivw30lSGArqh+HVtHVMK
=/VvG
-----END PGP SIGNATURE-----