{"id":1515,"date":"2025-02-06T21:21:58","date_gmt":"2025-02-06T15:51:58","guid":{"rendered":"https:\/\/lookouthost.com\/blog\/?p=1515"},"modified":"2025-04-23T18:57:44","modified_gmt":"2025-04-23T13:27:44","slug":"set-up-desktop-rdp-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/lookouthost.com\/blog\/set-up-desktop-rdp-on-ubuntu-24-04\/","title":{"rendered":"Set Up Desktop &amp; RDP on Ubuntu 24.04"},"content":{"rendered":"<p>Using a graphical interface can make managing a remote server or virtual machine easier. You can access an Ubuntu server&#8217;s desktop with RDP from your local computer. This guide explains how to set up RDP on Ubuntu 24.04, including installing a desktop environment, setting up XRDP, and configuring the connection.<\/p><h1 class=\"wp-block-heading\" id=\"0e1b\">Get Ready<\/h1><ul class=\"wp-block-list\"><li>A remote Ubuntu 24.x server or VM<\/li>\n\n<li>A valid IP address for remote access<\/li>\n\n<li>Basic knowledge of Linux commands<\/li>\n\n<li>A configured SSH client to access the server initially<\/li><\/ul><h2 class=\"wp-block-heading\">Step 1: <strong>Update Your System<\/strong><\/h2><p>First, update your system&#8217;s package list and upgrade any outdated packages to ensure a smooth installation of the desktop environment and XRDP. Use the following command:<\/p><p>sudo apt update &amp;&amp; sudo apt upgrade -y<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"898\" height=\"246\" src=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image.png\" alt=\"\" class=\"wp-image-1516\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image.png 898w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-300x82.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-768x210.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-600x164.png 600w\" sizes=\"auto, (max-width: 898px) 100vw, 898px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"897\" height=\"660\" src=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-1.png\" alt=\"\" class=\"wp-image-1517\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-1.png 897w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-1-300x221.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-1-768x565.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-1-80x60.png 80w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-1-600x441.png 600w\" sizes=\"auto, (max-width: 897px) 100vw, 897px\" \/><\/figure><h2 class=\"wp-block-heading\">2. Install a Desktop Environment<\/h2><p>Choose and install a desktop environment. Below are commands to install GNOME, KDE Plasma, and Xfce. GNOME is recommended for most use cases, while Xfce is ideal if you\u2019re prioritizing performance.<\/p><ul class=\"wp-block-list\"><li><strong>GNOME<\/strong>&nbsp;(recommended):<\/li><\/ul><pre class=\"wp-block-code\"><code>sudo apt install ubuntu-gnome-desktop -y<\/code><\/pre><ul class=\"wp-block-list\"><li>KDE Plasma:<\/li><\/ul><pre class=\"wp-block-code\"><code>sudo apt install kde-plasma-desktop -y<\/code><\/pre><ul class=\"wp-block-list\"><li><strong>Xfce<\/strong>&nbsp;(lightweight option):<\/li><\/ul><pre class=\"wp-block-code\"><code>sudo apt install xfce4 xfce4-goodies -y\n<\/code><\/pre><h2 class=\"wp-block-heading\"><strong>3. Install and Configure XRDP<\/strong><br><\/h2><p id=\"09b3\">Install XRDP to allow remote connections via the RDP protocol<\/p><pre class=\"wp-block-preformatted\">sudo apt install xrdp -y<\/pre><p><strong>Add XRDP User to ssl-cert Group<\/strong>: This is necessary for secure connections.<\/p><ul class=\"wp-block-list\"><li><\/li><\/ul><pre class=\"wp-block-code\"><code>sudo adduser xrdp ssl-cert\n<\/code><\/pre><h2 class=\"wp-block-heading\">4. <strong>Configure the Firewall<\/strong><\/h2><p id=\"a286\">Ensure that your server\u2019s firewall allows traffic on port 3389, which XRDP uses.<\/p><pre class=\"wp-block-code\"><code>sudo ufw allow 3389\/tcp\nsudo ufw reload\n<\/code><\/pre><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"892\" height=\"660\" src=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-2.png\" alt=\"\" class=\"wp-image-1520\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-2.png 892w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-2-300x222.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-2-768x568.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-2-80x60.png 80w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-2-600x444.png 600w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/figure><p>Finally you can see the screen of your server using Remote Desktop App from windows<\/p><p><\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"670\" src=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-3-1024x670.png\" alt=\"remote desktop protocol ubuntu\" class=\"wp-image-1521\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-3-1024x670.png 1024w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-3-300x196.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-3-768x502.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-3-600x392.png 600w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2025\/02\/image-3.png 1304w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>Using a graphical interface can make managing a remote server or virtual machine easier. You can access an Ubuntu server&#8217;s desktop with RDP from your local computer. This guide explains how to set up RDP on Ubuntu 24.04, including installing a desktop environment, setting up XRDP, and configuring the connection. Get Ready Step 1: Update Your System First, update your system&#8217;s package list and upgrade any outdated packages to ensure a smooth installation of the desktop environment and XRDP. Use the following command: sudo apt update &amp;&amp; sudo apt upgrade -y 2. Install a Desktop Environment Choose and install a&hellip; <\/p>\n","protected":false},"author":1,"featured_media":1517,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1515","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/1515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/comments?post=1515"}],"version-history":[{"count":4,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/1515\/revisions"}],"predecessor-version":[{"id":1524,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/1515\/revisions\/1524"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/media\/1517"}],"wp:attachment":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/media?parent=1515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/categories?post=1515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/tags?post=1515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}