Install VNC on Solaris DomU at CentOS 5 or Debian Etch Dom0 (64 bit)
This posting follows up [2] and gives step by step instruction how to
set up VNC on OpenSolaris DomU. In general everything seems to be already
told in [1], however as Linux person I can hardly imagine OpenSolaris
to compete Linux anywhere out of Enterprise Environment and at the same time
OpenSolaris might be not the best choice for Enterprise.
1.Enable sshd tcp port forwarding.
a) Configure the remote Solaris Secure Shell server to allow port forwarding.
Change the value of AllowTcpForwarding to yes in the /etc/ssh/sshd_config file.
# Port forwarding
AllowTcpForwarding yes
b) Restart the Solaris Secure Shell service.
# svcadm restart network/ssh:default
2.Install VNC (Tightvnc 1.3.9 for UNIX)
a)Download tightvnc-1.3.9_unixsrc.tar.gz from http://www.tightvnc.com/download.html
b)Install Sun Studio 12 C,C++ components to compile TightVNV 1.3.9 source without problems.I used "installer" script . Just fixed one thing:-
Installer script is expecting pl=`uname -i` to return "i86pc",
actually it returns "i86xpv" on Solaris DomU
Then take care of PATH environment variable before compiling TightVNC.
If Sun Studio has been installed under /opt :-
# export PATH=/opt/SUNWspro/bin:/usr/dt/bin:usr/X/bin:/usr/openwin/bin:$PATH