You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

How to Connect Through VNC Using the Public IP Address of an Oracle Linux 7 Instance on OCI

edited Jun 30, 2022 1:56PM in Linux

This article explains how to configure VNC to connect to an Oracle Linux 7 instance via the instance's public IP address on OCI.

1) Install graphical user interface (GUI) for Oracle Linux 7.

As the opc user, run the following command:

(opc)$ sudo yum groupinstall "Server with GUI" -y

2) Set graphical target (runlevel 5) as the default target for the system:

(opc)$ sudo ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

3) Reboot the system:

(opc)$ sudo shutdown -r now

4) Install tigervnc-server and mesa-libGL:

(opc)$ sudo yum install mesa-libGL -y

(opc)$ sudo yum install tigervnc-server -y

5) Switch to the opc user and set a password (in order to unlock the screensaver on the GUI) and a vncpassword for opc user.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!