Install rustdesk as Alternative to Teamviewer

I used to use Teamviewer to remote control other laptops remotely. Unfortunately recently I noticed it is always disconnecting the session.

I found an alternative (I believe) which is
rustdesk

So, trying to install I am getting errors:

3 aur/rustdesk-nightly 1.2.0-0 (+6 1.45) (Out-of-date: 2023-03-24) 
    Yet another remote desktop software, written in Rust. Works out of the box, no configuration required. Great alternative to TeamViewer and AnyDesk!
2 aur/rustdesk-bin 1.1.9-3 (+47 9.01) 
    Yet another remote desktop software, written in Rust. Works out of the box, no configuration required. Great alternative to TeamViewer and AnyDesk!
1 aur/rustdesk 1.1.9-7 (+18 3.47) 
    Yet another remote desktop software, written in Rust. Works out of the box, no configuration required. Great alternative to TeamViewer and AnyDesk!
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
AUR Explicit (1): rustdesk-1.1.9-7
:: PKGBUILD up to date, skipping download: rustdesk
  1 rustdesk                         (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A

and I get errors and it does not install.

[6/83] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o 
/usr/bin/g++ -DVCPKG_USE_STD_FILESYSTEM=1 -I../include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O3 -DNDEBUG -include /home/limo/.cache/yay/rustdesk/src/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/files.cpp.o -c ../src/vcpkg/base/files.cpp
In file included from ../include/vcpkg/base/checks.h:4,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /home/limo/.cache/yay/rustdesk/src/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
../include/vcpkg/base/strings.h:297:33: error: ‘uint64_t’ is not a member of ‘std’; did you mean ‘wint_t’?
  297 |     std::string b32_encode(std::uint64_t x) noexcept;
      |                                 ^~~~~~~~
      |                                 wint_t
../include/vcpkg/base/strings.h:297:45: error: expected ‘,’ or ‘;’ before ‘noexcept’
  297 |     std::string b32_encode(std::uint64_t x) noexcept;
      |                                             ^~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: rustdesk-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
rustdesk - exit status 4
[limo@asus ~]$ 

Should I yay again and select 2 ( 2 aur/rustdesk-bin 1.1.9-3 (+47 9.01) )not 1 (1 aur/rustdesk 1.1.9-7 (+18 3.47) )

Anybody could install? How to?
Thanks

I do not mind if someone could fix the Teamviewer so it does not keep disconnecting. My general use (whether rsutdesk or Teamviewer) is to access remotely form my current system EndeavourOS or from my iPhone) to either my EndeavourOS or another old laptop (MX Linux) I am using as personal cloud storage.

See the two latest comments here: https://aur.archlinux.org/packages/rustdesk

@xAsh seems to have run into the same issue as yours.

I see, it seems something wrong with the app itself!
I still do not know how to.

What if I tried to select 2 instead of 1?
I do not just want to do it and mess up my system.

Then you would install the binary, that is the package is already build by someone.

I guess that is up to you to decide.

1 Like

I did it, just selected the binary (option 2) and working perfectly even much beter screen than Teamviewer

Thank you very much @pebcak

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.