Hướng dẫn bật remote destop trên vps linux Ubuntu 20.04

16/01/2021

Installation Steps

  1. Connect to your instance via SSH or the Web Console as your sudo user.
  2. Install GNOME desktop.
    $ sudo tasksel install ubuntu-desktop
    
  3. Reboot your instance.
    $ sudo reboot
    
  4. After the reboot, connect to your instance again via SSH or the Web Console as your sudo user.
  5. Install xrdp.
    $ sudo apt install xrdp
    
  6. It’s recommended to change the RDP port. For example, change the default port of 3389 to 13389. If you choose a different port, adjust the sed command below.
    $ sudo sed -i 's/3389/13389/g' /etc/xrdp/xrdp.ini
    
  7. Open the port in the Ubuntu firewall, ufw.
    $ sudo ufw allow 13389
    
  8. If you use the Vultr Firewall, open the port there as well.
  9. Restart the xrdp service:
    $ sudo systemctl restart xrdp
    
  10. Connect your instance with an RDP Client.

    Windows

    Step 1: Finding the RDP program

    Connecting from Windows to a Windows Server is very easy because Windows has an integrated program called “Remote Desktop Connection” to connect to servers with RDP. By default, RDP can be found on your computer at the following path:

    %windir%\system32\mstsc.exe
    

    Step 2: Connecting to the server

    Once opened, you will be able to enter the IP address/hostname of your server. Look at the Vultr control panel for your server IP. In order to connect, click “Use another account” to login. We need to do this because we’re not using your Microsoft or local account on the server. Enter your username and password here, and if needed, the domain. For example:

    rdp_1.png

    By clicking “OK”, you will be logged in to the server.

    You will now be connected to the server, like this:

    rdp_2.png

    You can manage your connection and see what server you’re connected to at the top of the screen. You can disconnect by clicking the X icon.

    OS X

    Step 1: Downloading the RDP program

    On Mac, there is no RDP program by default. You need to download the official Microsoft RDP program from the Mac App Store. Open the App Store, and simply search for “RDP”. You should click on the result “Microsoft Remote Desktop”. Download the following program:

    rdp_3.png

    Once downloaded, open it from Launchpad or Finder.

    Step 2: Connecting to the server

    You can add a server by clicking “New” in the menu. This will ask for a number of things:

    • Connection name: A friendly name so you can recognize the server (for example IIS Server 1).
    • PC name: The IP address or hostname of your server (for example ws01.contoso.com).
    • User name: Enter your username (including domain if applicable) here (for example [email protected]).
    • Password: Enter your password here.

    You can now close the window. There is no need to manually save anything. Simply double-click on the connection name to connect to the server. A full-screen window with the connection will be presented.

    Linux

    Because there are many different Linux distributions available, depending on personal preference, you will have to choose your own RDP client. There are several popular programs out there, such as:

    Because usage for these programs is different, please refer to their manuals for usage instructions.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Install and Use Xournal Note Taking App on Ubuntu

Xournal is a note taking and PDF annotation tool for Linux. In this article, I am going to show you how to install and...
29/12/2020

How to Install Counter Strike on Ubuntu

In the era of technology, tasks are becoming simpler and simpler. The introduction of user-interface enabled Windows to...
28/12/2020

Ubuntu 18.10 New Features

If you’re a Linux fan then you can consider this article as your complete guide to everything there is regarding Ubuntu...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Cách gắn set proxy cho điện thoại android, oppo, giả lập android, Ldplayer Bằng Proxydroid
20/09/2023

Mua Proxy Socks5 VN Chơi Game Gia Lập Tăng Cường Trải Nghiệm Chơi Game
22/06/2023

Mua Proxy Mỹ, Us Nuôi Tài Khoản Etsy, eBay Tìm Hiểu Về Mua Proxy Mỹ tại Onet.com.vn
22/06/2023

Mua Proxy Game – Giải pháp tuyệt vời cho việc chơi game trên mạng mà không bị giới hạn về vị trí địa lý
03/06/2023

Sử dụng Proxy để Quản Lý Tài Khoản Quảng Cáo Ads Một Cách An Toàn
27/05/2023