Re: [Branch ~ltsp-upstream/ltsp/ldm-trunk] Rev 911: use Xsession script when session is selected, defaulting to "default" if no

Warren Togami <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
Oliver Grawert wrote:
> hi,
> On Mi, 2008-09-24 at 12:11 -0400, Warren Togami wrote:
>> You should recall that we can't do this because [ -x /path/to/foo ] is 
>> impossible.  LDM needs to loop through the Xsession list through 
>> multiple round-trips through the ssh tunnel.  This sucks, but at least 
>> it is only a fallback if not otherwise specified in lts.conf or the 
>> previously proposed ldminfod.
> it should be available and executable on the client (it is in the
> default xorg install in debian and ubuntu at least) ... as long as both
> are the same distro it will work fine, if not you can seed an lts.conf
> value and indeed ldminfod is preferred but its not sending that info
> yet ... in case it does, it will be only one additional line to the
> current code.

You're missing the point.

[ -x /path/to/foo ] fails because LDM is running on the client, while 
you need the path of Xsession on the server.  The client's own Xsession 
path is irrelevant here.

Warren

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.