I reinstalled them after noticing that it was not a good idea, but seemingly it was too late, and now I get a login screen looking like this. I would like to revert it back to its original state, to be seen here
The above sequence may be able to restore your original login screen, but only if removing those packages didn’t also remove the display manager you had had. You didn’t tell us which that was, or which DE you selected for original installation, so we can only suggest to reinstall, if necessary, whichever of the following it may have been:
Strange. It seems that you are missing sddm as well as lightdm.
I think the image of the one you want to see is of sddm.
In any case, try to install both
zypper in sddm lightdm
and then switch using the update-alternativecommand.
==================
BTW please next time (and all times after) include the command you use with all the output and the new prompt when you post. In this case we can assume you used exactly the command that was suggested, but we very much like to see all in one copy/paste. Then we see what you saw and there can be no misunderstandings. Example from s system here:
boven:~ # update-alternatives --config default-displaymanager
There are 4 choices for the alternative default-displaymanager (providing /usr/lib/X11/displaymanagers/default-displaymanager).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/X11/displaymanagers/sddm 25 auto mode
1 /usr/lib/X11/displaymanagers/console 5 manual mode
* 2 /usr/lib/X11/displaymanagers/lightdm 15 manual mode
3 /usr/lib/X11/displaymanagers/sddm 25 manual mode
4 /usr/lib/X11/displaymanagers/xdm 10 manual mode
Press <enter> to keep the current choice[*], or type selection number:
boven:~ #