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

Oliver Grawert <ogra-GeWIH/[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <1222256406.27685.6.camel@osiris>
hi,
On Mi, 2008-09-24 at 07:00 -0400, Warren Togami wrote:
> noreply-+ipbUBPD95tH4x6Dk/[email protected] wrote:
> > ------------------------------------------------------------
> > revno: 911
> > committer: Vagrant Cascadian <[email protected]>
> > branch nick: ldm-trunk
> > timestamp: Tue 2008-09-23 22:50:36 -0700
> > message:
> >   use Xsession script when session is selected, defaulting to "default" if no
> >   session is selected.
> 
> Huh?  What happens to the hard coded list?
it is iterated over like it was before, all vagrant added was an option
to define LDM_XSESSION additionally.
> 
> /me wonders if this is compatible with the proposed Xsession handling 
> plan that was agreed upon at the last hackfest.
yes, it is, whith the enhancement that it now supports what you asked
for in the beginning (a seedable option for lts.conf) ... if that option
is not set the client will check for its own Xsession with the code
below:

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

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

ciao
	oli

-------------------------------------------------------------------------
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
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkjaJxMACgkQSsOT+6LQaTb6AQCfWTf4PyfTKwBv7ZQg/ZO1QhFB
B1oAni6ibQ8FrP7jeQaVVP8eA/0uGJd+
=kELC
-----END PGP SIGNATURE-----
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.