You are not logged in.
I’ve been using Q4OS for many years and recently installed it on a new computer. However, I’ve encountered an issue with mounting one of my internal drives. After every reboot, the system asks me for a password when I try to mount the drive.
On my previous computer running Q4OS, the same drive always mounted automatically - I just clicked on it in the file manager, and it mounted without any password prompt. I’ve tried adjusting the settings to restore this behavior, but I haven’t been successful. Could you please help me configure the system so that the drive mounts automatically without asking for a password each time?
Edit: I tried many times and now I get the solution after posting this thread. I can't delete it but I will paste the solution (for sudo group users):
create a file in: /etc/polkit-1/rules.d/49-udisks-noauth.rules
paste in it:
polkit.addRule(function(action, subject) {
if (!subject.active || !subject.local || !subject.isInGroup("sudo")) return;
switch (action.id) {
case "org.freedesktop.udisks2.filesystem-mount":
case "org.freedesktop.udisks2.filesystem-mount-system":
return polkit.Result.YES;
}
});I think that it is just a work around this problem, perhaps there is other better solution for that?
Last edited by 5k18a (2025-11-10 10:39)
Offline
Thanks for sharing the solution. We can only add, any solution for Debian will work on Q4OS too.
Offline
Yes, I know that, but some older versions of Q4OS had it working out of the box. My old PC is still running an installation from around 2021, and I didn’t add anything to make it work. I also checked whether I had a similar entry in /etc/polkit-1/rules.d/, but the directory is empty – so there must have been some other mechanism that made it work without any manual configuration.
Offline