You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Rustdesk uses a very wonky hackjob to get the permissions to start/stop its systemd service and for editing certain restricted permissions. From what I can tell, it uses some Flutter widget to ask for the password and then test that with /bin/sh -c echo to be granted a sudo session token. Furthermore it seems quite a few users are struggling with this, and it seems that users not having their locale set to en_US.UTF-8 aren't really able to authenticate. (#8719, #2756). I have my locale partially set to en_US.UTF-8, but even for me it refuses to work at the first try, only on the second attempt it works. The only way that I can think of that could fix this would be adding a sudoers exception for RustDesk, so technically you could leave the password field empty. This only succeeds partially though, permissions are granted, but because the password request is - in lack of better words - thick as a brick it can't realize that, it only gets told the password is wrong and bugs the user again. In the year 2026 this is highly unnecessary behavior.
So I'd like to request a proper solution by using polkit. This would not only get rid of such unnecessary bugs, but it would also allow any number of pam plugins to take over authentication, like fprintd for fingerprint authentication. Ente Auth recently switched to that and it solved all bugs and annoyances previously had with their authentication mechanism (see ente/ente#1890, and I'm not aware of any such issues since).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Currently Rustdesk uses a very wonky hackjob to get the permissions to start/stop its systemd service and for editing certain restricted permissions. From what I can tell, it uses some Flutter widget to ask for the password and then test that with
/bin/sh -c echoto be granted a sudo session token. Furthermore it seems quite a few users are struggling with this, and it seems that users not having their locale set to en_US.UTF-8 aren't really able to authenticate. (#8719, #2756). I have my locale partially set to en_US.UTF-8, but even for me it refuses to work at the first try, only on the second attempt it works. The only way that I can think of that could fix this would be adding a sudoers exception for RustDesk, so technically you could leave the password field empty. This only succeeds partially though, permissions are granted, but because the password request is - in lack of better words - thick as a brick it can't realize that, it only gets told the password is wrong and bugs the user again. In the year 2026 this is highly unnecessary behavior.So I'd like to request a proper solution by using polkit. This would not only get rid of such unnecessary bugs, but it would also allow any number of pam plugins to take over authentication, like fprintd for fingerprint authentication. Ente Auth recently switched to that and it solved all bugs and annoyances previously had with their authentication mechanism (see ente/ente#1890, and I'm not aware of any such issues since).
All reactions