This could be an issue with Wayland. It's trying to use the current display, but the $DISPLAY variable is not set. If$DISPLAY is set, then it could be that your display is rejecting the connection from the application.