docs: clarify RustDesk autostart opens a window, not just the service tray
The core service already auto-spawns its own tray icon per session, so Step 18's autostart entry is specifically for opening the main window. Also note that a permanent password avoids the OTP-refresh confusion where the window briefly shows one password then updates to another. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
10
README.md
10
README.md
@@ -348,9 +348,9 @@ On the connecting device, install RustDesk and enter this machine's ID and passw
|
||||
|
||||
### Step 18 — Auto-start Chrome and RustDesk on login (optional)
|
||||
|
||||
Pairs well with [Step 1's auto-login](#step-1--enable-auto-login-lxqt--sddm) — the PC boots straight to the desktop with Chrome open and the RustDesk tray icon visible, no manual clicks needed.
|
||||
Pairs well with [Step 1's auto-login](#step-1--enable-auto-login-lxqt--sddm) — the PC boots straight to the desktop with Chrome open and the RustDesk window visible, no manual clicks needed.
|
||||
|
||||
> The RustDesk **core service** (`rustdesk.service`) is already enabled at install time and runs at boot as root — remote access works even before anyone logs in. This step only adds the tray icon, which requires a logged-in desktop session.
|
||||
> The RustDesk **core service** (`rustdesk.service`) is already enabled at install time and runs at boot as root — remote access works even before anyone logs in, and it auto-spawns its own tray icon for the logged-in session on its own. This step additionally opens the full RustDesk **window** (showing the ID/password) on login, which the service alone does not do.
|
||||
|
||||
LXQt reads autostart entries from `~/.config/autostart/`. Create one `.desktop` file per app:
|
||||
|
||||
@@ -371,14 +371,16 @@ cat > ~/.config/autostart/rustdesk-tray.desktop <<'EOF'
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=RustDesk Tray
|
||||
Exec=/usr/bin/rustdesk --tray
|
||||
Exec=/usr/bin/rustdesk
|
||||
Icon=rustdesk
|
||||
Terminal=false
|
||||
X-GNOME-Autostart-enabled=true
|
||||
EOF
|
||||
```
|
||||
|
||||
Log out and back in (or reboot) to verify — Chrome should open on its own and the RustDesk tray icon should appear.
|
||||
Log out and back in (or reboot) to verify — Chrome and the RustDesk window should both open on their own.
|
||||
|
||||
> Set a permanent password (Step 17) instead of relying on the default one-time password — a permanent password avoids the OTP-refresh confusion on autostart, where the window can appear to briefly show one password and then update to another as RustDesk finishes contacting the ID server.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user