The Manjaro PC is running as a server. I log into the computer as account A over XRDP, and mount a USB drive using Gnome Disks (the location is automagically selected to /run/media/A/myusbdrive).
I have to sometimes log in as root, beause there are some GUI applications that only work if I logged in as root when connecting over XRDP. The problem is that if I log in as root, Gnome seems to automatically mount the USB drive at /run/media/root/myusbdrive. Since it is root, I do not have the chance to deny mounting by not typing the sudo password.
I do not want automatic mounting of USB disks when logging into account. How can I disable it? Gnome Disks → Additional Partition options → Edit mounting options → Mount at system startup is already disabled, but “user session defaults” is enabled.
Moderator edit: Removed useless screenshot