Skip to main content

Install GNOME on OL8 at OCI

·115 words·1 min
Orlando Gentil
Author
Orlando Gentil
Jack of all trades, master of none
Table of Contents
I need to run programs with a graphical interface at my OCI instance.

TL;DR
#

Xserver install
#

sudo dnf config-manager --enable ol8_codeready_builder*
sudo dnf -y update  
sudo dnf install -y xorg-x11-apps xorg-x11-xauth

At his point, ssh -x will work fine

Gnome install
#

sudo dnf groupinstall -y "Server with GUI"
sudo systemctl set-default graphical.target
sudo systemctl set-default graphical

Install access to the graphical interface
#

sudo dnf config-manager --enable ol8_developer_EPEL
sudo dnf -y update
sudo dnf -y install xrdp
sudo systemctl enable xrdp --now
sudo systemctl status xrdp
sudo firewall-cmd  --add-port=3389/tcp --permanent
sudo firewall-cmd --reload

Change opc password
#

sudo passwd opc

Use an RDP client to access the instance.

Long Version
#

TBD