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

21 lines
537 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-03-24 17:48:23 +01:00
# apk add seatd pam-rundir
# rc-update add seatd default
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
```
2024-03-24 17:48:23 +01:00
For any user to launch a graphical session they must be in the `seat` group. Add them with:
2024-02-20 15:56:01 +01:00
```
2024-03-24 17:48:23 +01:00
# addgroup <user> seat
2023-12-28 19:38:05 +01:00
```