previous version: Easy Setup: Xvnc on Solaris 10 10/08
# vi /etc/gdm/custom.conf
[xdmcp]
Enable=true
# svcadm restart gdm
# svccfg -s x11-server setprop options/tcp_listen=true
# svcadm enable xvnc-inetd
To share the screen,
# inetadm -m xvnc-inetd wait=TRUE exec="/usr/X11/bin/Xvnc -inetd -query localhost -once passwordFile=/var/vnc/.vnc/passwd -alwaysshared"
# HOME=SOME_DIR vncpasswd
# chown SOME_USER SOME_DIR/.vnc/passwd
# chown SOME_USER SOME_DIR/.vnc/passwd