RHEL6 VNC
Installing Tiger VNC
1 |
yum install tigervnc-server |
Entering users in to the config file to allow remote access
1 2 3 4 5 6 7 |
vi /etc/sysconfig/vncservers VNCSERVERS="2:memed" VNCSERVERARGS[2]="-geometry 1024x768 -depth 16" alternatively VNCSERVERS="1:oracle 2:oinstall" VNCSERVERARGS[1]="-geometry 800x600" VNCSERVERARGS[2]="-geometry 800x600" |
Setting a password (to allow a user to connect remotely)
1 |
vncpasswd |
To configure the vnc service to connect automatically when the system starts
1 2 |
chkconfig vncserver on service vncserver restart |
To end any vnc session
1 |
vncserver -kill :1 |
Granting permission in the iptables
1 2 |
A INPUT -p tcp -m state --state NEW -m tcp --dport 6001 -j ACCEPT A INPUT -p tcp -m state --state NEW -m tcp --dport 5901 -j ACCEPT |
Using RMAN for...
12 March 2019