If running Ubuntu 17.10 or newer, this issue can arise when an application has not been updated with full support for Wayland.
xhost +SI:localuser:root
which will allow the root user to display applications on your desktop.
Source: https://askubuntu.com/a/981508