VNC on OCI

0

yum -y install tigervnc-server
yum -y install firefox
yum -y install mesa-libGL
yum -y groupinstall kde-desktop

Database

# iptables -I INPUT -m state –state NEW -p tcp –destination-port 5901 -j ACCEPT
# iptables -I INPUT -m state –state NEW -p tcp –destination-port 5902 -j ACCEPT
# iptables -I INPUT -m state –state NEW -p tcp –destination-port 5903 -j ACCEPT
# iptables -I INPUT -m state –state NEW -p tcp –destination-port 5904 -j ACCEPT”

Compute instance

firewall-cmd –zone=public –permanent –add-port=5901/tcp

firewall-cmd –reload

firewall-cmd –zone=public –list-all

vncserver

Release ingress rule for 5901

yum install nmap

vncserver :1

nmap -Pn  132.145.164.13

Share.

About Author

Leave A Reply