VNC opens GUI on the server
Thu Aug 29 23:35:01 2002
: I've got a problem with the displaying of the GUI
: during the VNC session. If I run any program which
: opens the GUI window the window is opened on the
: server, but not on my display :( The VNC server is
: installed on Sun Solaris and the client is on Windows.
: I thought it should be something wrong with the
: environment and DISPLAY variable. But I checked
: DISPLAY and it is :0.0 which as I thought should work
The display :0.0 is most often the display physically
connected to the sun, the process being Xsun. If you want
to talk to the VNC server on the same sun, your X apps need
to connect to some other display, typically hostname:1.0,
or sometimes just :1.0.
The vnc server normally sets up the DISPLAY correctly.
When it ends up pointing to the Xsun display
is often due somebody tromping on the DISPLAY variable
in their .cshrc or .bashrc or whatnot.
So. To see if that's the problem, manually set DISPLAY
to the display number the vncserver printed when it started,
typically hostname:1.0 or :1.0. If that works, you then merely
need to chase down which startup script is clobbering the
DISPLAY variable. If it doesn't work... well, "nevermind".
Wayne Throop firstname.lastname@example.org