Thank You Anselm,
it works.
>> is it possible to find out the hostname of the LTSP client within
>> a X Terminal session?
>Probably $DISPLAY is what you want.
>You could try "echo $DISPLAY" in an xterm to how it's formatted.
>I think it looks like
>DISPLAY=ws001:0.0
Regards,
Karl
On Tue, 8 Jul 2003 [EMAIL PROTECTED] wrote:
> Hello,
>
> is it possible to find out the hostname of the LTSP client within
> a X Terminal session?
Yes, it should be the first part of the DISPLAY environment variable.
For example, if I do this:
echo $DISPLAY
I get this:
ws001:0.0
So,
Type echo $DISPLAY
You should see something like
ws137:0
The part before the : is the hostname
A.J.
On Tue, 2003-07-08 at 10:42, [EMAIL PROTECTED] wrote:
> Hello,
>
> is it possible to find out the hostname of the LTSP client within
> a X Terminal session?
>
>
> Regards
> Karl
>
>
>
>
>
Hello Karl,
> is it possible to find out the hostname of the LTSP client within
> a X Terminal session?
Probably $DISPLAY is what you want.
You could try "echo $DISPLAY" in an xterm to how it's formatted.
I think it looks like
DISPLAY=ws001:0.0
Best regards,
Anselm Martin Hoffmeister
Stockholm
Hello,
is it possible to find out the hostname of the LTSP client within
a X Terminal session?
Regards
Karl
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are avai