Remote-access Guide

setup ubuntu server for remote access

by Thomas Willms Published 2 years ago Updated 2 years ago
image

  • First step is to install Remote Desktop Protocol (RDP) server xrdp on the Ubuntu 20.04 desktop. To do so execute the following command: $ sudo apt install xrdp
  • Enable to start after reboot and run the remote desktop sharing server xrdp : $ sudo systemctl enable --now xrdp
  • Still on the Ubuntu 20.04 desktop, open a firewall port 3389 for an incoming traffic: $ sudo ufw allow from any to any port 3389 proto tcp

Enable Port Forwarding
  1. Look for the Port Forwarding settings.
  2. Create a New Rule labeled Remote Desktop.
  3. Set the Internal Port number to 3389.
  4. Set the External Port number to 3389.
  5. Input the IP address of the Ubuntu PC.
  6. Click Save.
Dec 28, 2021

How do I set up Ubuntu as a remote desktop?

Preparing your Ubuntu computer for use as a remote desktop is simple. Screen sharing is baked into the operating system if you’re using the latest version of Ubuntu (18.04), so you just need to download and install remote desktop software on the computer you want to use for remote access. For this tutorial, we’ll use Remmina.

How do I enable RDP on Ubuntu 20?

Privileged access to your Linux system as root or via the sudo command. First step is to install Remote Desktop Protocol (RDP) server xrdp on the Ubuntu 20.04 desktop. To do so execute the following command: Move to Windows 10 host and open the Remote Desktop Connection client.

How do I set up xrdp on Ubuntu?

First step is to install Remote Desktop Protocol (RDP) server xrdp on the Ubuntu 20.04 desktop. To do so execute the following command: $ sudo apt install xrdp. Enable to start after reboot and run the remote desktop sharing server xrdp: $ sudo systemctl enable --now xrdp. Still on the Ubuntu 20.04 desktop, open a firewall port 3389 ...

How do I connect to Ubuntu 20 04 from Windows 10?

Ubuntu 20.04 Remote Desktop Access from Windows 10 step by step instructions. First step is to install Remote Desktop Protocol (RDP) server xrdp on the Ubuntu 20.04 desktop. To do so execute the following command: Move to Windows 10 host and open the Remote Desktop Connection client.

image

Can you RDP into Ubuntu?

By default, Ubuntu comes with Remmina remote desktop client with support for VNC and RDP protocols. We will use it to access remote server.

How do I setup remote desktop on Ubuntu?

Enabling Remote Desktop: You can enable remote desktop on Ubuntu Desktop 22.04 LTS from the Settings app. To open the Settings app, click on Settings from the system tray as marked in the screenshot below. From the Sharing tab1, enable Sharing using the toggle button2. Click on Remote Desktop.

How do I enable RDP on Ubuntu server?

How To Install XRDP (Remote Desktop) on Ubuntu 20.04Step 1 – Install Desktop Environment. By default, Ubuntu Server does not have an installed Desktop Environment. ... Step 2 – Installing XRDP on Ubuntu. ... Step 3 – Configuring Xrdp. ... Step 4 – Adjust Firewall. ... Step 5 – Connect to Remote Desktop.

Is RDP better than VNC?

In general, Remote Desktop Protocol is known to be more functional and faster than VNC. However, both RDP and VNC can be the best option for different users with different purposes in mind.

How do I enable remote access in Linux?

To enable remote desktop sharing, in File Explorer right-click on My Computer → Properties → Remote Settings and, in the pop-up that opens, check Allow remote connections to this computer, then select Apply.

What is xrdp server?

xrdp is a free and open-source implementation of Microsoft RDP (Remote Desktop Protocol) server that enables operating systems other than Microsoft Windows (such as Linux and BSD-style operating systems) to provide a fully functional RDP-compatible remote desktop experience.

How do I use xrdp on Ubuntu?

Installing and Setting Up XRDP on Ubuntu If the remove machine isn't on your local network, the machine will need a public IP address with port forwarding enabled. The username and password of the remote system. Another system (be it Linux, Windows, or macOS) with an RDP client installed.

How do I use RDP in Linux?

The RDP Method The easiest way to set up a remote connection to a Linux desktop is to use Remote Desktop Protocol, which is built into Windows. Once this is done, type “rdp” in the search function and run the Remote Desktop software on your Windows machine.

How do I find my external server IP Ubuntu?

Step 1: Enable SSH on your machine. Linux has many distributions and you will need to enable SSH on your machine to access it remotely. ... Step 2: Set up Port Forwarding (Port Translation) in the router. ... STEP 4: Map your dynamic IP to a hostname. ... STEP 5: Use Dynu DDNS service to access your machine remotely.

How do I access remote desktop connection?

On your local Windows PC: In the search box on the taskbar, type Remote Desktop Connection, and then select Remote Desktop Connection. In Remote Desktop Connection, type the name of the PC you want to connect to (from Step 1), and then select Connect.

1. Overview

Virtual Network Computing (VNC) is a protocol commonly used to share a graphical desktop over a network. Popular uses for VNC include technical support and screen sharing.

Installing Remmina

If you don’t have Remmina on your Ubuntu installation, install it with sudo apt install remmina remmina-plugin-vnc. You can also use snap package ( sudo snap install remmina ).

1. phpMyAdmin

PhpMyAdmin is a frontend GUI that allows you to configure and setup database easily. Since it is accessible via web interface, many people feel that it is unsecured and could be the loophole for hackers to brute-force into your database.

2. Configure Apache

There are tons of things that you can do with Apache. I won’t discuss the detail here. Check out this Apache tutorial for the instruction.

3. Install FTP server

If you need to access your remote host via FTP, you will need to install a FTP server. There are several FTP software that you can use. Here, we will be using vsftp.

4. Install Webmin

Webmin is a free web-based control panel for administrators to manage their servers without having to go into the command line.

What is the default Ubuntu desktop environment?

In the Ubuntu Software Center, you may choose between a range of desktop environments. Gnome is the default environment for the recent Ubuntu versions. But if you’d like to install a desktop environment, this part of the article is exactly for you.

What is XRDP in Ubuntu?

Xrdp is a free and open-source alternative to Microsoft Remote Desktop Protocol that allows you to use a graphical interface to access your Ubuntu server from your local device . This post focuses on installing the Gnome Desktop environment, and Xrdp server to allow you to use the Remote Desktop client.

How to connect to Ubuntu 20.04?

To connect to your Ubuntu 20.04 remote desktop, enter the remote machine’s IP or fully qualified domain name, and click connect . If this is the first time you’re connecting, you may see a warning such as The identity of the remote computer cannot be verified.

What is Remote Desktop 8?

Android: The app is currently named Remote Desktop 8 by Microsoft Corporation in Google Play (at the time of writing, March 2021) iOS: The app is currently named Remote Desktop Mobile by Microsoft Corporation in the App Store.

How to improve RDP connection?

There are 2 things we can do to try and improve RDP connection on Windows: 1 Lower Experience/Visual Styles In the Remote Desktop Connection window click on the Show Options button.#N#You’ll see some new options available.#N#Display: Click on the Display tab. Here you can change the color depth. The lower you set it, the more it should help connection speed (in theory). You should try and change it until you find a combination of visual styles/speed you’re OK with.#N#Experience: This option has more settings that you can adjust. You can adjust these until you find a combination of speed/visual styles that you find acceptable. 2 Change Remote Desktop Connection Process Priority to Realtime#N#To do this open Task Manager and locate Remote Desktop Connection in the Processes tab. It should be under Apps .Right click on it and click on Go to details.#N#That should take you into the Details tab and highlight mstsc.exe. Right click on mstsc.exe > Set priority > Realtime.

What is desktop environment in Linux?

In Linux, a Desktop Environment is an interface to the operating system. It is a layer of software that sits on top of the operating system and allows users to interact with the computer. The name “Desktop Environment” comes from the fact that it is meant to be a desktop, or more specifically, a graphical user interface (GUI).

How does RDP work?

If you’re familiar with how RDP works with connecting to a Windows remote desktop, you know that you run the RDP client, fill in the server’s IP or fully qualified domain name (FQDN), along with the user/password and after clicking to connect, you’d be connected to the server and controlling it.

How to enable remote desktop sharing in Ubuntu?

The first thing you need to do is to enable remote desktop sharing on Ubuntu. Open the system settings window by clicking on the tools icon in the top right corner of the screen. Then navigate to the Sharing tab in the left-hand menu in the system settings.

How to share Ubuntu desktop?

The first thing you need to do is to enable remote desktop sharing on Ubuntu. Open the system settings window by clicking on the tools icon in the top right corner of the screen. Then navigate to the Sharing tab in the left-hand menu in the system settings.

What is screen sharing in Ubuntu 18.04?

Screen sharing is baked into the operating system if you’re using the latest version of Ubuntu (18.04), so you just need to download and install remote desktop software on the computer you want to use for remote access. For this tutorial, we’ll use Remmina. This is free, open-source remote desktop software designed for Linux systems.

Can you disable encryption on Ubuntu?

Make sure the toggle is set to On for at least one network. (You will only see multiple network toggles if the computer has both wired and wireless networks set up.) Note that if you are planning to connect to a remote Ubuntu desktop from a Windows computer, you must disable encryption for remote connections.

Can you remotely control Ubuntu from another computer?

By following these steps, you’ll be able to remotely control one Ubuntu computer from another or from a Windows desktop. You can take control of a remote computer even without having someone present at the computer. It just needs to be turned on in order to make the connection.

Can you use Remmina as a remote desktop?

If you use Remmina as your remote desktop client, you can transfer files and modify the quality of your connection to handle low-bandwidth networks. If Remmina doesn’t quite suit your purposes, you can also try another top Linux remote desktop client.

Troubleshooting Remote Desktop into Ubuntu 20.04 from Windows

From time to time I have received a black screen after initiating the remote connection to the Xrdp Remote Desktop Protocol (RDP) server. Although I’m not sure how to completely resolve this issue but logging out from the Ubuntu desktop prior to making a remote connection have solved it at least temporarily.

Xrdp BlackScreen

From time to time I have received a black screen after initiating the remote connection to the Xrdp Remote Desktop Protocol (RDP) server. Although I’m not sure how to completely resolve this issue but logging out from the Ubuntu desktop prior to making a remote connection have solved it at least temporarily.

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9