Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config/wayland: clarify how to set up wayland without elogind #195

Merged
merged 1 commit into from May 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/config/graphical-session/wayland.md
Expand Up @@ -85,9 +85,14 @@ compositors, and is installed as a dependency for most of them. Its package is
## Configuration

The Wayland API uses the `XDG_RUNTIME_DIR` environment variable to determine the
directory for the Wayland socket. In order to securely set this variable, you
need the `elogind` service installed and enabled as your [session
manager](./session-management.md).
directory for the Wayland socket.

Install `elogind` as your [session manager](./session-management.md) to
automatically setup `XDG_RUNTIME_DIR`.

Alternatively, manually set the environment variable through the shell. Make
sure to create a dedicated user directory and set its permissions to `700`. A
good default location is `/run/user/$(id -u)`.

It is also possible that some applications use the `XDG_SESSION_TYPE`
environment variable in some way, which requires that you set it to `wayland`.