Then, this happened. SwayWM did nothing but print this error message:
Code: Select all
[main.c:48] [wlc] Failed to add socket to wayland displayThanks.
Code: Select all
[main.c:48] [wlc] Failed to add socket to wayland displayYepDude. Minus 30 credibility points.
Code: Select all
[main.c:52] [wlc] error: XDG_RUNTIME_DIR not set in the environmentYepDude. Minus 30 credibility points.
That depends on your system/service manager. As far as I know, pam_systemd sets this environment variable: https://www.freedesktop.org/software/sy ... stemd.htmlGentoo does not set the variable XDG_RUNTIME_DIR.
YepDude. Minus 30 credibility points.
thanks to this thread, i finally got some motivation to look at wayland. i installed weston, and it runs beautifullymike155 wrote:If you don't know how to set XDG_RUNTIME_DIR, look here for a code snippet: https://wiki.gentoo.org/wiki/Weston
I recommend to get Weston up and running before installing any other Wayland compositor. Weston is small, it's easy to install and configure, and it's fun. If Weston works, you can be sure that Wayland and your low level graphics drivers work. Then you can move on to the Wayland compositor and the desktop environment you want to install. If you get any errors, you can be sure that they are related to your Wayland compositor or your desktop environment - and not to Wayland or low level graphics drivers.