System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Set Up VNC to Provide a Solaris Guest Graphical Login with CDE

  1. Become superuser, or assume the appropriate role.

  2. Enable XDMCP connections:.

    # svccfg -s cde-login
    svc:/application/graphical-login/cde-login> setprop dtlogin/args=""
  3. (Optional) If you are not running vncviewer locally on the control domain, set X11-server to listen to the tcp port:

    # svccfg -s x11-server
    svc:/application/x-11/x11-server> setprop options/tcp_listen=true

    The VNC listen facility should be used with caution due to security considerations.

  4. Enable the Xvnc inetd services.

    # svcadm enable xvnc-inetd
  5. Connect from another machine and verify that you see the login screen and can log in to a desktop session.

    # vncviewer domU:0