export display problem in vnc
cbeerse "at" gmail.com
Wed Apr 27 12:51:02 2005
Sandip Kochar wrote:
> Ihave some tough problem.I have installed vnc server on solaris machine
> and viewer on windows desktop.For the security purpose i have taken
> remote dektop of viewer machine to my desktop.I can see solaris cde
> console .but i want to install something on aix which i can access only
> from solaris as aix machine is not having xwindows.but as i export
> display i dont see any gui on vnc viewr machine.
> can somebody have a solution for it.
> My Desktop ------> Remote windows machine--------> Solaris with
> vncserver----------> AIX machine
> Vnc viewer installed
If you view a vncsession from the solaris-box, you can open a terminal in there
and see its $DISPLAY value (`echo $DISPLAY`). Set that at your aix prompt. You
might need to open the 'solaris' display with `xhost +` (this is for all, see
`man xhost` for details).
If the $DISPLAY has the form of ":1" or ":1.0" or "localhost:1" or
"localhost:1.0" then update it to reflect "<machine>:1".