Charles Flèche's blog

Running rpi-imager as a normal user on debian / wayland

My debian workstation runs sway on wayland, but the latest rpi-imager is actually a X11 only AppImage that needs to run as root. To run it, I hence need to:

So:

xhost +SI:localuser:root
pkexec \
  env \
  DISPLAY=$DISPLAY \
  XAUTHORITY=$XAUTHORITY \
  QT_QPA_PLATFORM=xcb \
  rpi-imager