admin g wrote:
Hi,
Whenever I connect to vnc server I always have to give setenv DISPLAY
ipaddr of local system:1.0 in the terminal to get the display, is there any
option to set this permanently ,some where in like xstartup file or some
thing.Please guide me ..........
That depends on a lot of things. Most likely, somewhere in your login
scripts there is a less than perfect way to update the $DISPLAY...
Then it depends on how you start your vnc-session (the server side, not
the viewer side) and how you start the applications in there. If you
use the `vncserver` script, that provides a reasonable example on how to
set the $DIAPLAY. If you start `xvnv` in an own script, peek in the
`vncserver` script.
If you start xvnc in an other way, see it as any other X11 server like
xorg or xfree86. It even uses the same defaults (like localhost:0.0 for
default display) On some locations I have replaced the local X11 server
with xvnc and it all works as expected. I had to add some vnc-specific
options and that was it.
Regards
CBee
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list