darktable-org / darktable-org/darktable

AppImage on Wayland - cannot open display

Open
#21,781 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

I've seen a few of the other issues regarding running the AppImage on Wayland but I can't seem to get it working on my end. I just recently switched to trying niri and always get this error:

(org.darktable.darktable:6516): Gtk-WARNING **: 14:19:40.222: cannot open display:

I've tried running it with GDK_BACKEND=x11 and setting DISPLAY=:1 but nothing changes. I'm not sure if it's anything on my end or due specifically to the AppImage.

Steps to reproduce
  1. From TTY start niri -> exec dbus-run-session -- niri --session
  2. ./Darktable-5.6.0-x86_64.AppImage
Expected behavior

No response

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.6.0

What OS are you using?

Linux

What is the version of your OS?

Void Linux

Describe your system

No response

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

AMD Radeon RX 5700 XT

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing the launch from a TTY with dbus-run-session -- niri --session, then run ./Darktable-5.6.0-x86_64.AppImage on Void Linux as described. Compare the AppImage behavior under Wayland and with the reported GDK_BACKEND and DISPLAY settings; done means establishing whether the failure is AppImage-specific and documenting the relevant diagnosis.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.