{"id":3887,"date":"2023-11-23T14:10:54","date_gmt":"2023-11-23T06:10:54","guid":{"rendered":"https:\/\/www.servergigabit.com\/guide\/?post_type=kb&#038;p=3887"},"modified":"2026-03-16T10:29:42","modified_gmt":"2026-03-16T02:29:42","slug":"graphical-user-interface-gui","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/graphical-user-interface-gui","title":{"rendered":"Graphical User Interface (GUI) for Linux: 7 Easy Steps"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-3888\" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-300x169.jpeg\" alt=\"Graphical User Interface (GUI) for Linux\" width=\"767\" height=\"432\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-300x169.jpeg 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-1024x576.jpeg 1024w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-768x432.jpeg 768w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-1536x864.jpeg 1536w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-2048x1152.jpeg 2048w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-370x208.jpeg 370w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-1230x692.jpeg 1230w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-800x450.jpeg 800w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/31-390x219.jpeg 390w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/p>\n<div class=\"markdown markdown-main-panel\" dir=\"ltr\">\n<h3 data-sourcepos=\"7:1-7:262\">How to install Graphical User Interface (GUI) for Linux?<\/h3>\n<p data-sourcepos=\"7:1-7:262\">This tutorial will guide you through the process of installing a Graphical User Interface (GUI) for <a href=\"https:\/\/www.servergigabit.com\/linux-vps-hosting\/\">Linux server<\/a>. A GUI provides a visual interface for interacting with your server, making it easier to manage files, install software, and perform other tasks.<\/p>\n<h2 data-sourcepos=\"9:1-9:17\"><strong>Prerequisites<\/strong><\/h2>\n<ul data-sourcepos=\"11:1-13:0\">\n<li data-sourcepos=\"11:1-11:32\">A <a href=\"https:\/\/www.servergigabit.com\/linux-vps-hosting\/\">Linux server<\/a> with SSH access<\/li>\n<li data-sourcepos=\"12:1-13:0\">A root or sudo user account<\/li>\n<\/ul>\n<h2 data-sourcepos=\"14:1-14:30\"><strong>Installing a GUI on <a href=\"https:\/\/ubuntu.com\/\" target=\"_blank\" rel=\"noopener\">Ubuntu<\/a><\/strong><\/h2>\n<h4 data-sourcepos=\"16:1-16:22\"><strong>Ubuntu 16.04\/18.04<\/strong><\/h4>\n<ol data-sourcepos=\"18:1-21:0\">\n<li data-sourcepos=\"18:1-19:0\">\n<p data-sourcepos=\"18:4-18:42\">Connect to your server as root via SSH.<\/p>\n<\/li>\n<li data-sourcepos=\"20:1-21:0\">\n<p data-sourcepos=\"20:4-20:59\">Create a new user for your GUI login and set a password:<\/p>\n<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">useradd -m NewUserName &amp;&amp; passwd NewUserName\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"3\" data-sourcepos=\"26:1-27:0\">\n<li data-sourcepos=\"26:1-27:0\">Install the Ubuntu-Desktop GUI:<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">apt update &amp;&amp; apt upgrade -y &amp;&amp; apt install ubuntu-desktop -y &amp;&amp; init 6\r\n<\/code><\/pre>\n<\/div>\n<p data-sourcepos=\"32:1-32:51\"><strong>Alternatively, install the Kubuntu-Desktop GUI:<\/strong><\/p>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">apt update &amp;&amp; apt upgrade -y &amp;&amp; apt install kubuntu-desktop -y &amp;&amp; init 6\r\n<\/code><\/pre>\n<\/div>\n<h4 data-sourcepos=\"38:1-38:35\"><strong>Ubuntu 18.10 and later versions<\/strong><\/h4>\n<ol data-sourcepos=\"40:1-43:0\">\n<li data-sourcepos=\"40:1-41:0\">\n<p data-sourcepos=\"40:4-40:42\">Connect to your server as root via SSH.<\/p>\n<\/li>\n<li data-sourcepos=\"42:1-43:0\">\n<p data-sourcepos=\"42:4-42:59\">Create a new user for your GUI login and set a password:<\/p>\n<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">useradd -m NewUserName &amp;&amp; passwd NewUserName\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"3\" data-sourcepos=\"48:1-49:0\">\n<li data-sourcepos=\"48:1-49:0\">Choose from a variety of GUIs using the &#8220;tasksel&#8221; tool:<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">apt update &amp;&amp; apt upgrade -y &amp;&amp; tasksel\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"4\" data-sourcepos=\"54:1-57:0\">\n<li data-sourcepos=\"54:1-55:0\">\n<p data-sourcepos=\"54:4-54:55\">Select the desired GUI and confirm the installation.<\/p>\n<\/li>\n<li data-sourcepos=\"56:1-57:0\">\n<p data-sourcepos=\"56:4-56:111\">Reboot your server to make your GUI accessible via your VPS VNC access or KVM in case of a dedicated server.<\/p>\n<\/li>\n<\/ol>\n<h2 data-sourcepos=\"58:1-58:30\"><strong>Installing a GUI on CentOS<\/strong><\/h2>\n<h4 data-sourcepos=\"60:1-60:12\"><strong>CentOS 6<\/strong><\/h4>\n<ol data-sourcepos=\"62:1-65:0\">\n<li data-sourcepos=\"62:1-63:0\">\n<p data-sourcepos=\"62:4-62:42\">Connect to your server as root via SSH.<\/p>\n<\/li>\n<li data-sourcepos=\"64:1-65:0\">\n<p data-sourcepos=\"64:4-64:59\">Create a new user for your GUI login and set a password:<\/p>\n<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">useradd -m NewUserName &amp;&amp; passwd NewUserName\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"3\" data-sourcepos=\"70:1-71:0\">\n<li data-sourcepos=\"70:1-71:0\">Edit the &#8220;\/etc\/inittab&#8221; file to boot to runlevel 5:<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">nano \/etc\/inittab\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"4\" data-sourcepos=\"76:1-77:0\">\n<li data-sourcepos=\"76:1-77:0\">Change the following line:<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">id:3:initdefault: -&gt; id:5:initdefault:\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"5\" data-sourcepos=\"82:1-85:0\">\n<li data-sourcepos=\"82:1-83:0\">\n<p data-sourcepos=\"82:4-82:76\">Save your changes and close the editor by pressing Ctrl+O, Enter, Ctrl+X.<\/p>\n<\/li>\n<li data-sourcepos=\"84:1-85:0\">\n<p data-sourcepos=\"84:4-84:47\">Install the GNOME GUI and required software:<\/p>\n<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">yum update -y &amp;&amp; yum -y groupinstall \"Desktop\" \"X Window System\" \"Fonts\" &amp;&amp; init 6\r\n<\/code><\/pre>\n<\/div>\n<p data-sourcepos=\"90:1-90:39\"><strong>Alternatively, install the KDE GUI:<\/strong><\/p>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">yum update -y &amp;&amp; yum -y groupinstall \"KDE desktop\" \"X Window System\" \"Fonts\" &amp;&amp; init 6\r\n<\/code><\/pre>\n<\/div>\n<h4 data-sourcepos=\"96:1-96:12\"><strong>CentOS 7<\/strong><\/h4>\n<ol data-sourcepos=\"98:1-101:0\">\n<li data-sourcepos=\"98:1-99:0\">\n<p data-sourcepos=\"98:4-98:42\">Connect to your server as root via SSH.<\/p>\n<\/li>\n<li data-sourcepos=\"100:1-101:0\">\n<p data-sourcepos=\"100:4-100:59\">Create a new user for your GUI login and set a password:<\/p>\n<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">useradd -m NewUserName &amp;&amp; passwd NewUserName\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"3\" data-sourcepos=\"106:1-108:0\">\n<li data-sourcepos=\"106:1-108:0\">Install the KDE GUI:\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\"><span class=\"citation-0 citation-end-0\">yum update -y &amp;&amp; yum -y groupinstall \"KDE Plasma Workspaces\" &amp;&amp; ln -sf \/lib\/systemd\/system\/runlevel5.target \/etc\/systemd\/system\/default.target &amp;&amp; init 6<\/span><\/code><\/pre>\n<\/div>\n<\/li>\n<\/ol>\n<p data-sourcepos=\"112:1-112:41\"><strong>Alternatively, install the GNOME GUI:<\/strong><\/p>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\"><span class=\"citation-1 citation-end-1\">yum update -y &amp;&amp; yum -y groupinstall \"GNOME Desktop\" \"Graphical Administration Tools\" &amp;&amp; ln -sf \/lib\/systemd\/system\/runlevel5.target \/etc\/systemd\/system\/default.target<\/span> &amp;&amp; init 6<\/code><\/pre>\n<\/div>\n<h2 data-sourcepos=\"118:1-118:30\"><strong>Installing a GUI on Debian<\/strong><\/h2>\n<h4 data-sourcepos=\"120:1-120:31\"><strong>Debian 8 and later versions<\/strong><\/h4>\n<ol data-sourcepos=\"122:1-125:0\">\n<li data-sourcepos=\"122:1-123:0\">\n<p data-sourcepos=\"122:4-122:42\">Connect to your server as root via SSH.<\/p>\n<\/li>\n<li data-sourcepos=\"124:1-125:0\">\n<p data-sourcepos=\"124:4-124:59\">Create a new user for your GUI login and set a password:<\/p>\n<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">useradd -m NewUserName &amp;&amp; passwd NewUserName\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"3\" data-sourcepos=\"130:1-131:0\">\n<li data-sourcepos=\"130:1-131:0\">Install the GNOME GUI:<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">apt update &amp;&amp; apt upgrade -y &amp;&amp; apt install gnome -y &amp;&amp; init 6\r\n<\/code><\/pre>\n<\/div>\n<p data-sourcepos=\"136:1-136:39\"><strong>Alternatively, install the KDE GUI:<\/strong><\/p>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">apt update &amp;&amp; apt upgrade -y &amp;&amp; apt install kde-standard -y &amp;&amp; init 6\r\n<\/code><\/pre>\n<\/div>\n<h2 data-sourcepos=\"142:1-142:20\"><strong>Additional Notes<\/strong><\/h2>\n<ul data-sourcepos=\"144:1-149:0\">\n<li data-sourcepos=\"144:1-145:0\">\n<p data-sourcepos=\"144:3-144:75\">You can connect to your GUI via VNC or KVM in case of a dedicated server.<\/p>\n<\/li>\n<li data-sourcepos=\"146:1-147:0\">\n<p data-sourcepos=\"146:3-146:97\">If you are using a firewall, you will need to open the appropriate ports for VNC or KVM access.<\/p>\n<\/li>\n<li data-sourcepos=\"148:1-149:0\">\n<p data-sourcepos=\"148:3-148:84\">For added security, it is recommended to use a strong password for your GUI login.<\/p>\n<\/li>\n<\/ul>\n<h2 data-sourcepos=\"150:1-150:14\"><strong>Conclusion<\/strong><\/h2>\n<p data-sourcepos=\"152:1-152:202\">By following the instructions in this tutorial, you can easily install a graphical user interface on your <a href=\"https:\/\/www.servergigabit.com\/linux-vps-hosting\/\">Server Gigabit&#8217;s Linux server<\/a>. This will make it easier to manage your server and perform a wider range of tasks.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to install Graphical User Interface (GUI) for Linux? This tutorial will guide you through the process of installing a Graphical User Interface (GUI) for Linux server. A GUI provides a visual interface for interacting with your server, making it easier to manage files, install software, and perform other tasks. Prerequisites A Linux server with SSH access A root or&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[1099],"kbtag":[1130],"class_list":["post-3887","kb","type-kb","status-publish","hentry","kbtopic-tutorials","kbtag-gui-for-linux"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=3887"}],"version-history":[{"count":4,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3887\/revisions"}],"predecessor-version":[{"id":6273,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3887\/revisions\/6273"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=3887"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=3887"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=3887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}