* Joe Giles <[EMAIL PROTECTED]> [2002-07-31 04:37 +0200]:
> I use DHCP, and I would like to use an IP variable (If one exists) to
> set my DISPLAY option...

To answer to your question: there's no such variable, but two special
hostnames: �localhost� and the your machine's local hostname, so setting
        export DISPLAY=localhost:0
would make it work.

But doing that would be using the X Server's tcp socket, which is
deprecated for security reasons. The Debian people even added "-nolisten
tcp" to their xserverrc, to switch that off.

Better use �local� (that is, unix domain socket) addresses, which are
faster, safer and don't depend on any local ones.

To do so, just 
        export DISPLAY=:0

-- 
Johannes Franken
 
Professional unix/network development
mailto:[EMAIL PROTECTED]
http://www.jfranken.de/



-- 
redhat-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to