System Administration Guide: Virtualization Using the Solaris Operating System

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

  1. Become superuser, or assume the appropriate role.

  2. Enable XDMCP for GDM:

    # printf '[xdmcp]\nEnable=true\n' >>/etc/X11/gdm/custom.conf
    # svcadm restart gdm
  3. Make sure that GDM is running:

    # svcadm enable -s gdm
  4. Set the X11-server to listen to the tcp port:

    # svccfg -s x11-server
    svc:/application/x-11/x11-server> setprop options/tcp_listen=true
  5. Enable the Xvnc inetd services:

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

    # vncviewer domU:0