On Thursday 06 Oct 2005 18:52, Roberto Leiva M. wrote:
> Hi!
>
> i need Know... which file or command setting VAR DISPLAY in thin client.
>
> example:
>
> echo $DISPLAY
> ws254.ltsp:0.0
>
> the idea is setting other Var with ws254-XXX in script startx
>
> How to return ws254 ( name of thin client ) ?
netstat -t -e | grep $LOGNAME | grep -i x11 | head -1 | awk '{print
$5}' might be what you are looking for.
--
Regards
Martin Woolley
ICT Support
Handsworth Grammar School
Isis Astarte Diana Hecate Demeter Kali Inanna
*************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email
in error please notify [EMAIL PROTECTED]
The views expressed within this email are those of the
individual, and not necessarily those of the organisation
*************************************************************
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_____________________________________________________________________
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