right, you cannot use lightdm.
sddm works, or just disable the login manager and login from tty.
To disable e.g. lightdm:
sudo systemctl set-default multi-user.target
sudo systemctl disable lightdm
sudo systemctl enable getty@tty1
sudo systemctl disable getty@tty2
you can then login on tty and start sway from there: sway
you can also copy the following to your ~/.bash_profile
to start sway automatically when logging in from tty1 (and to set some environment variables to make applications start in wayland mode:
# If running from tty1 start sway
if [ "$(tty)" = "/dev/tty1" ]; then
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export MOZ_ENABLE_WAYLAND=1
exec sway
fi
note that, as stated by nolan , wayland isn't supported on solus. Wayland support for nautilus
has just been dropped as far as i can tell. At least it doesn't start in wayland mode anymore for me.
to enable lightdm again:
sudo systemctl set-default graphical.target
sudo systemctl enable lightdm
sudo systemctl disable getty@tty1
sudo systemctl enable getty@tty2