Moved both my macbook pro m1 to Asahi. I tried it before but several bluetooth devices kept reconnecting and disconnecting. Keyboard and mouse were unusable.
This time, pretty much everything worked out of the box, so I reinstalled minimal install.
Installed xfce desktop, the plugins, couple of other things. Enabled and started lightdm and I was in business
After a reboot though, lightdm does not start. It says its enabled, but its not active (inactive: dead). In the logs I see this:
Nov 24 21:10:50 elysium systemd[1]: lightdm.service: Deactivated successfully.
Nov 24 21:10:50 elysium systemd[1]: Stopped lightdm.service - Light Display Manager.
Nov 24 21:10:50 elysium systemd[1]: lightdm.service: Consumed 2.290s CPU time.
When I restart lightdm, it just works .
Edit: I installed sddm, enabled it and disabled lightdm. It behaves exactly the same. I think its just missing a package.
I doubt itâs missing a package otherwise I would it expect to be as broken on manual start. This is possibly a timing issue with the display driver and xorg-server (used through lightdm / sddm) on startup. lightdm starts with the boot framebuffer and is terminated when that goes away in favour of the display driver. Itâs not restarted then. More verbose logs could confirm this. If this is the case it should be something xorg-server / lightdm / sddm need to handle better but xorg-server is dead.
A possible workaround could be to to copy the lightdm service file to /etc/systemd/system and delay its start. I woiuld start with adding ExecStartPre=/usr/bin/sleep 5s.
I didnât realize xfce isnât using wayland yet. I sort of assumed it was but its scheduled for 4.20, I am on 4.18
Thanks for the heads up on the upgrade, Iâll keep an eye on that.
The delay didnât work unfortunately.
Below [LightDM] I enabled:
logind-check-graphical=true
That didnât help.
I enabled debug logging and cleared out /var/log/lightdm.
After reboot, the dir remains empty. It seems the service never starts.
I wouldnât give up on this so easily, but given the fact that I run into multiple other issues with Xfce that werenât immediately obvious, I decided to go with Gnome, given the fact that its Fedoraâs default and probably best supported, and running on Wayland.
check with âsystemctl get-defaultâ if âgraphical.targetâ is your default target.
Otherwise try âsystemctl enable graphical.targetâ and reboot to check if lightdm then comes up automatically.