Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to open on Ubuntu 22.04 with Wayland #9830

Closed
1 of 2 tasks
eikooc opened this issue Jul 10, 2023 · 6 comments
Closed
1 of 2 tasks

Fails to open on Ubuntu 22.04 with Wayland #9830

eikooc opened this issue Jul 10, 2023 · 6 comments

Comments

@eikooc
Copy link

eikooc commented Jul 10, 2023

Search first

  • I searched and no similar issues were found

What Happened?

After downloading either the AppImage or the Zip file and trying to run the program it errors with this message:

(rsapi) init loggers
[979315:0710/130647.350381:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[979315:0710/130647.350402:ERROR:env.cc(226)] The platform failed to initialize.  Exiting.
The futex facility returned an unexpected error code.
fish: Job 1, './Logseq' terminated by signal SIGABRT (Abort)

Reproduce the Bug

  1. Download release
  2. make executable with chmod u+x ./Logseq
  3. Try to run with ./Logseq
  4. Experience error

Expected Behavior

That the application opens

Screenshots

No response

Desktop or Mobile Platform Information

Desktop Linux Ubuntu 22.04

Additional Context

Tried with both 0.9.10 and 0.9.9

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
@sprocketc
Copy link
Collaborator

sprocketc commented Jul 10, 2023

@eikooc Hello! What's the output of set | grep DISPLAY ?

@eikooc
Copy link
Author

eikooc commented Jul 10, 2023

Hello @sprocketc. Here's the output:

DISPLAY :0
GNOME_SETUP_DISPLAY :1
WAYLAND_DISPLAY wayland-0

@sprocketc
Copy link
Collaborator

Does executing ./Logseq --enable-features=UseOzonePlatform --ozone-platform=wayland work?

@sprocketc sprocketc added os:linux awaiting-response Issue will be closed if a reply is not received labels Jul 11, 2023
@eikooc
Copy link
Author

eikooc commented Jul 12, 2023

@sprocketc it sure does. Thanks for the assistance, is this documented anywhere? If so I have totally overlooked it

@sprocketc
Copy link
Collaborator

sprocketc commented Jul 14, 2023

@eikooc You are right, this isn't documented yet. I looked into it and we might be able to help Wayland users by adding --ozone-platform-hint=auto to our desktop file electron/electron#34937.

@sprocketc sprocketc added electron and removed awaiting-response Issue will be closed if a reply is not received labels Jul 14, 2023
Copy link

Hi There! 👋

We haven't seen any activity on this issue in a while 😴, and we just wanted to make sure that it's still relevant. If you're still experiencing this issue, you might find it helpful to update to the latest version of Logseq. The latest version includes bug fixes and new features that may help to resolve this issue, and you can download it from our website. If updating to the latest version doesn't help, please let us know by adding a comment 💬. We're here to help!

If the issue has been resolved or is no longer relevant, that's great news! 🎉
We'll go ahead and close this issue to keep our backlog organized. Please note that this issue will be closed automatically in 20 days if there is no further activity. If you need more time to resolve the issue or provide more information, please just let us know by adding a comment.

Access additional Logseq 🚀 resources:

Thanks for your contributions to Logseq! If you have any other issues or feature requests, please don't hesitate to let us know. We always welcome pull requests too!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants