No, this is not helping. I’ve just installed gufw (to test this), but as @skynet already wrote this doesn’t execute it under Wayland on Debian10/PureOS.
~$ xhost +SI:localuser:root
localuser:root being added to access control list
~# gufw
Unable to init server: Could not connect: Connection refused
(gufw.py:3117): Gdk-CRITICAL **: etc.
/usr/bin/gufw-pkexec: line 13: 3117 Segmentation fault python3 ${LOCATIONS[${i}]} $1
Same like with synaptic, gufw works (tested it) only under System X11 Default/GNOME on Xorg:
Additional info: https://wayland.freedesktop.org/docs/html/ch05.html