How to change the display manager?

I recently installed the ly display manager using sudo pacman -S ly but checking the option list of display managers in the EOS Welcome app doesn’t show it ( Please refer to the screenshot below ).

Is there a way to safely change it since i’ve seen people mess something up trying to change it from terminal and then they are just unable to login. Any help would be very much appreciated!

EOS Welcome only shows graphical display managers.
Graphical or not, you just need to enable the chosen DM service :

systemctl enable ly.service

and reboot.

Though I would recommend doing it like this to test it out. Change sddm to lightdm (or whatever greeter you have running now) if needed.
systemctl stop sddm.service
systemctl start ly.service

If that all works out, then you can make it permanent by:
systemctl disable sddm.service
systemctl enable ly.service

Otherwise, reboot if you’re locked up or something and you’re still in sddm.

2 Likes

I don’t think all of this is needed, when you enable a display manager it becomes the new display-manager service.

systemctl status display-manager
● ly.service - TUI display manager
Loaded: loaded (/usr/lib/systemd/system/ly.service; enabled; preset: disabled)

file /etc/systemd/system/display-manager.service
/etc/systemd/system/display-manager.service: symbolic link to /usr/lib/systemd/system/ly.service

Unless it’s misconfigured and doesn’t run…been there done that, better to test safely, imo.
I’ve been there…several times…and learned my lesson about locked up DMs.

Thank you guys! I was finally able to configure ly as my display manager.

I tried both the methods that you guys suggested:

  1. Directly enabling the ly service
  2. Disabling the current display manager service first and then enabling the one that you want to use

Directly enabling the ly service

This did not work in my case. I ran the following command:

systemctl enable ly.service

However, it kept complaining that the lightdm.service was already symlinked so i figured out that i had to disable my current display manager first( lightdm in my case ).

Disabling the current display manager service first and then enabling the one that you want to use

This method worked in my case. I ran the following 2 commands:

systemctl disable lightdm.service
systemctl enable ly.service

Yes, afraid it might have been too long since I changed DMs, because I didn’t remember needing to disable lightdm before you moved on.
Glad it’s working and I’m sure that’s a much lighter DM…maybe I should look into configuring it.

Wow, that was more of an adventure than I expected. I don’t know why, but after I stopped sddm and logged back in with ly, my networking failed. I went ahead and enabled ly, and rebooted. Everything’s fine. Sometimes you just don’t know why (and wasn’t worth repeating to see if I could figure it out).

This can work if you add --force to overwrite the symlink:

systemctl enable ly.service --force

Or maybe:

systemctl enable --now ly.service --force

for not needing reboot.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.