Ok, I've found the reason or the not starting application. $ snap run --shell krita krita$ export XAUTHORITY=/home/$USER/.Xauthority krita$ $SNAP/command-krita.wrapper .. With this krita starts up fine. So the reason is that the XAUTHORITY environment variable is not setup properly.