Vagrant Cascadian writes: > Is the elogind service running? I *think* that is what I needed to get > sway working from the console...
I have added the `elogind` service. Here is the services section of my systems configuration: ``` (services (append (list (service elogind-service-type) (service accountsservice-service-type) (service inputattach-service-type) x11-socket-directory-service polkit-wheel-service) %base-services)) ``` When I run `sudo herd status` the output shows that `elogind` is started. When I run `sway` on virtual terminal 1 sway does not start and I get this output: ``` localhost dbus-daemon[380]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.24" (uid=1000 pid=26112 comm="sway ") interface="org.freedesktop.login1.Session" member="SetType" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=381 comm="/gnu/store/jdk3r1gs4d36n3aj9fscsvwwc9prnrzp-elogin") [backend/backend.c:303] Failed to open any DRM device [sway/server.c:49] Unable to create backend ``` When I run `sudo sway` it outputs "XDG_RUNTIME_DIR is not set in the environment. Aborting.".