so after I set XDG_RUNTIME_DIR=/tmp

i get the following errors

[source/backend/session/logind.c:511] User has no session

[source/backend/session/logind.c:599] Couldn't find an active session or a greeter session

[source/backend/session/direct-ipc.c:96] Failed to load session backend

[source/backend/backend.c:321] Failed to start a DRM session

[source/backend/sway/server.c:47] Unable to create backend


The first error looks like it start here https://github.com/swaywm/wlroots/blob/master/backend/session/logind.c#L503

where `sd_uid_get_sessions ` returns 0. I'm not sure why it would return 0 though.

On 7/10/19 6:38 PM, martin wrote:
After installing sway it fails to launch from the command line. The
resulting error is


"XDG_RUNTIME_DIR is not set in the environment. Aborting."