In this post we'll tell you how to activate unattended access in RustDesk: prerequisites and initial setupActually, the process is simpler than it seems, but it's crucial to do it correctly. Otherwise, you risk losing access to the remote computer or, worse, leaving it vulnerable to unauthorized connection attempts.
What is unattended access in RustDesk?
Imagine something like this: you have a server in a remote room, a family computer hundreds of kilometers away, or a self-service kiosk that requires urgent maintenance. There's no one on the other end to approve the connection, but you absolutely need to access it.The solution? The feature known as unattended access.
Unattended access is one of the most powerful and necessary features in any remote desktop software. It allows Connect to a computer when no one is sitting in front of it to click OK or dictate a verification codeIt is essential and especially useful for remotely managing servers, providing technical support, or troubleshooting in business and even home environments.
Naturally, it is possible to activate unattended access in RustDesk, one of the best apps in its classIn a short time, it has positioned itself as the most robust and efficient open-source alternative to traditional tools like TeamViewer, AnyDesk, or SupRemo. Individual users can use it without paying for licenses or subscriptions, either using free public servers or their own (self-hosting) (See the entry How to set up your own RustDeks server with Docker).
How to enable unattended access in RustDesk

To enable unattended access in RustDesk, you need to configure two fundamental elements. First, a permanent passwordwhich eliminates the need for someone to manually accept each connection. And secondly, Run RustDesk as a system service so that it is available even before a user session begins.
This way you can forget about one-time passwords that keep changing. With unattended access, You establish a fixed credential that allows you to connect at any timeThis way you can access your system to solve an urgent problem, perform scheduled maintenance, or simply consult your files remotely.
Step 1: Set the permanent password

This is the first and most important step to enabling unattended access in RustDesk. By default, the application generates temporary passwords that change constantly. But for our purposes, we need replace them with a fixed one following these steps:
- Open RustDesk on the computer you want to access remotely.
- Click on the three vertical dots next to your ID to open the Settings.
- In the left side menu, click on Security.
- Click on Unlock security settings and enter your password or authentication method.
- Go down to the section Password and click on Set a permanent password.
- Create the password meeting the requirements: length, containing numbers, letters, uppercase and lowercase.
- Don't make the mistake of reusing your operating system login password. Use a dedicated and strong password for RustDesk; thus, if one credential is compromised, the other will be safe.
- Confirm Enter the permanent password and click on Accept.
Step 2: Install RustDesk as a system service

The second step to enable unattended access in RustDesk is to install the tool as a system service. To do this, you need to use the standard installerThe .exe file is for Windows, the .dmg file for macOS, or the .deb/.rpm package for Linux. After installation, go to Settings and find the option to enable RustDesk as a system service.
The portable version of RustDesk is not suitable for unattended accessBecause its execution is linked to the user's session. This means that when the user logs off, the computer restarts, or a permissions prompt appears, the connection will be interrupted.
Therefore, to activate unattended access in RustDesk, It must be run as a system serviceA service runs in the background, regardless of who is logged in, and is designed to start with the operating system. Therefore, all that is needed for remote access is that the computer is turned on and connected to the internet.
How to do it on different platforms
Enabling unattended access in RustDesk is a piece of cake on any of the platforms you use it on. On WindowsFor example, you just need to go to Settings – General and look for the Service section. If it says "Stopped," click the "Start" button and that's it, the service will be configured to start automatically with your computer.
On macOS You need to take an extra step because Apple's system is more restrictive regarding permissions. After installing the tool, go to System Settings – Privacy & Security. There, grant RustDesk the necessary permissions for "Screen Recording" and "Accessibility."
Y with Linux Things get a little more complicated. Both .deb and .rpm packages register a service. systemd which starts RustDesk automatically. However, screenshots on Wayland have limitations for unattended access. RustDesk is currently working actively on a solution for full Wayland compatibility.
Therefore, for fully unattended environments, the most reliable option is to use a headless setup with a virtual screen or, where available, use an X11 sessionRustDesk has an experimental option to enable headless mode with the command sudo rustdeks --option allow-linux-headless Y.
Enable unattended access in RustDesk: total control in your hands
After enabling unattended access in RustDesk, there are a few things you should keep in mind. For example, use unique permanent passwords per deviceand enable custom encryption if you're using your own RustDesk server. Additionally, Deactivate this function when not needed And don't forget to keep the application updated to avoid vulnerabilities.
You've got it! Now you know how to enable unattended access in RustDesk to have complete control. It all starts with configuring a permanent password and, above all, make sure that the tool runs as a system serviceEach operating system has its own particularities, but unattended access is possible in all of them.
Index
