Andrew Ziem wrote:
> After upgrading Fedora Core 6 to Fedora 8, my DISPLAY environment variable
> is always an IP address instead of a FQDN (station001.example.net). The
> change breaks login my scripts.
>
> Is there a way to change DISPLAY back to the FQDN? What program sets
> DISPLAY?
>
>
Here's what I came up with
if [[ "$DISPLAY" == ":0" || -z "$DISPLAY" ]]
then
exit 0
fi
REMOTEIP=`echo ${DISPLAY} | cut -f1 -d: `
REMOTEHOST=`dig -x $IP +short | cut -d. -f1`
Andrew
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
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