New install of Alpine 3.21 with XFCE does not boot to a working GUI.
A fresh instance of 3.21 with the XFCE desktop environment will not start correctly or accept input.
Boot system from the alpine-standard-3.21.0-x86_64.iso
file.
Execute setup-alpine
-
us us
keyboard selection - Create a user.
- All other settings are default Reboot Execute 'setup-desktop xfce' Reboot
LightDM fails to load.
- The screen flashes a few times and settles on a blank screen with a flashing cursor.
- The
/var/log/lightdm/seat0-greeter.log
file contains only one line:Failed to open PAM session: Permission denied
Switching to the terminal and running startx
will launch the DE, but no input is accepted.
Edit the /etc/pam.d/lightdm-greeter file:
Comment the -session optional pam-elogind.so
Reboot.
LightDM appears to work and the DE loads as expected, but the Restart and Shutdown action menu items are grayed out.
Execute apk add elogind polkit-elogind
resolves the action menu items.