{"id":18886,"date":"2022-10-04T16:09:03","date_gmt":"2022-10-04T16:09:03","guid":{"rendered":"https:\/\/linuxways.net\/?p=18886"},"modified":"2022-11-04T02:44:14","modified_gmt":"2022-11-04T02:44:14","slug":"ubuntu-22-04-remote-desktop-access-windows","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/ubuntu-22-04-remote-desktop-access-windows\/","title":{"rendered":"Ubuntu 22.04 Remote Desktop Access from Windows"},"content":{"rendered":"<p>The latest version of Ubuntu 22.04 LTS allows us to access the remote desktop from the Windows. Windows 10 provides the \u201cRemote Desktop Connection\u201d tool which is a fairly effective tool that connects the system remotely via the RDP protocol. The remote connection between two Windows systems is quite simple as compared to the Linux system as the Linux system does not include the RDP protocol by default. We can manually configure the Ubuntu 22.04 to enable the remote desktop connection.<\/p>\n<p>The RDP protocol allows the users to establish the secure connections to other systems via the internet. They can interact with the graphical user interface on the remote server in a way that is similar to what they would with a desktop system using their mouse and keyboard. We use this RDP protocol because it can establish the connection with non-Microsoft operating systems like Ubuntu 22.04 or many others. We have some steps to follow in Ubuntu 22.04 for the remote connection.<\/p>\n<h2><strong>Remote Desktop Access of Ubuntu 22.04 from Windows 10 with the Command Line<\/strong><\/h2>\n<p>To remotely access the Ubuntu 22.04 in Windows 10, we use the xdrp application. This enables us to use the Windows application known as \u201cMicrosoft Remote Desktop Connection\u201d. By utilizing the xdrp, we can remotely sign in to Ubuntu 22.04 and establish a desktop session as we were logged in to a local machine. To do so, we install the xdrp into our Ubuntu 22.04 which does not require any third party as the system has a built-in apt repository to install it.<\/p>\n<p>First, we update our system with the apt update command. This updates the system packages and dependencies.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"827\" height=\"218\" class=\"wp-image-18903\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-1.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-1.jpeg 827w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-1-300x79.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-1-768x202.jpeg 768w\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" \/><\/strong><\/p>\n<p>The system is updated successfully. Now, we can easily install the xdrp under the sudo privilege with the apt command. The following command execution shows the installation of the xdrp application in Ubuntu 22.04.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"809\" height=\"258\" class=\"wp-image-18913\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-2.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-2.jpeg 809w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-2-300x96.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-2-768x245.jpeg 768w\" sizes=\"auto, (max-width: 809px) 100vw, 809px\" \/><\/p>\n<p>The prompt asks for the continuation of the installation as shown in the most recent line of the previous image. By entering, the \u201cY\u201d proceeds with the installation as \u201cY\u201d is assumed to be \u201cyes\u201d. After this, xdrp is installed in our Ubuntu 22.04.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"229\" class=\"wp-image-18917\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-3.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-3.jpeg 828w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-3-300x83.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-3-768x212.jpeg 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/strong><\/p>\n<p>To start the xdrp, we use the enable or start keyword with the systemctl command. We enable the xdrp remote desktop server with the following system boot:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"91\" class=\"wp-image-18922\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-4.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-4.jpeg 726w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-4-300x38.jpeg 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/strong><\/p>\n<p>Now, we open the port 3389 for the system firewall which allows the other systems to access the Ubuntu 22.04.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"716\" height=\"60\" class=\"wp-image-18925\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-5.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-5.jpeg 716w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-5-300x25.jpeg 300w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/strong><\/p>\n<p>Next, we access the IP address of Ubuntu 22.04 through the \u201c-I\u201d flag with the hostname command. The IP address is generated on the screen which we will use later to connect with the window.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"58\" class=\"wp-image-18927\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-6.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-6.jpeg 703w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-6-300x25.jpeg 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/strong><\/p>\n<p>Once we are done with the xdrp installation, our system should be logged out to avoid generating the black screen on Windows 10 while connecting to Ubuntu 22.04 with the xdrp application remotely. Then, we search for the \u201cRemote Desktop Connection\u201d from the Windows menu and launch it by clicking on it.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"779\" height=\"438\" class=\"wp-image-18938\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-7.png 779w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-7-300x169.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-7-768x432.png 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/strong><\/p>\n<p>Here, the \u201cRemote Desktop Connection\u201d is opened and we have the options that should be filled. First, we assign the IP address to the \u201cComputer\u201d option. We allocate the IP address of our Ubuntu 22.04 which we fetched from the command line. We can also get the IP address from the wired connection from the Ubuntu 22.04 settings. Next, we provide the user name which we use for our Ubuntu 22.04. We mark the \u201cAllow me to save credentials\u201d to save this connection from the future sharing of remote desktops. Then, press the \u201cconnect\u201d option to remotely connect with Ubuntu 22.04.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"473\" class=\"wp-image-18941\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-8.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-8.jpeg 408w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-8-259x300.jpeg 259w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><\/strong><\/p>\n<p>Once the connection is established, we log in again to our system to share the Ubuntu 22.04 screen. It takes some time to initiate the remote connection with Ubuntu 22.04.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"427\" height=\"141\" class=\"wp-image-18942\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-9.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-9.jpeg 427w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-9-300x99.jpeg 300w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><\/strong><\/p>\n<p><strong>Remote Desktop Access of Ubuntu 22.04 from Windows 10 with the GUI<\/strong><\/p>\n<p>We have seen the instructions to connect the remote desktop of Ubuntu 22.04 to Windows 10. Now, we have the Ubuntu 22.04 GUI procedure to access the remote desktop. Before this, we follow some prerequisites of Ubuntu 22.04. First of all, we must first activate the automatic login. Then, from the setting page \u201cprivacy\u201d option, click the screen. After that, we set the blank screen delay with the never option to maintain the session and disable the automatic screen lock.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"938\" height=\"532\" class=\"wp-image-18944\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-10.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-10.jpeg 938w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-10-300x170.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-10-768x436.jpeg 768w\" sizes=\"auto, (max-width: 938px) 100vw, 938px\" \/><\/strong><\/p>\n<p>Now, from the system setting page, we have the \u201csharing\u201d option. By default, the toggle button of \u201csharing\u201d is off. We open it and make changes. The \u201csharing\u201d page provides further options that are needed for the remote connection. The \u201cRemote Desktop\u201d option is currently off. When we click on the remote desktop option, it takes us to the dialog box.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"550\" class=\"wp-image-18945\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-11.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-11.jpeg 945w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-11-300x175.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-11-768x447.jpeg 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/strong><\/p>\n<p>Now, we enable the \u201cRemote Desktop\u201d by turning it on. Moreover, we enable the \u201cRemote Control\u201d option to control the sharing screen.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"245\" class=\"wp-image-18946\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-12.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-12.jpeg 677w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-12-300x109.jpeg 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/p>\n<p>The \u201cRemote Desktop\u201d is enabled to share the screen of Ubuntu 22.04. Then, we scroll down on the same page where we set the authentication setting. The user name and password are required while connecting the remote desktop of Ubuntu 22.04 from the Window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"651\" height=\"230\" class=\"wp-image-18948\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-13.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-13.jpeg 651w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/10\/word-image-18886-13-300x106.jpeg 300w\" sizes=\"auto, (max-width: 651px) 100vw, 651px\" \/><\/p>\n<p>All the settings to enable the remote desktop connection are completed with Ubuntu 22.04 GUI. Now, we follow the same steps from navigating the \u201cRemote Desktop Connection\u201d app from the window and share the remote desktop of Ubuntu 22.04.<\/p>\n<h2><strong>Conclusion <\/strong><\/h2>\n<p>With this guide, we learned to access the remote desktop from our Windows 10 to Ubuntu 22.04. We explored the two methods to enable the remote sharing of the Ubuntu 22.04 desktop from the Window. The first approach is by installing the xdrp with the command line interface. The installation of xdrp is a very simple and compatible client remote desktop connection for Ubuntu 22.04. We can use the RDP across two completely different operating systems and benefit from its convenience. Next, we have the Ubuntu 22.04 graphical user interface approach to enable the remote desktop of Ubuntu 22.04.<\/p>","protected":false},"excerpt":{"rendered":"<p>Guide to access the remote desktop from Windows 10 to Ubuntu 22.04 by installing the xdrp with the command line interface and the graphical user interface.<\/p>","protected":false},"author":105,"featured_media":18951,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-18886","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/18886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/105"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=18886"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/18886\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/18951"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=18886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=18886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=18886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}