You are not logged in.
I am new at arch. I am using sway (wayland wiithout x). So when I xrdb ~/.Xresources, I get these errors. Maybe this is because of wayland?
EDIT: got the same error when i tried to lunch urxvt terminal
urxvt: can't open display:0, aborting
Last edited by callmer (2021-01-13 14:30:48)
Offline
Maybe this is because of wayland?
Yes.
urxvt: can't open display:0, aborting
You'll need https://archlinux.org/packages/extra/x8 … -xwayland/ to run xorg applications, but if you intend to run mostly X11 clients on wayland you're most likely better off just using X11 instead of an X11 emulation on wayland.
Offline
Maybe this is because of wayland?
Yes.
urxvt: can't open display:0, aborting
You'll need https://archlinux.org/packages/extra/x8 … -xwayland/ to run xorg applications, but if you intend to run mostly X11 clients on wayland you're most likely better off just using X11 instead of an X11 emulation on wayland.
Can you please explain? I read that wayland is better then x, so I installed sway for it. But does it make sense if I need also xorg(or x server or x window system, I can't differ them), isn't it more efficient to not install wayland? Or is there any possibilty to use such a things without x?
Offline
It depends on usage, Xorg is the legacy standard of sorts and many things will depend on it for years to come, even if people call it abandonware.
If you like it, use it, if you don’t, then don’t, your computer is yours in the end, you are the user.
Offline
I read that wayland is better than x
I read that Donald Trump is a very stable genius… sometimes it's a good idea to question stuff you read, esp. when it's an absolute statement.
Wayland is a more "modern" display server, it's more efficient in handling output buffers and carries less features considered cruft (X11 is hardly used as it was designed > 30 years ago), but it's also more fragmented (may wayland stuff is not compatible to yoru wayland stuff) because the protocol is still somewhat in flux and it has far less native client support… because it's new.
The question you need to ask and answer is "is it better for my use case".
If you intend to run urxvt (an X11 terminal emulator) on a nested X11 server (xwayland) on top of wayland the answer is probably not "yes".
You could eg. try a TE w/ native wayland support (alacritty or foot - latter is "only" in AUR) and gtk+ and Qt have wayland support as well (so will most clients implemented using those toolkits)
Offline
@seth, @Gaku999 I don't understand the difference, and why isn't there native wayland clients for it? Can you please refer me to some detail explanations,courses,literature. I couldn't find any good source at all about GUI s, Window systems.
Offline
wayland and X11 are (technically actually protocols for) display servers, kinda the canvas applications paint their windows on.
If the application is written to paint on an X11 canvas, it cannot paint on a wayland canvas (incompatible brush), so you need to glue an X11 canvas on the wayland canvas (xwayland) where the X11 client can paint on.
why isn't there native wayland clients for it
Because some clients contain a lot of X11 specific code and porting them to wayland would be a PITA that so far (again: wayland is new, X11 is > 30 years old) nobody was willing to take.
Offline
ok, thank you very much
edit: how can I mark your answer as a solution?
Last edited by callmer (2021-01-13 05:37:35)
Offline
You can't.
You can mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline