„sudo [GUI-Application]” vs. Wayland
As I decided to use Fedora instead of Ubuntu for my „new” work laptop (Redhat Workstation being totally unusable, unfortunately), I am currently running into severl stumbling blocks aka. „differences” between Ubuntu/Debian and Fedora.
As I learned the hard way, Wayland does per default not support running GUI applications via sudo (Wayland replaces X11 in Fedora). This will, amongst other things, prohibit GUI applications to be run as root (from the command line) – which I need to set up the latop within the company infrastructure.
The quick workaround I found was to issue the command
before the actuall sudo command, which will remedy the problem for the current session.