How To Install RustDesk on Ubuntu 24.04

Estimated reading: 4 minutes 209 views

In this tutorial, we will show you how to install RustDesk on Ubuntu 24.04 LTS. For those of you who didn’t know, RustDesk is a simple, open-source useful application for remotely accessing other PCs, with built-in file transfer and TCP tunneling, written with Rust programming language. It alternative to TeamViewer and AnyDesk. It provides free remote desktop services on its cloud and self-hosted infrastructure for organizations.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the RustDesk remote desktop software on Ubuntu 24.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.

Prerequisites

  • A server running one of the following operating systems: Ubuntu 24.04, 22.04, and any other Debian-based distribution like Linux Mint.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Setting Up the RustDesk Client on Ubuntu 24.04

Step 1. First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal.

# apt update 
# apt upgrade 

Step 2: Visit the RustDesk GitHub Releases page.

Replace <version> with the actual version number. For example, if the latest version is 1.2., the command would be:
wget https://github.com/rustdesk/rustdesk/releases/download/1.2.0/rustdesk-1.2.0-x86_64.deb

Step 3: Install RustDesk

Once the .deb package is downloaded, you can install it using the dpkg command:
dpkg -i rustdesk-1.2.0-x86_64.deb

Replace <version> with the correct version number as in the previous step.

If there are any missing dependencies, you can fix them by running:

# apt-get install -f

Step 4: Check the RustDesk Service Status

First, ensure that RustDesk is running. You can check the status of the RustDesk service using the following command:
# systemctl status rustdesk
If it’s not running, you can start it using:
# systemctl start rustdesk

Step 5: Locate the Configuration Files

RustDesk typically stores its configuration files in the following directories, depending on your operating system
  • Linux:
    • ~/.config/rustdesk/
    • /etc/rustdesk/
  • Windows:
    • C:\Program Files\RustDesk\
You can use cat, nano, or vi to view the configuration files.

For example, on Linux, you can view the config file with:

cat ~/.config/rustdesk/RustDesk.toml

Now, RustDesk should be installed and running on your Ubuntu 24.04 system. You can start using it to connect to remote desktops or allow others to connect to yours.

Step 6: Extract the ID and Password

In the configuration file (RustDesk.toml or config.toml), you should find the [client] section, which might include the ID and password.
Example content:
id = "YOUR_RUSTDESK_ID" 
password = "YOUR_PASSWORD"
If the password is encrypted or hashed, you may need to retrieve it using RustDesk’s interface or command-line options, depending on how RustDesk is configured.
Please note: If RustDesk provides any command-line tools or options to retrieve the ID and password directly, you can use them. However, this depends on the specific version and build of RustDesk you are using.If the RustDesk installation you are using doesn’t directly expose the ID and password via configuration files or logs, you might need to interact with RustDesk's GUI to retrieve them.Always ensure that you are following best practices for security when handling sensitive information like remote access passwords.

Setting Up the RustDesk on Window Client

Step 1: Download the Client: Head to the RustDesk website and download the client application compatible with your system.

Follow the installation process to get RustDesk up and running on your client machine.

Step 2: Launch the Application open RustDesk once the installation is complete.

Enter the ID and password of the RustDesk server you need to connect to.

Conclusion

Congratulations! You have successfully installed RustDesk. Thanks for using this tutorial for installing the RustDesk remote desktop on Ubuntu 22.04 LTS Jammy Jellyfish system
Good Luck!
Share this Doc

How To Install RustDesk on Ubuntu 24.04

Or copy link

CONTENTS