mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
arm64 support + Segmentation fault unsafety when not ran as root on Linux #1165
Labels
No labels
bug
documentation
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rustdesk-rustdesk#1165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @emidoots on GitHub (Dec 20, 2022).
Hello! I see that Rustdesk has armhf support for the raspberry pi (32 bit), but it would be great to support arm64 too.
arm64 SBCs are increasingly popular, as they are the most powerful arm development boards (e.g. the Rock Pi 5b).
I followed the build instructions and not much needs to change in order to get it working:
wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.lnx/x64/libsciter-gtk.soneedsx64changed toarm64vcpkg install libyuvis currently broken on arm64, but can be easily worked around by disabling NEON support: https://github.com/microsoft/vcpkg/issues/27410#issuecomment-1358892081Once I did this I got a segmentation fault though:
Notably, if it is ran as root there is no segfault but it exits immediately:
@rustdesk commented on GitHub (Dec 20, 2022):
#763
@rustdesk commented on GitHub (Dec 20, 2022):
https://github.com/rustdesk/rustdesk/releases/download/nightly/rustdesk-1.2.0-aarch64-unknown-linux-gnu-ubuntu-18.04.deb
If you still have crash, please help debug and PR please, honestly we have no aarch64 dev env.
@emidoots commented on GitHub (Dec 20, 2022):
Thanks, I found the real answer here: https://github.com/rustdesk/rustdesk/issues/853#issuecomment-1358921587