vnc error

hi all,
when i try to configure vnc server on solaris to able to connect from windows

when i run vncserver command in solaris 10
i got this error

root@local $ vncserver
vncserver: couldn't find "Xvnc" on your PATH.
root@local $ 

what can i do to solve this problem

  1. find/locate Xvnc
  2. add the directory it is located in to your PATH variable

Simple as that (I think)
If you can't find Xvnc, check this: http://www.softpanorama.org/Xwindows/VNC/vnc\_on_solaris.shtml\#Server

Script to Configure VNC Server in Solaris 10 5/08 and Solaris Express (Nevada) : As Good A Place As Any

Set the path with
export PATH=$PATH:/usr/X11/bin::/usr/openwin/bin
export DISPLAY=<host>:1
xhost +
vncserver :1
set the password

That should work.