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

65544: Wayland: Failed to connect to display #1390

Closed
zeeshan595 opened this issue Nov 26, 2018 · 5 comments
Closed

65544: Wayland: Failed to connect to display #1390

zeeshan595 opened this issue Nov 26, 2018 · 5 comments
Labels
Milestone

Comments

@zeeshan595
Copy link

Hello, I am running into a really weird issue on linux(Ubuntu) with GLFW.
When I use glfwInit() it fails and says 65544: Wayland: Failed to connect to display
Then I tried using wl_display_connect (wayland-client.h) and it also returned NULL.
Not sure what is going on but when i check in the terminal wayland is working properly.
I might be doing something stupid here but can you please see what could be the issue?

unknown

@avilleret
Copy link

I got the same error when my app doesn't find the right libglfw.so
I have version 3.2 installed system-wide and got the same error as you with it.
Putting libglfw.so.3.1 in the library search path fixes the issue.
Of course, the path order should precedes system's one.
In my case, I set the RPATH to $ORIGIN/lib and put libglfw.so.3.1 in the lib folder.

@elmindreda
Copy link
Member

Closing this, as neither of these issues seem to be bugs in GLFW.

@elmindreda elmindreda added this to the None milestone Mar 11, 2022
@SurrenderChaos
Copy link

Based on this reddit post I managed to fix this, installing the glfw-x11 package. Hope it helps.

@kurisunoob
Copy link

Same error I Remove glfw-wayland and install glfw-x11. It work .

@Sidtheplayer
Copy link

I tried using xorg session and it worked for me somehow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants