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:
> 
> SESSIONLIST="/etc/X11/xinit/Xsession \
> 		/etc/X11/Xsession \
> 		/usr/lib/X11/xdm/Xsession \
> 		/etc/X11/xdm/Xsession"
> 
> for SESSION in ${SESSIONLIST}; do
> 	if [ -x ${SESSION} ]; then
> 		export LDM_XSESSION=${SESSION}
> 		break
> 	fi
> done

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.

> 
> to me that looks like even better than what we discussed and seems to
> please everyone ....
> 
> ciao
> 	oli

I thought we were against lts.conf for this purpose, and we considered 
it unfortunate that the LDM_SESSION variable was used for this purpose 
in the past.

Are we still in favor of making ldminfod tell LDM the preferred Xsession 
path, and the slow loop as a fallback if ldminfod (older version) is not 
supplying it?

Warren Togami
[email protected]

-------------------------------------------------------------------------
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.