RustDesk: How to fix error: rustdesk[2703]: Cannot load libcuda.so.1
Problem
The RustDesk service does not start and the computer is not accessible via RustDesk. The error message in the system log is:
syslog.txt
Feb 16 10:14:04 mycomputer rustdesk[2703]: Cannot load libcuda.so.1
Feb 16 10:14:04 mycomputer rustdesk[2703]: Cannot load libcuda.so.1
Feb 16 10:14:59 mycomputer sudo[4905]: root : PWD=/ ; USER=myuser ; ENV=XDG_RUNTIME_DIR=/run/user/1001 ; COMMAND=/usr/share/rustdesk/>
Feb 16 10:14:59 mycomputer sudo[4905]: pam_unix(sudo:session): session opened for user myuser(uid=1001) by (uid=0)Solution
For unknown reasons, RustDesk at least in version 1.4.5 requires libcuda.so.1 even if no NVidia graphics card is installed. I suspect they are trying to do GPU acceleration for video encoding, but this is just a guess.
In order to fix the issue, install libnvidia-compute-590:
example.sh
sudo apt install libnvidia-compute-590 libnvidia-encode-590After that, restart RustDesk using
example.sh
sudo systemctl restart rustdeskSolution notes
The libnvidia-encode-590 package is required to fix the subsequent error message:
example.sh
Feb 16 10:41:25 versatile-user03 rustdesk[64295]: Cannot load libnvidia-encode.so.1Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow