> I type "gedit" to run the editor, I get:
> (gedit:30549): Gtk-WARNING **: cannot open display:"
>
> I do not know how to set the "display". Do you know how to do it?
OK, you are almost there now. I'm afraid I've gotten rather lazy
thinking about setting DISPLAY, because I use PuTTY as my ssh client,
and it sets DISPLAY automatically for me. You need to run something
like this in your ssh session before starting a GUI app:
export DISPLAY=localhost:10
The trick is figuring out which display number to put on the end-- 10 in
the example I gave above. I can't remember the details of that now;
maybe the ssh man page talks about it, or the X server docs. You could
also just try some different ones; 10 and 11 are often used to forward
to remote X servers.
Or, use PuTTY for your ssh client. As I said it will take care of
setting DISPLAY for you.
> I also have problem to get my local ip.<--- Do I need it?
In Win9x/ME, run winipcfg. In WinNT/2K/XP, open a command prompt and
run ipconfig. Both of those will show you your local IP address.
Unfortunately that won't help you if you're behind a router, because
you'll only get your LAN IP address, which is unroutable. Instead run
IP2, available free from
http://keir.net/download/ip2.zip. It will show
you both your LAN and WAN IP addresses.
Good luck,
Andrew.
--
To reply by email, replace "deadspam.com" by "alumni.utexas.net"