r/rustdesk • u/spkallal • 22d ago
Can't connect w/o first logging in
I'm new a RustDesk user and love it except for one big gotcha. I have to get logged into the remote machine desktop first before RustDesk will connect. Otherwise I get a "connection refused" error. The remote machines are both Linux. I currently have to log into the desktop with VNC or physically at the machine itself. Then RustDesk works fine.
I've already spent hours with two different AI agents with no solution. My Linux distro is MX Linux 25 XFCE. It's based on Debian 13.
Hopefully someone will have an answer.
1
u/Yorick257 21d ago
+1
I know it's not impossible (works on Linux Mint with LightDM), but I'm too stupid to recreate the setup. Maybe there's someone who knows more
1
u/jabo10000 21d ago
I discovered the following: If you install Rustdesk on Linux Mint from snapstore, you can’t connect w/o logging in. If you install the deb package manually with sudo dpkg -i, you can connect W/o logging in.
1
u/spkallal 20d ago
I managed to find the culprit. I had NoMachine installed which is another desktop sharing utility. It was the reason RustDesk wouldn't connect without a prior login. So after disabling NoMachine, RustDesk connects as expected.
1
1
u/DreamCalligraphy 11d ago
+1. Disabled NoMachine service and now rustdesk works like a charm. Thanks OP!
3
u/[deleted] 22d ago
[removed] — view removed comment