Part 2.7 - Disaster Recovery with SRM & VNC

Bubblebridge is in place but since its a full fledged CentOs 6.3 desktop distro why not have proper access to it. So I thought I would enable VNC on it.

Installation

Just to make sure check that vnc or rather tigervnc is installed executing the following:

rpm -q tigervnc-server
rpm -q tigervnc


If not present the following should cure that:

yum install tigervnc-server tigervnc



Setup

VNC user accounts. Unless you want to run as an already existing user the following would create a user (or if repeated) users for you. As root.
useradd
passwd
In my case I'll go with the bubblebridge user the above is already fixed.

Next step is to edit the server configuration file /etc/sysconfig/vncservers adding the following at the end.
VNCSERVERS="2:"
VNCSERVERARGS[2]="-geometry 800x600"

Now its time to setup the vncpasswd for the users by su:ing out of root to the users.su -
vncpasswd
exit

Check that the server starts and stops as intended and when it does add it to the set of auto started services.service vncserver stop
service vncserver start
chkconfig vncserver on

Update iptables to allow access

# Open VNC
-A INPUT -m state --state NEW -m tcp -p tcp -dport 5800

-A INPUT -m state --state NEW -m tcp -p tcp -dport 5900
-A INPUT -m state --state NEW -m tcp -p tcp -dport 6000



And finally restart iptables to allow access

service iptables restart



Comments

ALEX said…
Cloud DR solutions are essential for data backup recovery of lost data from the system. This blog provide very good information on disaster recovery development.

Popular posts from this blog

Possible SYN flooding on port 3306 (MySQL)

Part 1 - Disaster Recovery with SRM and vSphere Replication

Part 2 - Disaster Recovery with SRM and vSphere Replication