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:
- Download the RustDesk server binary:
- Visit the official RustDesk GitHub repository: https://github.com/rustdesk/rustdesk
- 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.
- Open a terminal:
- Press
Ctrl + Alt + T
to open a terminal window.
- Press
- 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:bashcd ~/Downloads
- Use the
- Mark the binary as executable:
- Use the following command to give execute permissions to the RustDesk server binary:
bash
chmod +x rustdesk-server-linux-amd64
- Use the following command to give execute permissions to the RustDesk server binary:
- 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/
:bashsudo mv rustdesk-server-linux-amd64 /usr/local/bin/rustdesk-server
- 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
- Start the RustDesk server:
- To start the RustDesk server, simply run the following command in your terminal:
rustdesk-server
- 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.
- To start the RustDesk server, simply run the following command in your terminal:
- 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.
- Connect to the server:
- Clients can now connect to your RustDesk server using the provided IP address and port.