Yes, I am aware of that. The point is: somehow polkit is able to
distinguish between local and remote session.
Theoretically it can be with the use of PAM config - X2Go connects via SSH, so has different PAM setup.
However did not check if that's the cause.