How to Install Desktop Environment on CentOS 7 Oracle Cloud Instance



 

How to Install Desktop Environment on CentOS 7 Oracle Cloud Instance

                             

Installation and Difference between GNOME, MATE and XFCE

This guide shows how to install Desktop Environment on CentOS 7 the same procedure is also applicable if you have CentOS 7 instance installed on Oracle Cloud Always Free, Amazon AWS Free Tier, Google Cloud Always Free and Microsoft Azure Free Tier, IBM Cloud Free Tier, etc see the comparison between all the cloud service providers here.

There are several Desktop Environments available for the CentOS 7 for example GNOME, MATE, XFCE, etc.

All the desktop environments are having different requirements for the resources, if I rate with respect to resources XFCE is the least resource requiring Desktop as per my experience. I will rate MATE on second position. GNOME is a heavy resource desktop environment.

Similarly their look also depends on how much resource these environments use. I would rate GNOME as a best out of these three due to its look and graphics.

Before you install any desktop environment you will need to install XRDP to connect with your remote desktop.

How to Install XRDP

sudo yum install -y epel-release
yum -y install xrdp tigervnc-server
sudo systemctl enable xrdp
sudo systemctl start xrdp

chcon --type=bin_t /usr/sbin/xrdp
chcon --type=bin_t /usr/sbin/xrdp-sesman

How to Open firewall ports

sudo firewall-cmd --add-port=3350/tcp --permanent
sudo firewall-cmd --add-port=3389/tcp --permanent

How to Install GNOME Desktop Environment

Better to start with

 

yum -y update

Install GNOME

yum -y groupinstall "GNOME Desktop" "Graphical Administration Tools" -y
or
sudo yum groupinstall "GNOME DESKTOP" "Graphical Administration Tools" -y

echo "gnome-session" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

Setting GUI target

Since VPS are mostly with the command line interface you will need to set GUI as a boot target so that every time you restart the VPS the OS should boot in GUI environment:

systemctl get-default

if the output says multi-user.target than you will need to run below command:

sudo systemctl set-default graphical.target

and than reboot by below command

reboot

DONE!

Now you can start Remote Desktop in Windows

How to, CentOS 7, Amazon AWS, Google Cloud, Oracle Cloud

If you can't find remote desktop in the start menu you can use

Window Key + R and type mstsc.exe

Now go to your Oracle Cloud Infrastructure Console on the left menu Compute > Instance and select your instance

Copy your public IP and paste in Compute: box of Remote Desktop and connect.

XRDP login menu will popup you will need to login with the "root" user and the password you set for the "root" user

This is how GNOME looks:

How to Install XFCE Desktop Environment

 

This is preferred desktop environment if you are using VPS system with less resources for example if you are using Oracle Cloud Always Free account this environment recommended.

However if you are a graphics fan you can stick to GNOME.

To Install XFCE start with

sudo yum -y install epel-release
sudo yum -y groupinstall "X Window system"
sudo yum groupinstall -y "Xfce"

and to add in XRDP sessions XFCE environment run below command:

echo "xfce4-session" > ~/.Xclients
chmod a+x ~/.Xclients
sudo systemctl restart xrdp.service

and reboot

reboot

 

How to Install MATE Desktop Environment

To install MATE its better to uninstall XFCE or GNOME environment.

To uninstall XFCE:

sudo yum groupremove -y "Xfce"
sudo yum remove -y libxfce4*

Install MATE by following command:

sudo yum -y groupinstall "X Window system"
sudo yum -y groupinstall "MATE Desktop"

echo "mate-session" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

Reboot using this command:

init 6

How to Install KDE Desktop Environment

To install KDE you will need X Window system as well to install both in one command use below command:

sudo yum groupinstall 'KDE' 'X Window System'

echo "startkde" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

Connect with Remote Desktop as explained above.

KDE environment looks like as shown below:

If you like this post please share with your friends.

Please post your questions or comments below.

If you are not sure how to Install CentOS 7 on Oracle Cloud or Amazon AWS Instance follow this guide:

How to Install CentOS 7 on Oracle Cloud or Amazon AWS - Coming Soon

How to Create Account on Oracle Cloud and Launch VM Instance - Coming Soon

Originally Published here:

How to Install Desktop Environment on CentOS 7 Oracle Cloud Instance

Keywords:

yum groupinstall gnome desktop environment, yum groupinstall, gnome, desktop, desktop environment, yum, how to, how to install, CentOS 7, Oracle Cloud Instance, Oracle Cloud Infrastructure, remote desktop centos 7, remote desktop, centos 7

Posted in Technical Solutions on Feb 28, 2021



[SOLVED / FIXED ] Mixing of GROUP columns (MIN(),MAX(),COUNT(),…) with no GROUP columns is illegal if there is no GROUP BY clause. Error in Maria DB

Posted in Technical Solutions on Feb 01, 2021

[SOLVED] Mixing of GROUP columns (MIN(),MAX(),COUNT(),…) with no GROUP columns is illegal if there is no GROUP BY clause. Error in Maria DB



[SOLVED] MySQL / MariaDB Specified key was too long; max key length is 767 bytes

Posted in Technical Solutions on Jan 07, 2022

[SOLVED] MySQL / MariaDB Specified key was too long; max key length is 767 bytes Error : mariadb specified key was too long. Specified key was too long; max key length is 767 bytes.



Low Cost Web Hosting with Advance Features

Posted in Hosting Promotions on Jan 28, 2021

HostingbyAliTech is providing you an amazing advance features at a low cost. The features, which are much expensively available in the web hosting industry.



[SOLVED / FIXED ] Kubernetes / Docker could not create directory. wordpress

Posted in Technical Solutions on Apr 30, 2022

[SOLVED / FIXED ] Kubernetes / Docker could not create directory. wordpress ERROR: could not create directory SOLUTION / FIX: chown -R www-data:www-data /var/www



Ransomware attack forces web hosting provider Managed.com

Posted in News on Jan 25, 2021

Ransomware attack forces web hosting provider Managed.com to take servers offline.



How to Install Remote Desktop on Ubuntu 18.04.6 / Ubuntu 20.04.4 / Raspberry Pi / AMD64 / ARM64

Posted in Technical Solutions on Jun 29, 2022

How to Install Remote Desktop on Ubuntu 18.04.6 / Ubuntu 20.04.4 / Raspberry Pi / AMD64 / ARM64



This is really awesome!!! We are now ranking 🚀5th 👊😍

Posted in About Hosting by AliTech, Hosting Promotions on Jun 07, 2021

This is really awesome!!! We are now ranking 5th on TheWebHostingDir.com. To celebrate this we are giving away 5 Free Shared Hosting Accounts on first come first serve basis.



AliTech snippet featured on Google ☺️

Posted in News on Sep 06, 2020

AliTech snippet featured on Google ☺️



Saudi Arabia to get AstraZeneca Vaccine from India

Posted in News on Jan 27, 2021

Kingdom of Saudi Arabia (KSA) to get AstraZeneca Vaccine shots from from India in about a week. The Serum Institute of India (SII) will supply Saudi Arabia with 3 million AstraZeneca COVID-19 vaccine doses priced at $5.25 each in about a week on behalf of the British drugmaker, its chief executive told Reuters on Monday.



Awesome Partners - Hosting by AliTech

Posted in Uncategorized on May 24, 2021

We are pleased to announce that CyberPanel has chosen us as their Awesome Partner!!! Along with other superb & awesome partners we are cordially welcoming CyberPanel. #hostingbyalitech #alitech #cyberpanel #litespeed #openlitespeed #partnership #partners #awesome #we #are #welcoming https://www.hostingbyalitech.com



[SOLVED / FIXED] django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL

Posted on Mar 27, 2022

[SOLVED / FIXED] django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL ERROR / PROBLEM: Starting the Python Shell in the terminal inside virtual environment.



[SOLVED / FIXED] LinkedIn Company Page Creation error : An error has occurred, please try again later. Learn more.

Posted on Jun 09, 2021

[FIXED] : LinkedIn Company Page Creation error : An error has occurred, please try again later. Learn more. [SOLUTION]: In order to create a Company Page in LinkedIn you will need to meet all the requirements below.



Get 12 Months of AWS Wordpress Hosting for Free

Posted in Hosting Promotions, News, Technical Solutions on Sep 08, 2022

Introduction to AWS Free Tier AWS Free Tier includes many free services which are always free and many services which are offered free for 12 months plan.



[SOLVED / FIXED] Django error 400 bad request

Posted in Technical Solutions on Jul 04, 2021

[SOLEVED] Django error 400 bad request



Coursera is offering 9 free courses with Certificate on their 9th Birthday

Posted on Apr 15, 2021

Coursera is offering 9 free courses with Certificate on their 9th Birthday Earn a free certificate in one of 9 specially selected courses! This special offer* is available through April 30.



The Manifest Hails AliTech Solutions as one of the Most Reviewed IT Services Companies in Pakistan

Posted on Jun 09, 2022

The Manifest Hails AliTech Solutions as one of the Most Reviewed IT Services Companies in Pakistan A robust IT infrastructure is one of the key components of a company’s success in today’s digital landscape. Thankfully, there are companies like AliTech Solutions that can help you with your IT needs. We’ve been in the industry for a while now and our team has managed to help hundreds of clients achieve their goals through our services.



Step by Step Guide for Django Installation on CyberPanel, Litespeed & uWSGI - #CyberPanel #LiteSpeed

Posted on Dec 28, 2021

Step by Step Guide for Django Installation on CyberPanel, Litespeed & uWSGI - #CyberPanel #SFARPak This tutorial explains steps by steps how to Install Django in CyberPanel. The CyberPanel works on the LiteSpeed server which has the fastest performance compared to other servers like Apache & NGINX.



4 tips to enable Nested Virtualization like a PRO

Posted in Technical Solutions on Oct 17, 2021

Nested virtualization is used to enable, use or create virtual machines within virtual machines, consider Virtualbox is running CentOS virtual machine



Other Blogs

Low Cost Web Hosting with Advance Features

Posted in Hosting Promotions on Jan 28, 2021 and updated on Mar 30, 2022

Ransomware attack forces web hosting provider Managed.com

Posted in News on Jan 25, 2021 and updated on Mar 30, 2022

AliTech snippet featured on Google ☺️

Posted in News on Sep 06, 2020 and updated on Oct 23, 2020

Saudi Arabia to get AstraZeneca Vaccine from India

Posted in News on Jan 27, 2021 and updated on Mar 30, 2022

Awesome Partners - Hosting by AliTech

Posted in Uncategorized on May 24, 2021 and updated on May 28, 2021

Get 12 Months of AWS Wordpress Hosting for Free

Posted in Hosting Promotions, News, Technical Solutions on Sep 08, 2022 and updated on Sep 07, 2022

[SOLVED / FIXED] Django error 400 bad request

Posted in Technical Solutions on Jul 04, 2021 and updated on Jul 28, 2021

Coursera is offering 9 free courses with Certificate on their 9th Birthday

Posted on Apr 15, 2021 and updated on Apr 15, 2021

4 tips to enable Nested Virtualization like a PRO

Posted in Technical Solutions on Oct 17, 2021 and updated on Oct 17, 2021






Comments

Please sign in to comment!






Subscribe To Our Newsletter

Stay in touch with us to get latest news and discount coupons