Radu,
In your wrapper script, just put a simple line like this:
HOST=`echo $DISPLAY | awk -F: '{ print $1 }'`
That will pull the hostname out of the DISPLAY variable
and assign it to $HOST
Jim McQuillan
[EMAIL PROTECTED]
On Mon, 17 Feb 2003, Radu Filip wrote:
>
> hi,
>
> once the client it logged in, is there any global variable that contains
> the hostname or ip of the client?
>
> I discovered is $DISPLAY, but unfortunatelly it contains also display
> number ":0" and in my situation I have to use a wrapper script, which is
> not so elegant. is there another variable that contains name or ip of
> client?
>
> thanks
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _____________________________________________________________________
> 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
>
--
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
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