This commit is contained in:
parent
ca0caced4e
commit
48ddef3e7f
1 changed files with 4 additions and 9 deletions
|
@ -3,7 +3,8 @@
|
||||||
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:
|
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:
|
||||||
|
|
||||||
```
|
```
|
||||||
# apk add seatd-launch pam-rundir
|
# apk add seatd pam-rundir
|
||||||
|
# rc-update add seatd default
|
||||||
```
|
```
|
||||||
|
|
||||||
Then make sure `pam_rundir` exports `XDG_RUNTIME_DIR` by uncommenting its line in `/etc/pam.d/base-session`:
|
Then make sure `pam_rundir` exports `XDG_RUNTIME_DIR` by uncommenting its line in `/etc/pam.d/base-session`:
|
||||||
|
@ -12,14 +13,8 @@ Then make sure `pam_rundir` exports `XDG_RUNTIME_DIR` by uncommenting its line i
|
||||||
session optional pam_rundir.so
|
session optional pam_rundir.so
|
||||||
```
|
```
|
||||||
|
|
||||||
`dbus` will also be necessary for a functional desktop enviroment:
|
For any user to launch a graphical session they must be in the `seat` group. Add them with:
|
||||||
|
|
||||||
```
|
```
|
||||||
# apk add cmd:dbus-launch
|
# addgroup <user> seat
|
||||||
```
|
|
||||||
|
|
||||||
Any graphical session launched has to be prefixed with:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ dbus-launch -- seatd-launch -- <program>
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue