mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
Stuck 'Checking if public key is generated' #2269
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#2269
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 @wni-matthewcurran on GitHub (Nov 6, 2023).
Bug Description
I installed RustDesk Server (OSS Version on Rocky Linux 9), all ports were opened using
firewalldI got that going without much issue. I tested connecting to clients with the correct network configuration, I didn't have an issue. I then bought RustDesk Pro, so I attempted to convert from RustDesk Server to RustDesk Server Pro using the below reproduction steps and kept getting stuck on some variant of 'Checking if public key is generated...'. My understanding is that oncerustdesk-hbbs.serviceruns it should auto-generate a public key and I managed to connect to clients on the OSS version so I'm really not sure what's causing this. Can someone please help? How do I get RustDesk Server Pro running?I did attempt to uninstall RustDesk entirely to start from scratch, I'm unsure I did that right. A log of my terminal history are attached, some parts are cut out for my own privacy but I have kept it in chronological order.
I'm happy to provide further info if needed.
rustdesk-terminal-history.txt
How to Reproduce
bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/update.sh)bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)Expected Behavior
RustDesk Server OSS converts to RustDesk Server Pro, it doesn't get stuck on
Checking if public key is generated...Operating system(s) on local side and remote side
Rocky Linux 9
RustDesk Version(s) on local side and remote side
1.2.3
Screenshots
Additional Context
No response
@rustdesk commented on GitHub (Nov 6, 2023):
#763
@rso42 commented on GitHub (Feb 4, 2024):
The installer script has a two flaws where the installtion might get stuck at the 'Checking if public key is generated...' point.
The install script asks for an unpreviledged user and simply asumes that also a gropu with the same name would exist.
-> suggestion for improvement: install script should check also for existance of group
Without an existing group with the same name as the user the 'chown' for the $RUSTDESK_INSTALL_DIR will fail.
-> suggestion for improvement: install script could check for correct access rights on $RUSTDESK_INSTALL_DIR
Without access rights to the $RUSTDESK_INSTALL_DIR the rustdesk-hhbs.service will fail to start ('Error: error returned from database: (code: 14) unable to open database file')
-> suggestion for improvement: install script should not only check for hbbr service being active but also for hbbs service before proceeding
manual fix:
sudo useradd -r -U -c "Rustdesk service user" -d /nonexistent -s /bin/false rustdeskusr