Package Details: rustdesk 1.5.0-1

Git Clone URL: https://aur.archlinux.org/rustdesk.git (read-only, click to copy)
Package Base: rustdesk
Description: Yet another remote desktop software, written in Rust. Works out of the box, no configuration required. Great alternative to TeamViewer and AnyDesk!
Upstream URL: https://rustdesk.com/
Keywords: AnyDesk desktop remote Rust TeamViewer
Licenses: AGPL-3.0-only
Submitter: taotieren
Maintainer: severach
Last Packager: severach
Votes: 65
Popularity: 0.73
First Submitted: 2021-06-27 07:29 (UTC)
Last Updated: 2026-10-05 03:30 (UTC)

Sources (16)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

severach commented on 2026-10-09 18:17 (UTC)

Those symlinks are part of gcc. Do you have base-devel installed?

snake2903 commented on 2026-10-09 07:05 (UTC) (edited on 2026-10-09 07:05 (UTC) by snake2903)

I had other error:

error: linker x86_64-linux-gnu-gcc not found

And this was solution:

For x86_64_v4:

sudo ln -s /bin/x86_64_v4-linux-gnu-gcc /bin/x86_64-linux-gnu-gcc

Similarly, for x86_64_v3:

sudo ln -s /bin/x86_64_v3-linux-gnu-gcc /bin/x86_64-linux-gnu-gcc

darkbasic commented on 2026-10-06 13:16 (UTC)

Hi @HossamSF, in order to be added to the official repos it needs an Arch Linux maintainer willing to maintain the package. The first step would be trying to get it into the community repo.

Right now unfortunately I cannot even compile it under cachyos due to this: https://discuss.cachyos.org/t/rust-from-extra-fails-to-run-librustc-driver-undefined-symbol-m-mutate-version-llvm-23-1/36518

HossamSF commented on 2026-08-17 11:06 (UTC) (edited on 2026-08-17 11:11 (UTC) by HossamSF)

Hi,

Why is RustDesk not available in the official Arch Linux repositories, even though the RustDesk GitHub releases provide an official Arch Linux package?

For example, the latest release includes:

rustdesk-1.4.9-0-x86_64.pkg.tar.zst

However, when I try to install it using pacman:

$ sudo pacman -S rustdesk
error: target not found: rustdesk

Is there a specific reason why RustDesk has not been added to the official Arch Linux repositories?

Thanks!

zebulon commented on 2026-06-22 04:36 (UTC) (edited on 2026-06-22 04:37 (UTC) by zebulon)

I got this error message during build, however rustdesk was still built and successfully installed:

       PID: 170697 (conftest)
       UID: 1000 (eric)
       GID: 1000 (eric)
    Signal: 6 (ABRT)
 Timestamp: Mon 2026-06-22 06:30:56 CEST (9s ago)
 Command Line: ./conftest
 Executable: /tmp/makepkg/rustdesk/src/rustdesk-1.4.8/target/release/build/libsodium-sys-35ceaeacd9487f4e/out/source/libsodium/conftest
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-7619.scope/tab(7750).scope
      Unit: user@1000.service
 User Unit: app-org.kde.konsole-7619.scope
     Slice: user-1000.slice
 Owner UID: 1000 (eric)
   Boot ID: 1a2d50fd9f92401cbe553e50af742af8
Machine ID: 7b88593cd2a44206bde453dd211b290b
  Hostname: arch
   Storage: /var/lib/systemd/coredump/core.conftest.1000.1a2d50fd9f92401cbe553e50af742af8.170697.1782102656000000.zst (present)
Size on Disk: 20.9K
   Message: Process 170697 (conftest) of user 1000 dumped core.

            Stack trace of thread 170697:
            #0  0x00007fdf614256e6 abort (libc.so.6 + 0x256e6)
            #1  0x0000563c6b1ca160 n/a (/tmp/makepkg/rustdesk/src/rustdesk-1.4.8/target/release/build/libsodium-sys-35ceaeacd9487f4e/out/source/libsodium/conftest + 0x1160)
            #2  0x00007fdf6143e8f0 n/a (libc.so.6 + 0x3e8f0)
            #3  0x00007fdf6149a29c n/a (libc.so.6 + 0x9a29c)
            #4  0x00007fdf6143e7d0 raise (libc.so.6 + 0x3e7d0)
            #5  0x00007fdf61425681 abort (libc.so.6 + 0x25681)
            #6  0x0000563c6b1ca040 n/a (/tmp/makepkg/rustdesk/src/rustdesk-1.4.8/target/release/build/libsodium-sys-35ceaeacd9487f4e/out/source/libsodium/conftest + 0x1040)
            #7  0x00007fdf61427741 n/a (libc.so.6 + 0x27741)
            #8  0x00007fdf61427879 __libc_start_main (libc.so.6 + 0x27879)
            #9  0x0000563c6b1ca065 n/a (/tmp/makepkg/rustdesk/src/rustdesk-1.4.8/target/release/build/libsodium-sys-35ceaeacd9487f4e/out/source/libsodium/conftest + 0x1065)
            ELF object binary architecture: AMD x86-64

Is this a problem?

kevinlpowell commented on 2026-04-15 04:01 (UTC) (edited on 2026-04-15 04:04 (UTC) by kevinlpowell)

The build errors from the scrap dependency are due to an old version of bindgen that is not compatible with Clang22. There's no need to install an outdated version of Clang as a workaround. Just update the requested version of bindgen to latest (0.72.1) like so: (and don't forget to "updpkgsums")

diff --git c/0004-bindgen@rustdesk.patch i/0004-bindgen@rustdesk.patch
new file mode 100644
index 0000000..ec1f410
--- /dev/null
+++ i/0004-bindgen@rustdesk.patch
@@ -0,0 +1,23 @@
+diff -ur a/Cargo.toml b/Cargo.toml
+--- a/Cargo.toml   2026-03-04 20:30:40.000000000 -0800
++++ b/Cargo.toml   2026-04-14 20:52:35.970758354 -0700
+@@ -211,6 +211,7 @@
+ # This allows building and running on systems without libxdo installed (e.g., Wayland-only)
+ [patch.crates-io]
+ libxdo-sys = { path = "libs/libxdo-sys-stub" }
++bindgen = { git = "https://github.com/rust-lang/rust-bindgen", tag = "v0.72.1" }
+ 
+ [package.metadata.winres]
+ LegalCopyright = "Copyright © 2025 Purslane Ltd. All rights reserved."
+diff -ur a/libs/scrap/Cargo.toml b/libs/scrap/Cargo.toml
+--- a/libs/scrap/Cargo.toml    2026-03-04 20:30:40.000000000 -0800
++++ b/libs/scrap/Cargo.toml    2026-04-14 20:52:35.969638453 -0700
+@@ -48,7 +48,7 @@
+ 
+ [build-dependencies]
+ target_build_utils = "0.3"
+-bindgen = "0.65"
++bindgen = "0.72.1"
+ pkg-config = { version = "0.3.27", optional = true }
+ 
+ [target.'cfg(target_os = "linux")'.dependencies]
diff --git c/PKGBUILD i/PKGBUILD
index a30beae..680fc55 100644
--- c/PKGBUILD
+++ i/PKGBUILD
@@ -167,6 +167,7 @@ _patches=(
   '0000-disable-update-check@rustdesk.patch'
   #'0001-extended_text-drop-version-for-flutter.3.22.3@rustdesk.patch' # https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/bridge.yml#L77
   '0002-screen_retriever@rustdesk.patch'
+  '0004-bindgen@rustdesk.patch'
 )
 install="${pkgname}.install"
 _srcdir="${pkgname}-${_pkgver}"
            '7ddad2d992bd250a6c56053c26029f7e728bebf0f37f80cf3f8a0e6ec706431a'

es20490446e commented on 2026-04-14 20:55 (UTC)

You may get some improvement ideas at: https://gitlab.com/es20490446e/express/-/tree/master/recipes/rustdesk

es20490446e commented on 2026-04-14 20:48 (UTC) (edited on 2026-04-14 20:49 (UTC) by es20490446e)

You need to use the oldest version of clang in the repos:

ClangVersion="$(
    pacman --sync --search "^clang" |
    grep --invert-match "^ " |
    cut --delimiter=' ' --fields=2 |
    cut --delimiter=':' --fields=2- |
    sort --version-sort |
    cut --delimiter='.' --fields=1,2 |
    head -n1
)"


ClangMajorVersion="$(
    echo "${ClangVersion}" |
    cut --delimiter='.' --fields=1
)"


CompileRustdesk () {
    cd "${srcdir}/${pkgname}"

    CLANG_RESOURCE_DIR="/usr/lib/clang/${ClangMajorVersion}" \
    LIBCLANG_PATH="/usr/lib/libclang.so.${ClangVersion}" \
    so ./build.py --flutter --hwcodec
}

fooxl commented on 2026-03-21 16:31 (UTC) (edited on 2026-03-21 16:39 (UTC) by fooxl)

Here rustdesk also doesn't build. I tried local makepkg but also in chroot with aur build -c.

The first error is:

error[E0609]: no field `g_w` on type `vpx_codec_enc_cfg`                                                              
  --> libs/scrap/src/common/vpxcodec.rs:66:19                                                                         
   |                                                                                                                  
66 |                 c.g_w = config.width;                 
   |                   ^^^ unknown field
   |
   = note: available field is: `_address`

followed by several others in vpxcodec.rs and aom.rs.

tpaniaki commented on 2026-03-21 13:44 (UTC)

Build fails in 1.4.6 (scrap):

   Compiling tray-icon v0.14.3 (https://github.com/tauri-apps/tray-icon#d4078696)
Some errors have detailed explanations: E0560, E0609.
For more information about an error, try `rustc --explain E0560`.
warning: `scrap` (lib) generated 1 warning
error: could not compile `scrap` (lib) due to 64 previous errors; 1 warning emitted
warning: build failed, waiting for other jobs to finish...
warning: `hbb_common` (lib) generated 1 warning (1 duplicate)
Error occurred when executing: `cargo build --features hwcodec,flutter --lib --release`. Exiting.
++ error_function build
++ ((  ! BASH_SUBSHELL  ))
+++ gettext 'A failure occurred in %s().'
++ error 'Une erreur s’est produite dans %s().' build
++ local 'mesg=Une erreur s’est produite dans %s().'
++ shift
+++ gettext ERROR:
++ printf $'\E[1m\E[31m==> ERREUR :\E(B\E[m\E[1m Une erreur s’est produite dans %s().\E(B\E[m\\n' build
==> ERREUR : Une erreur s’est produite dans build().
+++ gettext Aborting...
++ plainerr Abandon…
++ plain Abandon…
++ ((  QUIET  ))
++ local mesg=Abandon…
++ shift
++ printf $'\E[1m    Abandon…\E(B\E[m\\n'
    Abandon…
++ exit 4
+ clean_up
+ local EXIT_CODE=4
+ ((  INFAKEROOT  ))
+ [[ -p '' ]]
+ ((  (EXIT_CODE == E_OK || EXIT_CODE == E_INSTALL_FAILED) && BUILDPKG && CLEANUP  ))
+ remove_deps
+ ((  ! RMDEPS  ))
+ return 0
+ exit 4
 -> error making: rustdesk-exit status 4