vnc display problem

Jason Chen jasonc "at" Newbridge.COM
Wed, 08 Apr 1998 17:57:58 +0000


I have had much success with VNC (except for multiple vncserver running
on a single machine which I won't get
into in this email) when the server and the client
are running on different machines/domains.

I tried to install VNC at work to promote it to my
manager (allowing us to remote access -- with firewall
-- our X desktop from home)... however, I came across
a problem on display.  

For the sake of argument, the vncserver is run from
vncserver.domain.com ("vncserver -geometry 800x600" 
which opens up display :1 for Xvnc).

The vncviewer is run from vncviewer.domain.com 
("vncviewer vncserver:1" and the connection can be 
made without a problem...  The problem comes when I 
try to run applications from vncviewer.domain.com.

I would expect the applications to be displayed on
vncviewer.domain.com BUT THEY GET DISPLAYED ON
vncserver.domain.com.....

On vncserver.domain.com, DISPLAY is set to :0.0.
When I unsetenv DISPLAY from vncserver.domain.com,
I still get the applications displayed on vncserver
BUT NOT on vncviewer.domain.com

Is it what I would expect if two machines are within
the same domain (ie. domain.com)?  If not, are there
ways to fix this up?

Any comments are welcome.

Jason