Install the Xorg dummy driver for your distribution:
# Debian/Ubuntu
sudo apt update && sudo apt install xserver-xorg-video-dummy
# Arch/Manjaro
sudo pacman -S xf86-video-dummy
# RHEL/Fedora
sudo dnf install xorg-x11-drv-dummyWorks for me on Manjaro Linux.
- Backup and remove the current config:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.back
sudo rm /etc/X11/xorg.conf- Prepare the configuration directory (if it doesn't exist):
sudo mkdir -p /etc/X11/xorg.conf.d/- Create and fill the new config file from this Gist:
sudo nano /etc/X11/xorg.conf.d/99-rustdesk.conf- Restart your display manager to apply the new config (or reboot):
sudo systemctl restart display-manager