Skip to content

Instantly share code, notes, and snippets.

@asad-albadi
Created November 29, 2023 05:24
Show Gist options
  • Save asad-albadi/cdcbb82ee007928cc19f99a4889492f0 to your computer and use it in GitHub Desktop.
Save asad-albadi/cdcbb82ee007928cc19f99a4889492f0 to your computer and use it in GitHub Desktop.
Enable RDP on Pop!_OS using xrdp

Enable RDP on Pop!_OS using xrdp

  1. Open a terminal:

    • Press Super (the key with the Windows or Apple logo on it) and type "Terminal" to open the terminal emulator.
  2. Update your package list:

    • Run the following command to make sure your package list is up to date:
      sudo apt update
      
  3. Install xrdp:

    • Use the following command to install the xrdp package, which is an open-source RDP server for Linux:
      sudo apt install xrdp
      
  4. Start the xrdp service:

    • After the installation is complete, start the xrdp service:
      sudo systemctl start xrdp
      
  5. Enable xrdp to start on boot:

    • To ensure that xrdp starts automatically when you boot your system, run:
      sudo systemctl enable xrdp
      
  6. Configure your firewall (if necessary):

    • If you have a firewall enabled on your Pop!_OS system, you may need to open the RDP port (default is 3389) to allow incoming RDP connections. You can use the following command to open the port with UFW, the default firewall management tool in Ubuntu:
      sudo ufw allow 3389/tcp
      
  7. Connect to your Pop!_OS machine:

    • You can now use an RDP client on another computer to connect to your Pop!_OS machine using its IP address or hostname. Use your Pop!_OS username and password to log in.

That's it! You should now be able to connect to your Pop!_OS machine using RDP. Please note that xrdp may not provide the exact same experience as a Windows-based RDP server, but it should allow you to access your Pop!_OS desktop remotely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment