Wednesday, June 27, 2012

TigerVNC on CentOS 6

According to the Tigervnc wiki, TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), a client/server application that allows users to launch and interact with graphical applications on remote machines. TigerVNC provides the levels of performance necessary to run 3D and video applications, and it attempts to maintain a common look and feel and re-use components, where possible, across the various platforms that it supports. TigerVNC also provides extensions for advanced authentication methods and TLS encryption.

To install TigerVNC, follow this step.

1. Create the repository config file /etc/yum.repos.d/slce.repo:
name=Scientific Linux Cyrillic Edition
2. Install tigervnc-server rpm package:
# yum --enablerepo=slce install tigervnc-server
3.Create VNC user
As root :
# useradd lombok
# passwd lombok
4.Set VNC's user password
Switch user into the account for each user, and run: vncpasswd This will create a .vnc directory.
[~]# su - lombok
[~]$ cd .vnc
[.vnc]$ ls
[.vnc]$ exit

4. Edit the server configuration
Edit /etc/sysconfig/vncservers, and add the following to the end of the file.
VNCSERVERARGS[1]="-geometry 800x600"

5. Edit your iptables

6. Start the VNC Server

# /etc/init.d/vncserver start

7.Testing VNC Server

As user lombok :

# vncserver :1

At this point, your server is ready to accept connection from another computer.

Connect to TigerVNC Server

Start VNC Viewer Client, because vncserver starting at display 1 (vncserver:1) you must connect using IP:display_number, in this case :

Just enter user lombok password and press OK



Another Option fow VNC Viewer is TightVNC Java Viewer version 2.5.0

Enter user lombok password and press login.


No comments: