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:

https://engineer.org.pk/2019/10/04/how-to-desktop-centos-7-oraclecloud/

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



Mastering Multi-Server Management and Enhanced Web Security

Posted in Uncategorized on Jul 08, 2024

Managing multiple servers and ensuring robust web security are crucial in today’s digital landscape. This comprehensive guide explores the benefits and processes of multi-server management, including the use of CloudFlare for enhanced performance, CodeGuard for automated backups, and SiteLock for comprehensive security. Learn how to add various hosting services to your account, implement advanced security features, and protect your domain and data effectively. Enhance your website's reliability, scalability, and performance with these essential strategies.



Meta Connect 2024: A Deep Dive into Meta's New AI Features and Llama 3.2

Posted in News on Sep 27, 2024

Meta Connect 2024 unveiled a suite of groundbreaking AI features that are set to reshape user experiences across Meta's apps. At the heart of these innovations is Llama 3.2, Meta’s latest large language model with multimodal capabilities, allowing it to process both text and images. This model powers everything from intuitive image editing to real-time voice interactions and seamless translation. Additionally, Meta's AI Studio lets users create lifelike chatbots, while the introduction of AI-powered voice assistants and real-time dubbing highlights Meta's commitment to pushing the boundaries of artificial intelligence



Install Django on CyberPanel and Openlitespeed with WSGI

Posted in Technical Solutions on Feb 02, 2021

Install Django on CyberPanel and Openlitespeed with WSGI These links were of help but I had to struggle alot to reach to success which changes have been included in these guides:



The Ultimate Guide to Different Types of Web Hosting

Posted in Uncategorized on Jun 24, 2024

Choosing the right web hosting service can be overwhelming, but understanding the differences between shared hosting, VPS hosting, Wordpress hosting, reseller hosting, and cloud hosting can help. Learn about the pros and cons of each option and make an informed decision for your website's needs.



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



[SOLVED / FIXED] DataError: (1406, "Data too long for column 'name' at row 1")

Posted in Technical Solutions on Sep 14, 2022

DataError: (1406, "Data too long for column 'name' at row 1") Error: DataError: (1406, "Data too long for column 'name' at row 1") Problem Statement: When creating a Slug in Django Model with Slugify this error populates. Solution:



Top Cloud Service Providers in the World

Posted in Uncategorized on Sep 20, 2024

In today's digital age, cloud service providers are essential for businesses looking to enhance their IT infrastructure, improve scalability, and secure data. Leading platforms like Amazon Web Services (AWS), Microsoft Azure, and Google Cloud dominate the market, each offering unique services and benefits tailored to various business needs. From AWS's extensive range of tools to Azure's seamless Microsoft integration and Google Cloud's powerful data analytics capabilities, organizations have ample options to choose from. This article explores the top cloud service providers, what they offer, and how to select the right one for your business.



[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.



[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



General Motors (GM) Lays Off Over 1,000 Salaried Software, Services Employees

Posted in News on Aug 20, 2024

General Motors (GM) has announced the layoff of over 1,000 salaried employees from its software and services divisions, signaling a major shift in its strategic focus. The cuts, affecting both domestic and international positions, come as GM aims to streamline operations and prioritize high-impact projects such as enhancing its Super Cruise driver assistance system and exploring artificial intelligence. This move follows a review after the departure of former executive Mike Abbott and reflects GM's broader push towards innovation in the rapidly evolving automotive sector.



[SOLVED/FIXED] Python Django - crbug non-JS module files deprecated.

Posted in Technical Solutions on Feb 28, 2022

[SOLVED/FIXED] Python Django - crbug/1173575, non-JS module files deprecated. ERROR: ERR_TOO_MANY_REDIRECTS SOLUTION:



OpenAI Just Announced New AI Features: Key Takeaways from DevDay

Posted in News on Oct 02, 2024

OpenAI has once again made headlines with a series of groundbreaking announcements at its recent developer event, DevDay. These updates promise to change the way developers and entrepreneurs build AI-powered products. Whether you're working on a new voice assistant or simply trying to optimize API usage, these new features will play a pivotal role in enhancing the performance and accessibility of AI technologies. In this article, we’ll break down everything you need to know about the new tools and capabilities OpenAI announced. From AI voice assistants to cutting-edge API updates, these innovations are setting the stage for the future of AI.



Apple lands most profitable quarter of 2021

Posted in News on Jan 30, 2021

Revenue up 21 percent and EPS up 35 percent to new all-time records. Apple reported its largest-ever quarter when measured by revenue with $111.4 billion in Q4 revenue. This is impressive! Apple Inc cornered nearly a quarter of the global smartphone market in the fourth quarter, making it the world’s biggest seller. I still remember the discussions of not too long ago when many pundits questioned Apple’s iPhone strategy and future potential. Well... I guess here’s the answer!



Unbeatable Prices and Performance: HostingbyAliTech's Cloud Hosting

Posted in Hosting Promotions on Jun 07, 2024

HostingbyAliTech offers low-cost cloud web hosting with optimized performance using CyberPanel and LiteSpeed, making it the top choice for quality and speed-conscious clients since 2020.



Hosting by AliTech: Winner of CorporateVision's Global Business Award 2022

Posted in News on Jun 07, 2024

Discover how Hosting by AliTech emerged as the 'Best Affordable Web Hosting Provider 2022 - Pakistan' and won the prestigious Global Business Award. Explore our commitment to providing top-notch web hosting solutions at affordable prices and empowering businesses to establish a strong online presence.



[SOLVED / FIXED] mysqlclient ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Posted on Jun 09, 2022

[SOLVED / FIXED] mysqlclient ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.



Tips For Minimizing Website Downtime

Posted in Technical Solutions on Jul 02, 2024

Learn effective strategies to minimize website downtime and ensure continuous online presence.



UAE to grant citizenship to expat investors and professionals

Posted in News on Jan 30, 2021

UAE to grant citizenship to expat investors and professionals including engineers, doctors, artists "The UAE cabinet, local Emiri courts & executive councils will nominate those eligible for the citizenship under clear criteria set for each category. The law allows receivers of the UAE passport to keep their existing citizenship."




Other Blogs


Mastering Multi-Server Management and Enhanced Web Security

Posted in Uncategorized on Jul 08, 2024 and updated on Jul 08, 2024

Meta Connect 2024: A Deep Dive into Meta's New AI Features and Llama 3.2

Posted in News on Sep 27, 2024 and updated on Sep 27, 2024

Install Django on CyberPanel and Openlitespeed with WSGI

Posted in Technical Solutions on Feb 02, 2021 and updated on Aug 26, 2022

The Ultimate Guide to Different Types of Web Hosting

Posted in Uncategorized on Jun 24, 2024 and updated on Jun 24, 2024

Top Cloud Service Providers in the World

Posted in Uncategorized on Sep 20, 2024 and updated on Sep 20, 2024

General Motors (GM) Lays Off Over 1,000 Salaried Software, Services Employees

Posted in News on Aug 20, 2024 and updated on Aug 20, 2024

OpenAI Just Announced New AI Features: Key Takeaways from DevDay

Posted in News on Oct 02, 2024 and updated on Oct 02, 2024

Apple lands most profitable quarter of 2021

Posted in News on Jan 30, 2021 and updated on Aug 26, 2022

Unbeatable Prices and Performance: HostingbyAliTech's Cloud Hosting

Posted in Hosting Promotions on Jun 07, 2024 and updated on Jun 07, 2024

Hosting by AliTech: Winner of CorporateVision's Global Business Award 2022

Posted in News on Jun 07, 2024 and updated on Jun 07, 2024

Tips For Minimizing Website Downtime

Posted in Technical Solutions on Jul 02, 2024 and updated on Jul 02, 2024

UAE to grant citizenship to expat investors and professionals

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







Comments

Please sign in to comment!






Subscribe To Our Newsletter

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