How to Install and Access Fedora GUI in Fedora Server

How to Install and Access Fedora GUI in Fedora Server

From the previous tutorial, I provided information about how to setup Fedora 39 Cloud Server with the latest release. It's too powerful and accessible as a web server. But one of the biggest problems is this server is not accessible for Graphical User Interface. For installing the GUI, you need to manually do the installation.

In this tutorial, I'll install Fedora Cloud GUI and setup on Fedora cloud. First, you can setup the Fedora Server from any cloud services providers like Amazon Web Services, Google Cloud, and Microsoft Azure. If you don't have a Cloud Providers Account then get started with a virtual machine for practical purposes. But one of the biggest things you need to understand is about using the Fedora Server, not a Fedora workstation, in Virtual Machine. After completing this step, you can connect to the Fedora Server via SSH Client.

Setup Fedora GUI from Server Edition

first we need to add the new user on Fedora server for access. If in your cloud server, you can access this over sudo default user then switch to the root user.

$ sudo su -

Now you are successfully switched to the root user. Now add the new users on the server and allow the sudo permissions.

$ adduser #user $ sudo passwd #user $ usermod -a -G wheel #user
[fedora@ip-172-31-56-165 ~]$ sudo su -
[root@ip-172-31-56-165 ~]# adduser test
[root@ip-172-31-56-165 ~]# sudo passwd test
Changing password for user test.
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.
[root@ip-172-31-56-165 ~]# usermod -a -G wheel test
[root@ip-172-31-56-165 ~]# sudo su test -
[test@ip-172-31-56-165 root]$ 

In this command, you can set the name and more details and password to create the new user. Now switch to the new user with the following command:

$ sudo su #user -

Install Fedora Server GUI

Now, update and upgrade all Ubuntu packages with the following command:

$ sudo dnf update && sudo dnf upgrade -y

After updating and upgrading all the packages your system is up to date and now we can start this process. Check all available group available data with the following command. After putting this command:

$ sudo dnf group list
[test@ip-172-31-56-165 root]$ sudo dnf group list
Last metadata expiration check: 0:04:05 ago on Wed 27 Dec 2023 07:43:42 AM UTC.
Available Environment Groups:
   Fedora Custom Operating System
   Minimal Install
   Fedora Server Edition
   Fedora Workstation
   KDE Plasma Workspaces
   Xfce Desktop
   Phosh Desktop
   LXDE Desktop
   LXQt Desktop
   Cinnamon Desktop
   MATE Desktop
   Sugar Desktop Environment
   Deepin Desktop
   Budgie Desktop
   Development and Creative Workstation
   Web Server
   Infrastructure Server
   Basic Desktop
   i3 desktop
   Sway Desktop
Installed Environment Groups:
   Fedora Cloud Server
Available Groups:
   3D Printing
   Administration Tools
   Audio Production
   Authoring and Publishing
   Budgie
   Budgie Desktop Applications
   C Development Tools and Libraries
   Cloud Infrastructure
   Cloud Management Tools
   Compiz
   Container Management
   D Development Tools and Libraries
   Design Suite
   Development Tools
   Domain Membership
   Editors
   Educational Software
   Electronic Lab
   Engineering and Scientific
   FreeIPA Server
   Games and Entertainment
   Headless Management
   LibreOffice
   MATE Applications
   Milkymist
   Network Servers
   Neuron Modelling Simulators
   Office/Productivity
   Python Classroom
   Python Science
   Robotics
   RPM Development Tools
   Security Lab
   Sound and Video
   Sway Window Manager (supplemental packages)
   System Tools
   Text-based Internet
   Window Managers
[test@ip-172-31-56-165 root]$ 

you can show all available groups options. From this list, you can install any available desktop environment. Choose to install and setup. In my case, I can install Fedora Workstation. You can try the KDE Plasma or more.

$ sudo dnf group install "Fedora Workstation"
Fedora Workstation Desktop Envorment Install in Fedora Server

You can replace your comfortable desktop environment according to your need. This installation process is taking some time according to your server capacity and internet speed. After completing this step on this server, Fedora Desktop is installed. Now Fedora is ready. Let's start making the Fedora GUI accessible.

Fedora Remote Client Setup

Main step for making the Fedora GUI accessible via Virtual Desktop. In this case, Nomachine is the best software to make Fedora Remote Client. It's available for all devices like Linux, Apple, Android, and Raspberry Pi. For the Fedora System. For installing the Remote Nomachine Server, put the following command in Fedora Server's Terminal and install.

$ sudo wget https://download.nomachine.com/download/8.10/Linux/nomachine_8.10.1_1_x86_64.rpm $ sudo dnf install ./nomachine_8.10.1_1_x86_64.rpm

Now the server is ready to use. Enable the TCP Port 4000 from your Cloud Server Provider through the Firewall Services. After doing this process, just reboot your Fedora Cloud.

$ sudo reboot

After rebooting your server, go to your computer or Android phone and open the Nomachine Software.

0:00
/0:17

Fedora GUI Access Demo

From the given video, put your current host means IPv4 Address and create the User Account. Double click on this to open and connect to Remote Host and put your username and password to connect to Fedora GUI Server and enjoy it.

Buy Me A Coffee