From 78ee0b92fe93ab45544961bc624681a83370eb9b Mon Sep 17 00:00:00 2001 From: Gitead Date: Sun, 19 Jul 2026 22:26:23 -0400 Subject: [PATCH] docs: add optional step for auto-starting Chrome and RustDesk on login --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README.md b/README.md index 7a47235f..7ba76a56 100644 --- a/README.md +++ b/README.md @@ -330,6 +330,40 @@ rustdesk --password YOUR_STRONG_PASSWORD On the connecting device, install RustDesk and enter this machine's ID and password to connect. +### 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. + +> 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. + +LXQt reads autostart entries from `~/.config/autostart/`. Create one `.desktop` file per app: + +```sh +mkdir -p ~/.config/autostart + +cat > ~/.config/autostart/google-chrome.desktop <<'EOF' +[Desktop Entry] +Type=Application +Name=Google Chrome +Exec=/usr/bin/google-chrome-stable +Icon=google-chrome +Terminal=false +X-GNOME-Autostart-enabled=true +EOF + +cat > ~/.config/autostart/rustdesk-tray.desktop <<'EOF' +[Desktop Entry] +Type=Application +Name=RustDesk Tray +Exec=/usr/bin/rustdesk --tray +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. + --- ## 📖 Developer Documentation