Can not run wayland applications under stardust
I built stardust-xr-server on Arch, started it with its own XDG_RUNTIME_DIR (otherwise my desktop becomes unusable), and tried to connect weston-terminal to it with
WAYLAND_SOCKET=/tmp/stardust-xr-0/wayland-0 weston-terminal
. Weston-terminal only outputs this:
Other wayland applications fail with the same or similar messages.23 Replies
Happens on both main and develop branch
wait what specifically do you mean your desktop becomes unusable if it's the same runtime dir
that's def important to figure out
Because I can't start anything anymore because things try to use the wayland socket and fail
ah you're using Xorg on your 2D desktop aren't you?
Yes
that'll do it! but manually setting the socket should still work
so try develop branch on server always
I did try develop branch
just keep it on develop I mean
Ok
are you running an nvidia GPU? just curious
Nope, AMD
cool
I don't think it matters but may as well check
that error message is horribly vague
@i509VCB any ideas? :S
that message is from libwayland?
Although that's incredibly odd
I assume so
yea
wuh why would strerror be returning Success on failure?
wl_display_connect doesn't say anything about errno being changed
is weston-terminal getting a connection failure and reading the default errno value?
(the message is not from libwayland)
I'm sorry, I have to sleep for now, I will get back to this when I'm awake again
GitLab
clients/window.c · main · wayland / weston · GitLab
A lightweight and functional Wayland compositor
Alright, anything I can do to debug this?
Is there a reason WAYLAND_SOCKET is being used there instead of WAYLAND_DISPLAY?
AFAIU
WAYLAND_DISPLAY
just sets the name of the socket in $XDG_RUNTIME_DIR, while WAYLAND_SOCKET
sets the full path to the socket
since the socket is in a directory onder /tmp instead of in $XDG_RUNTIME_DIR, I need to set the full path
(I can make a symlink and set WAYLAND_DISPLAY
and I've tried that, with the same result)hey are you running flatland too?
I have tried, but it doesn't show up when I run it; I know stardust is running and can render something because it shows the controllers
ok, try on the latest server/flatland