Thursday, May 5, 2011

Configure VNC Server on Solaris

root# ./vncserver
vncserver: couldn't find "Xvnc" on your PATH.


root# cd /usr/X11/bin

root# ls
Xvnc ......

root# pwd
/usr/X11/bin

root# export PATH=$PATH:/usr/X11/bin:/usr/openwin/bin

root# vncserver

You will require a password to access your desktops.

Password:
Verify:

New 'hostname:1 (root)' desktop is hostname:1

Creating default startup script //.vnc/xstartup
Starting applications specified in //.vnc/xstartup
Log file is //.vnc/hostnames:1.log