Desktop versions use Sciter for GUI, please download Sciter dynamic library yourself.

Windows | Linux | macOS

Raw steps to build

  • Prepare your Rust development env and C++ build env

  • Install vcpkg and set VCPKG_ROOT env variable correctly

    • Windows: vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static aom:x64-windows-static
    • Linux/macOS: `vcpkg install
  • Run cargo run

How to build on Linux

Ubuntu 18 (Debian 10)

sudo apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev cmake

Fedora 28 (CentOS 8)

sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel

Arch Linux (Manjaro)

sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio

Install vcpkg

git clone
cd vcpkg
git checkout 2023.10.19
cd ..
export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"

Fix libvpx (for Fedora)

cd vcpkg/buildtrees/libvpx/src
cd *
sed -i 's/CFLAGS+=-I/CFLAGS+=-fPIC -I/g' Makefile
sed -i 's/CXXFLAGS+=-I/CXXFLAGS+=-fPIC -I/g' Makefile
cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/


curl --proto '=https' --tlsv1.2 -sSf | sh
source $HOME/.cargo/env
git clone
cd rustdesk
mkdir -p target/debug
mv target/debug
# Note: VCPKG_ROOT still set
cargo run

Change Wayland to X11 (Xorg)

RustDesk does not support Wayland. Check this guide to configuring Xorg as the default GNOME session.

RustDesk now has experimental Wayland support. You may need to download the nightly version to enable this feature.