If you're trrying to run a program in X, then you need to set up a VNC server on your Linux box. Go to the
TightVNC web page and download their software on both computers and install it. Log on to your linux box (remotely if you want to) and type:
CODE
vncserver -geometry {width}x{height} -depth {color depth}
So, for instance, you want 16 bit color with an 800 by 600 desktop, you type:
CODE
vncserver -geometry 800x600 -depth 16
and it will return something like
CODE
New X Desktop is :1 on 192.168.0.23
. Now you open VNC Viewer on your other computer by typing
CODE
vncviewer {ip address}:{port}
where ip address is the ip of your linux box and port is the number after the colon that the computer printed after using vncserver. For instance:
CODE
vncviewer 192.168.0.23:1
to match up with my earlier example. When the X Server loads, you can run any program in X that works. Another way to access the VNC Server is to type:
CODE
http://{ipaddress}:580{#}/
where ip address is the ip of your linux box and # is the port number previously mentioned. For instance:
CODE
http://192.168.0.23:5801/
in a browser will open an applet for it.
I hope I made this clear.