How to setup VNC Server on an OCI VM instance: OCI Part3
How to setup VNC Server on an OCI VM instance
Login to oci VM instance
[opc@mylinux ~]$ sudo bash
[root@mylinux opc]#
[root@mylinux ~]# yum group list
[root@mylinux ~]# yum group install "Server with GUI"
To check the installed package
[root@mylinux ~]# yum group list
[root@mylinux ~]# yum install tigervnc-server -y
[root@mylinux ~]# exit
[opc@mylinux ~]$ whoami
opc
[opc@mylinux ~]$ vncpasswd
[root@mylinux ~]# cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@\:1.service
[root@mylinux ~]# vi /etc/systemd/system/vncserver@\:1.service
Replace <USER> with opc user
[root@mylinux ~]# systemctl deamon -reload
[root@mylinux ~]# systemctl enable vncserver@\:1.service
[root@mylinux ~]# systemctl start vncserver@\:1.service
[root@mylinux ~]# systemctl status vncserver@\:1.service
Configuring SSH Tunnel using putty from your local PC.
Connection--> Data--> Login details enter opc
SSH>Tunnels> enter Source port 5901, Destination : 127.0.0.1:5901 and click ADD
SSH-->Auth--> browse .ppk file for instance
Navigate to Session and click Save and press Open to connect.
Now open local VNC viewer and type
Click Continue
Enter VNC password and click ok
Click next
Click Next













Comments
Post a Comment