

Github GitHub - rustdesk/rustdesk: The best open source remote desktop client so...
source link: https://github.com/rustdesk/rustdesk
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

RustDesk | Your Remote Desktop Software
The best open-source remote desktop client software, written in Rust. Works out of the box, no configuration required. Great alternative to TeamViewer and AnyDesk! You have full control of your data, with no concerns about security. You can use our rendezvous/relay server, set up your own, or write your own rendezvous/relay server.
Dependencies
Desktop versions use sciter for GUI, please download sciter dynamic library yourself.
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
- Linux/Osx: vcpkg install libvpx libyuv opus
-
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 (Manjaro)
sudo pacman -Syu unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
Install vcpkg
git clone https://github.com/microsoft/vcpkg --branch 2020.11-1
vcpkg/bootstrap-vcpkg.sh
export VCPKG_ROOT=$HOME/vcpkg
vcpkg/vcpkg install libvpx libyuv opus
Fix libvpx (For Fedora)
cd vcpkg/buildtrees/libvpx/src
cd *
./configure
sed -i 's/CFLAGS+=-I/CFLAGS+=-fPIC -I/g' Makefile
sed -i 's/CXXFLAGS+=-I/CXXFLAGS+=-fPIC -I/g' Makefile
make
cp libvpx.a $HOME/vcpkg/installed/x64-linux/lib/
cd
Build
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
git clone https://github.com/rustdesk/rustdesk
cd rustdesk
mkdir -p target/debug
wget https://github.com/c-smile/sciter-sdk/raw/dc65744b66389cd5a0ff6bdb7c63a8b7b05a708b/bin.lnx/x64/libsciter-gtk.so
mv libsciter-gtk.so target/debug
cargo run
Change Wayland to X11 (Xorg)
RustDesk does not support Wayland. Check this to configuring Xorg as the default GNOME session.
File Structure
- libs/hbb_common: video codec, config, tcp/udp wrapper, protobuf, fs functions for file transfer, and some other utility functions
- libs/scrap: screen capture
- libs/enigo: platform specific keyboard/mouse control
- src/ui: GUI
- src/server: audio/clipboard/input/video services, and network connections
- src/client.rs: start a peer connection
- src/rendezvous_mediator.rs: Communicate with rustdesk-server, wait for remote direct (TCP hole punching) or relayed connection
- src/platform: platform specific code
Snapshot
Recommend
-
5
Best Remote Desktop Software 2021 If your business is shifting to a flexible, work-from-home setup, remote desktop software can keep your business secure Adam Rowe November...
-
17
The 5 Best Remote Desktop Clients for Linux By Deepesh Sharma Published 9 hours ago Want immediate access to a distant computer...
-
8
3 Best Web-based Remote Desktop: Just Click the Link and ConnectNovember 18th 2021 new story7
-
18
MicrosoftCustomer GuidanceWelcome to the new and improved...
-
13
远程办公是近几年比较流行的办公方式,这大多是由于疫情的影响。比较流行的远程桌面控制软件有中国的向日葵、德国的 Teamviewer、中国的 ToDesk、中国的 RustDesk。本篇介绍 RustDesk,不仅是因为它是国产软件,更重要它是开源的,并且能够使用自建中继服务器,这给...
-
5
V2EX › 云计算 RustDesk 远程桌面服务端手动搭建,完美替代 Todesk
-
16
使用Rustdesk搭建自己的远程控制服务软件并支持控制手机【转载】-VPS啦 为什么 RustDesk 有时流畅有时卡顿?为了提高远控的流畅性,RustDesk 会首先尝试建立 TCP 隧道,俗称“打洞直连”,尝试让两台设备直接「点...
-
8
V2EX › 问与答 RDP + Tailscale + Derp 和 RustDesk + Relay 的速度区别问题
-
5
Contributor Bug Description changing settings without privileges....
-
5
开源日报第1079期:TeamViewer替代品:《rustdesk》 开源日报每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK