@oliverubuntu: Thank you, that worked for me on Ubuntu 17.10!
/usr/bin/gufw-pkexec: line 13: 15373 Segmentation fault (core dumped) python3 ${LOCATIONS[${i}]} $1
sander@sammie-1710:~$ echo $XDG_SESSION_TYPE wayland
sander@sammie-1710:~$ xhost si:localuser:root localuser:root being added to access control list
sander@sammie-1710:~$ gufw
@oliverubuntu: Thank you, that worked for me on Ubuntu 17.10!
/usr/bin/ gufw-pkexec: line 13: 15373 Segmentation fault (core dumped) python3 ${LOCATIONS[${i}]} $1
sander@ sammie- 1710:~$ echo $XDG_SESSION_TYPE
wayland
sander@ sammie- 1710:~$ xhost si:localuser:root
localuser:root being added to access control list
sander@ sammie- 1710:~$ gufw