Skip to content

x64 AppImage hangs on launch with blank screen due to QT sandboxing issue #609

@sysfu

Description

@sysfu

Environment
PureOS 11 Crimson (debian based)
Kernel 6.1.0-41-amd64
Zano x64 AppImage v2.1.12.443 (hotfix)

Zano AppImage hangs on launch with blank screen. Workaround is to launch AppImage with QTWEBENGINE_DISABLE_SANDBOX=1 variable. This was suggested by Dima (@yadefaults) in Telegram technical support channel.

Dima's response quoted here

How to try to fix it:

Check and enable user namespaces:
sysctl kernel.unprivileged_userns_clone
if 0, then:
sudo sysctl -w kernel.unprivileged_userns_clone=1

Make it permanent:
echo “kernel.unprivileged_userns_clone=1” | sudo tee /etc/sysctl.d/99-userns.conf
sudo sysctl --system

Test that namespaces are actually working:
unshare -Ur true && echo OK

After that, Zano should start without QTWEBENGINE_DISABLE_SANDBOX=1

WARNING⚠️ -> Enabling unprivileged user namespaces is a security compromise (they can make it easier to exploit kernel vulnerabilities). I don't think this is a serious problem - it's just something you need to know.

But if you not lazy you can run it just like this🫠
QTWEBENGINE_DISABLE_SANDBOX=1 ./zano-linux.AppImage

Why this might have happened:
After system updates in PureOS, unprivileged user namespaces are likely disabled/restricted (or security policy is interfering), preventing the Chromium sandbox inside QtWebEngine from initializing. This leaves the GUI blank. Disabling the sandbox confirms the diagnosis.

and my reply

value was already set to 1

$ sysctl kernel.unprivileged_userns_clone
kernel.unprivileged_userns_clone = 1

Namespace test passed too

$ unshare -Ur true && echo OK
OK

Any other troubleshooting suggestions?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions