r/debian • u/Imaginary_Bee_3222 • 6h ago
General Debian Question Struggling to finish my clean installation of greetd and sway
Hello everyone,
So I'm trying to install and setup sway from a clean, net install. I know I could just install the default DE and install sway alongside it, but I'm in my no-bloat phase.
Anyway, I'm starting from the Debian 13.6 iso, and choosing no DE when installing (so no GNOME nor "Debian Desktop Environment" when I got the choice).
When launching it all, I install sway, swayidle, swaylock and sway-backgrounds on the sway side. As for the DM, I went for greetd and wlgreet (it seems to me that this is where things don't work) or gtkgreet (I tried too but it doesn't work either). I also install a few other things, but those are uninportant here (unless stuff like git, brightnessctl, build-essential or make are known to conflict with something but then I'll be damned)
After that, I'm following the archwiki guide for greetd to set things up. So that include the systemctl enable greetd.service, configuring /etc/greetd/config.toml, sway-config, wlgreet.toml, and even the start-sway script for XDG_CURRENT_DESKTOP. I've checked many times (due to me reinstalling Debian many times haha) and I haven't made mistakes reproducing the instructions.
Still, when I reboot, I get a XDG_CURRENT_DESKTOP error, and some kind of failed to flush wayland socket: something something broken pipe piperoken pipeol error (cannot remember the exact wording for the second part of the message but you have the pipe-based keywords) which I don't understand.
So, I'm a bit lost here. I suppose there is a problem with greetd, but since the command in config.toml starts with sway, maybe it's a sway problem ? What am I doing wrong ?
Thanks in advance for your replies.