I'm on a Fedora Server 37 iso, so no DM/DE is pre-installed.
- Install wayland, lightdm, and lightdm-gtk-greeter.
- Edit lightdm's config to use lightdm-gtk-greeter
- (Line 102) change
greeter-session=example-gtk-gnometogreeter-session=lightdm-gtk-greeter - (Line 107) change
user-session=defaulttouser-session=qtile
- (Line 102) change
- Try to start graphical.target, and it fails.
From
sudo tail -n100 /var/log/lightdm/lightdm.log, here's a chunk of the relevant part. It tries to start an xserver, even though I don't have one installed and want to use wayland instead. I can't find a config option to tell it to use wayland either. Did I miss it, or is there another way to do this?[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ [+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) [+0.00s] DEBUG: Monitoring logind for seats [+0.00s] DEBUG: New seat added from logind: seat0 [+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:* [+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no [+0.00s] DEBUG: Seat seat0: Starting [+0.00s] DEBUG: Seat seat0: Creating greeter session [+0.00s] DEBUG: Seat seat0: Creating display server of type x [+0.00s] DEBUG: Using VT 1 [+0.00s] DEBUG: Seat seat0: Starting local X display on VT 1 [+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log [+0.00s] DEBUG: XServer 0: Can't launch X server X -core -noreset, not found in path [+0.00s] DEBUG: XServer 0: X server stopped [+0.00s] DEBUG: Releasing VT 1 [+0.00s] DEBUG: Seat seat0: Display server stopped [+0.00s] DEBUG: Seat seat0: Can't create display server for greeter [+0.00s] DEBUG: Seat seat0: Session stopped [+0.00s] DEBUG: Seat seat0: Stopping display server, no sessions require it [+0.00s] DEBUG: Seat seat0: Stopping [+0.00s] DEBUG: Seat seat0: Stopped [+0.00s] DEBUG: Failed to start seat: seat0
Edit: This github issue is someone's log that gets a lot farther than I do. My log above, you see Seat seat0: Creating display server of type x, but theirs is type wayland. This is the main thing I'd like to figure out. However later in their log, they call /etc/lightdm/Xsession ... still too. Is there a way to install a tiny subset of x11 to work, or do I need an entire x server package along with wayland to get LightDM running?