How to install RustDesk server Debian

RustDesk is a remote desktop software built with Rust and available for various platforms, including Debian-based systems. To install the RustDesk server on Debian, you can follow these steps:

  1. Download the RustDesk server binary:
    • Visit the official RustDesk GitHub repository:
    • Click on the “Releases” tab to find the latest release.
    • Download the appropriate binary for your Debian system. For example, you might find a file like rustdesk-server-linux-amd64 for 64-bit systems.
  2. Open a terminal:
    • Press Ctrl + Alt + T to open a terminal window.
  3. Navigate to the directory where you downloaded the RustDesk server binary:
    • Use the cd command to change to the directory where you downloaded the binary. For example, if you downloaded it to your Downloads folder, you can use:
      cd ~/Downloads
  4. Mark the binary as executable:
    • Use the following command to give execute permissions to the RustDesk server binary:
      chmod +x rustdesk-server-linux-amd64
  5. Move the binary to a suitable location:
    • It’s a good idea to move the binary to a directory that’s included in your system’s PATH so you can access it easily from any location. For example, you can move it to /usr/local/bin/:
      sudo mv rustdesk-server-linux-amd64 /usr/local/bin/rustdesk-server
  6. Start the RustDesk server:
    • To start the RustDesk server, simply run the following command in your terminal:
    • The server should now be running, and it will likely display some information about its status, such as the IP address and port it’s listening on.
  7. Set up port forwarding (if necessary):
    • If you’re behind a router or firewall, you may need to set up port forwarding to allow incoming connections to your RustDesk server. By default, RustDesk uses port 6666 for communication.
  8. Connect to the server:
    • Clients can now connect to your RustDesk server using the provided IP address and port.