Virtual Network Computing (VNC) is a graphical (GUI) desktop sharing system which uses the RFB (Remote FrameBuffer) protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.
VNC is platform-independent — a VNC viewer on any operating system can usually connect to a VNC server on any other operating system. There are clients and servers for almost all GUI operating systems and for Java. Multiple clients may connect to a VNC server at the same time. Popular uses for this technology include remote technical support and accessing files on one's work computer from one's home computer.
VNC was originally developed at AT&T. The original VNC source code and many modern derivatives are open source under the GNU General Public License.
Installing VNC server on Sun Solaris 10 (RealVNC) and VNC client can be performed by following steps:
1. Download
RealVNC server package (Download & Use -> confirm form -> Find the latest Solaris package)
2. Install package
# pkgadd -d vnc-4_1_1-x86_solaris.pkg
3. Add the 'vnc' service to
/etc/services:
# echo 'vnc 5900/tcp' >>/etc/services
4. Convert and import the inetd configuration line to Solaris 10's new Service Management Framework:
# echo 'vnc stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query localhost -once securitytypes=none' > vnc.inetd.conf
# inetconv -i vnc.inetd.conf
To later change the resolution of the spawned server, or any other options, change the
exec property as follows:
# inetadm -m network/vnc/tcp exec="/usr/local/bin/Xvnc -inetd -query localhost -once securitytypes=none -screen 0 1280x1024x16"
Then you can use
inetadm to manage it:
# inetadm -l svc:/network/vnc/tcp:default (show details - giving full service name)
# inetadm -d network/vnc/tcp (disable - you can abbreviate the service name like this)
# inetadm -e network/vnc/tcp (enable)
May be necessary to restart
inetd:
# svcadm restart inetd
5. Connect to VNC port 5900 to see the desktop login!