Dusk Linux AppImage 'Couldn't create /TwilitRealm' Error — Fix (#818)

Dusk's Linux AppImage fails with 'Couldn't create directory /TwilitRealm: Permission denied'. Use the official .zip build instead, plus the safe cleanup command.

Published 2026-05-14 ·Updated 2026-05-14

Status as of 2026-05-13: Open on the Dusklight tracker.

Symptom

The AppImage variant fails to launch with:

[fatal] [dusk] Unable to get PrefPath: Couldn't create directory '/TwilitRealm': 'Permission denied'

Dusk is trying to create its preference directory at the filesystem root (/TwilitRealm) instead of under $HOME or $XDG_DATA_HOME. Without root permissions, that write fails.

Cause

XDG / PrefPath resolution bug specific to the AppImage runtime. The .zip and source builds resolve correctly to ~/.local/share/TwilitRealm/Dusk/.

Fix

v1.0.0

Download the official .zip build instead of the AppImage:

# x86_64
curl -LO https://github.com/TwilitRealm/dusklight/releases/download/v1.0.0/Dusk-v1.0.0-linux-x86_64.zip
unzip Dusk-v1.0.0-linux-x86_64.zip
cd Dusk-v1.0.0-linux-x86_64
chmod +x Dusk
./Dusk

v1.0.1

v1.0.1 ships only an AppImage on Linux (the team dropped the .zip). If the AppImage fails on your distro, options are:

  1. Stay on v1.0.0’s .zip until the AppImage issue is patched
  2. Build from source using the linux-default-relwithdebinfo preset

Clean up the garbage directory

If the AppImage ran and created /TwilitRealm at root:

sudo rm -rf /TwilitRealm

Only that exact path. Don’t generalize.

Last updated 2026-05-14.