[GH-ISSUE #2250] [Bug] (app_flowy:1): Gtk-WARNING **: cannot open display: :0 #929

Closed
opened 2026-03-23 20:43:15 +00:00 by mirror · 2 comments
Owner

Originally created by @leeyaal on GitHub (Apr 12, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2250

Bug Description

I was trying to run appflowy in docker-compose, but there is no configuration for successful running. I always got the error like in the header. That is how my docker-compose looks like on a screen
I use the image from Dockerfile:

FROM appflowy: main

also I was trying to add

CMD ["xhost +"]

did not work

Are there any solutions?

How to Reproduce

correct docker-compose configuration, in docs docker-compose example did not work for me as well

Expected Behavior

Successfful docker-compose running

Operating System

Linux

AppFlowy Version(s)

main(latest)

Screenshots

image

Additional Context

No response

Originally created by @leeyaal on GitHub (Apr 12, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2250 ### Bug Description I was trying to run appflowy in docker-compose, but there is no configuration for successful running. I always got the error like in the header. That is how my docker-compose looks like on a screen I use the image from Dockerfile: FROM appflowy: main also I was trying to add CMD ["xhost +"] did not work Are there any solutions? ### How to Reproduce correct docker-compose configuration, in docs docker-compose example did not work for me as well ### Expected Behavior Successfful docker-compose running ### Operating System Linux ### AppFlowy Version(s) main(latest) ### Screenshots ![image](https://user-images.githubusercontent.com/90761484/231397243-1d4d25ff-aca5-4d93-a580-1d58cf537f67.png) ### Additional Context _No response_
mirror 2026-03-23 20:43:15 +00:00
  • closed this issue
  • added the
    install
    label
Author
Owner

@DrAmygdala commented on GitHub (Jun 28, 2023):

I have this issue as well and, while I don't have the knowledge to truly look into it, I think it has to do with using Wayland. For reference, I'm using Ubuntu 22.04 and Wayland. To quote from the docs

Note: Appflowy inside docker needs access to your X server.

https://appflowy.gitbook.io/docs/essential-documentation/install-appflowy/installation-methods/installing-with-docker

<!-- gh-comment-id:1611959063 --> @DrAmygdala commented on GitHub (Jun 28, 2023): I have this issue as well and, while I don't have the knowledge to truly look into it, I think it has to do with using Wayland. For reference, I'm using Ubuntu 22.04 and Wayland. To quote from the docs > Note: Appflowy inside docker needs access to your X server. https://appflowy.gitbook.io/docs/essential-documentation/install-appflowy/installation-methods/installing-with-docker
Author
Owner

@annieappflowy commented on GitHub (Dec 24, 2023):

@leeyaal @DrAmygdala would you like to try out our latest self-hosting solution? https://docs.appflowy.io/docs/guides/appflowy/self-hosting-appflowy

<!-- gh-comment-id:1868399541 --> @annieappflowy commented on GitHub (Dec 24, 2023): @leeyaal @DrAmygdala would you like to try out our latest self-hosting solution? https://docs.appflowy.io/docs/guides/appflowy/self-hosting-appflowy
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#929
No description provided.