Add startup errors, mention XDG_RUNTIME_DIR in README#5
Add startup errors, mention XDG_RUNTIME_DIR in README#5djpohly merged 1 commit intodjpohly:masterfrom arp242:start
Conversation
It was just exiting with code 1 for me. The problem turned out to be that you *need* to set XDG_RUNTIME_DIR or it won't work (I think e.g. systemd does that for you, but on Void it's not set by default), so mention that in the README.
|
Ah, Wayland puts its communication socket in |
|
Yeah, cheers. You get an error message about it from Wayland if you run it with Actually, seems a bit strange it doesn't show any message for that by default as the default loglevel This is my first experience with Wayland, so maybe it fits with how it's designed to work. |
…NULL Passing NULL to wlr_keyboard_set_keymap results in a segfault. Example: Thread 1 "dwl" received signal SIGSEGV, Segmentation fault. 0x00007ffff7e49b64 in xkb_keymap_ref () from /usr/lib/libxkbcommon.so.0 (gdb) bt #0 0x00007ffff7e49b64 in xkb_keymap_ref () at /usr/lib/libxkbcommon.so.0 djpohly#1 0x00007ffff7f06389 in wlr_keyboard_set_keymap () at /usr/lib/libwlroots.so.11 djpohly#2 0x000055555555bc54 in createkeyboard () djpohly#3 0x000055555555c283 in inputdevice () djpohly#4 0x00007ffff7e8101e in wl_signal_emit_mutable () at /usr/lib/libwayland-server.so.0 djpohly#5 0x00007ffff7e8101e in wl_signal_emit_mutable () at /usr/lib/libwayland-server.so.0 djpohly#6 0x00007ffff7edb52c in () at /usr/lib/libwlroots.so.11 djpohly#7 0x00007ffff7ee44b6 in () at /usr/lib/libwlroots.so.11 djpohly#8 0x000055555555fe66 in main ()
…NULL Passing NULL to wlr_keyboard_set_keymap results in a segfault. Example: Thread 1 "dwl" received signal SIGSEGV, Segmentation fault. 0x00007ffff7e49b64 in xkb_keymap_ref () from /usr/lib/libxkbcommon.so.0 (gdb) bt #0 0x00007ffff7e49b64 in xkb_keymap_ref () at /usr/lib/libxkbcommon.so.0 #1 0x00007ffff7f06389 in wlr_keyboard_set_keymap () at /usr/lib/libwlroots.so.11 #2 0x000055555555bc54 in createkeyboard () #3 0x000055555555c283 in inputdevice () #4 0x00007ffff7e8101e in wl_signal_emit_mutable () at /usr/lib/libwayland-server.so.0 #5 0x00007ffff7e8101e in wl_signal_emit_mutable () at /usr/lib/libwayland-server.so.0 #6 0x00007ffff7edb52c in () at /usr/lib/libwlroots.so.11 #7 0x00007ffff7ee44b6 in () at /usr/lib/libwlroots.so.11 #8 0x000055555555fe66 in main ()
It was just exiting with code 1 for me. The problem turned out to be
that you need to set XDG_RUNTIME_DIR or it won't work (I think e.g.
systemd does that for you, but on Void it's not set by default), so
mention that in the README.