System Administration Guide: Virtualization Using the Solaris Operating System
Previous Next

About Xvnc

Virtual network computing (VNC) is a remote control software that allows you to view and fully interact with one computer desktop, the Xvnc server, by using the VNC viewer on another computer desktop. The two computers do not have to be running the same type of operating system. VNC provides a guest domain graphical login.

By default, consoles for HVM guests are graphics consoles. You can use VNC to view a Windows guest domain from a Solaris control domain.

Xvnc displays to a VNC viewer over the network. A VNC viewer is a remote framebuffer (RFB) graphical user interface. Xvnc is a simple protocol for allowing remote access to an RFB protocol client over the network, without requiring an existing X server session to be displayed on local hardware. Xvnc also includes the RealVNC vncviewerclient to connect to remote VNC servers, and several associated management programs.

Xvnc Server

Xvnc is the X VNC (Virtual Network Computing) server. Based on a standard X server, Xvnc has a virtual screen rather than a physical one. X applications display through a VNC viewer as if to a physical X display.

The VNC server display number is the same as the X server display number. For example, snoopy:2 refers to display 2on machine snoopy for both VNC and an X server.

To see the list of Xvnc options, use the -help option:

Xvnc -help

Many options are standard X server options. In addition to options that can only be set at the command line, there are also parameters set through both the command line and the vncconfigprogram.

To start Xvnc, use the vncserver script.

The server can be started by the x11-server SMF service.

For more information, see the Xvnc(1), Xserver(1), vncconfig(1) vncviewer(1), vncserver(1) man pages.

Setting a VNC Password

Use the vncpasswd command to set the password used to access VNC desktops. The password is stored on the server. For more information, see vncpasswd(1) and Example 40-6.

Previous Next