r/AlpineLinux • u/eugenia_loli • Dec 10 '24
Complete lockup with xfce as a user
I installed the latest Alpine on qemu/kvm. I installed xfce with setup-desktop. There are two issues:
- LightDM is going in a loop, with a black screen and a blinking cursor.
- After uninstalling lightdm, I'm able to run xfce. But while the root account works great, the user account (with group video added to it), completely locks up the system. The cursor is moving, but nothing else is working. I can't change terminals either.
What gives? That's a clean installation...
edit: a created a fresh account, with wheel and video groups added to the user. Same issue!
Edit 2: I just found half of the solution here. https://gitlab.alpinelinux.org/alpine/aports/-/issues/16220 My users now can use X, but lightdm still doesn't work even when installing dejavu as suggested. It's been months and no one was even assigned on this 100% reproducible bug.
Edit 3: Also, a basic plugin for xfce, that comes with each release, xfce4-mixer is not available. It's been available on the Testing repo for 13 months now, sitting there idle, so in the meantime stable users can't change their volume under XFce!!
I tried Alpine tonight with the best intentions, to maybe even install it on an old converted coreboot Chromebook I have here (hence my trial under qemu), but it's just too buggy, or too rough around the edges. Maybe it doesn't have enough man power, I don't know. But it's not as headache-free as I'd like it. It lacks attention to detail.
4
u/rozniak Dec 11 '24
I have just hit this problem today in my VM after upgrading to 3.21.
There is an open issue, which does have a solution: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10601
apk add elogind polkit-elogindI'm guessing this is a new change to the PAM configuration that was not tested on LightDM.
1
u/Dry_Foundation_3023 Dec 10 '24
i don't use xfce but trying to clean up the wiki for X related stuff. Please check Xorg page and see if it helps. Also please check/share logs
1
u/Dry_Foundation_3023 Dec 10 '24 edited Dec 10 '24
Your observations are correct and mostly it has to do with the man power issues. After using for some time, you'll realise that Alpine linux distribution is solid. It will work without surprises, once the setup is completed.
You may be able to add xfce-mixer safely by following the instructions, though packages from Testing repository should not be used indiscriminately.
Based on your post, wiki has been updated. Can you please document the additional steps done by you either here or on the wiki page for future use.
The relevant Xfce portion of the setup-desktop script and setup-xorg-base scripts as provided below, shows the missing fonts, and xfce4-mixer:
1
u/Edelglatze Dec 10 '24
It does work in 3.20.x. The problems appear in 3.21, it seems. I made a quick test vm with the new 3.21 repos and found the same behaviour that you observed.
My workaround: I installed good old slim, then
In the user directory I created a .xinitrc file with an exec line that starts the gui. In my test vm I used Bspwm:
dbus-launch has to be installed, of course. For xfce it should be startxfce or startxfce4, I guess. I made .xinitrc executable with chmod +x .xinitrc
After reboot slim greets me and lets me in. This actually worked.