Step:-1
Stop the iptables service:
# service iptables stop
service ip6tables stop
Stop the iptables service from starting when you restart the server:
# chkconfig iptables off
chkconfig ip6tables off
Step:-2
Disabling SELinux
To disable SELinux,
configure SELINUX=disabled in /etc/selinux/config
Step:-3
Install the VNC Server.
# yum install tigervnc-server
Step:-4
Edit the "/etc/sysconfig/vncservers" file to configure the required displays.
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 1280x1024
Step:-5
Set the VNC password for any users defined in the "/etc/sysconfig/vncservers" file.
# vncpasswd
Password:
Verify:
Step:-6
Enable the "vncserver" service for autostart and start the service.
# chkconfig vncserver on
# service vncserver start
You should now be able to use a VNC viewer to connect to system using the display numbers and passwords defined.
Step:-7
Use the following commands to stop the service and disable autostart.
# service vncserver stop
# chkconfig vncserver off
Stop the iptables service:
# service iptables stop
service ip6tables stop
Stop the iptables service from starting when you restart the server:
# chkconfig iptables off
chkconfig ip6tables off
Step:-2
Disabling SELinux
To disable SELinux,
configure SELINUX=disabled in /etc/selinux/config
Step:-3
Install the VNC Server.
# yum install tigervnc-server
Step:-4
Edit the "/etc/sysconfig/vncservers" file to configure the required displays.
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 1280x1024
Step:-5
Set the VNC password for any users defined in the "/etc/sysconfig/vncservers" file.
# vncpasswd
Password:
Verify:
Step:-6
Enable the "vncserver" service for autostart and start the service.
# chkconfig vncserver on
# service vncserver start
You should now be able to use a VNC viewer to connect to system using the display numbers and passwords defined.
Step:-7
Use the following commands to stop the service and disable autostart.
# service vncserver stop
# chkconfig vncserver off
No comments:
Post a Comment