Rpi-imager can only be run as root but it does not start

rpi-imager is downloaded from Slowroll repo (v2.0.6) but it cannot be run as root as it is requested:

balazs@localhost:~> sudo rpi-imager
Running as root via sudo
Original user: balazs
Original UID: 1000
Original home directory: /home/balazs
Detected X11 display socket, set DISPLAY to: :0
Note: XAUTHORITY not found, X11 apps may have permission issues
Set HOME to: /home/balazs
Set XDG_CACHE_HOME to: /home/balazs/.cache
Set XDG_CONFIG_HOME to: /home/balazs/.config
Set XDG_DATA_HOME to: /home/balazs/.local/share
Set XDG_RUNTIME_DIR to: /run/user/1000
Set DBUS_SESSION_BUS_ADDRESS to: unix:path=/run/user/1000/bus
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-brcm, wayland-egl, wayland, xcb.

Félbeszakítva sudo rpi-imager

Version 1.9.5 on another machine can be started as normal user, only requests root password before writing and checking installation media.

How could I fix it? Thanks.

Simply login as real root in a terminal and issue rpi-imager from it.

:~> su -
Password:
:~ # rpi-imager

or call the command directly as real root:
su -c rpi-imager

Both ways work flawlessly.