2010-11-19

Xvnc on Oracle Solaris 11 Express 2010.11


# 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