Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  9 Mar 2003 18:20:24 -0800
From:      Daxbert <daxbert_news@dweebsoft.com>
To:        David Banning <david@skytrackercanada.com>
Cc:        "" <questions@FreeBSD.ORG>
Subject:   Re: identifying my network address
Message-ID:  <1047262824.3e6bf668ac4fd@ra.dweebsoft.com>

next in thread | raw e-mail | index | archive | help
Quoting David Banning <david@skytrackercanada.com>:

> I am running an Xwindow on a windows box. I need a script to 
> tell me what my network address is so that I can set my DISPLAY
> varible correctly eg: 192.168.1.2:0.0   
> 
> Any idea what command would be useful for this purpose?

How are you connecting to the *nix box?  If you're using an SSH client, you
could just enable X11 port forwarding (on both the client and server), and let
SSH handle the DISPLAY variable assignemnt.  Not to mention, your X traffic can
then come back thru any ACLs/FW policies that might otherwise block standard
:60xx X traffic.

--daxbert

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1047262824.3e6bf668ac4fd>