That did it. Works well. You can commit it upstream.

2009/6/5 Vagrant Cascadian <vagr...@freegeek.org>:
> On Fri, Jun 05, 2009 at 04:18:43PM +0200, Peter Stein wrote:
>> I have a solution now. I commented something out in
>> /usr/share/ltsp/screen-x-common the prevented ldm from starting up.
> ...snip...
>
>> This means it is not verified that xfs is online, but nc -w 5 $SRV
>> 7100 gave no result than waiting. That means xfs was reachable but
>> didn't gave no return. Anybody an idea for that behavior?
>
> the verification code was added because otherwise X failed to come up at all 
> if
> xfs was down for some reason. apparently, it didn't work.
>
>> I used a better command instead:
>>
>>    if nmap $SRV -p 7100 | grep font-service > /dev/null ; then
>> instead of
>>    if nc -w 5 $SRV 7100 >/dev/null ; then
>>
>> Now it works like a charm.  Might be helpful for users of xfs.
>
> i don't think nmap is installed by default, so it would be nice to not have to
> pull in another dependency. could you try with:
>
>  if nc -z -w 5 $SRV 7100 >/dev/null ; then
>    X_ARGS="$X_ARGS -fp $xfs_line"
>  fi
>
> if that works, i'll commit it upstream.
>
> live well,
>  vagrant
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net
>



-- 
Agnes-Bernauer-Strasse 53b
80687 Muenchen

Mobile: +49-176-61576306

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to