documentation/docs/alpine-desktop-setup/graphical-session/session-manager.md

20 lines
502 B
Markdown
Raw Normal View History

2023-12-28 19:38:05 +01:00
# Session manager
2023-12-28 22:19:04 +01:00
To be able to run a graphical enviroment it's necessary to run a seat and session manager. It's recommended to use `seatd` in conjunction with `pam_rundir` for a minimal setup:
2023-12-28 19:38:05 +01:00
```
2024-01-01 21:09:28 +01:00
# apk add seatd-launcher pam-rundir
2023-12-28 19:38:05 +01:00
```
Then make sure `pam_rundir` exports `XDG_RUNTIME_DIR` by uncommenting its line in `/etc/pam.d/base-session`:
```
session optional pam_rundir.so
```
2023-12-28 22:19:04 +01:00
Any graphical session launched has to be prefixed with:
2023-12-28 19:38:05 +01:00
```
2023-12-28 22:19:04 +01:00
$ dbus-run-session -- seatd-launch <program>
2023-12-28 19:38:05 +01:00
```