I uninstalled gnome by mistake!

Still that error

Reboot. What appeared in the login screen? lightdm or gdm?

Still that problem

I think I should change to gdm


It's lightdm right?

Yes that is lightdm. Can you be specific? Are you getting the "Oh no something went wrong!" problem?

Ya that problem

Repeat the process and make your mind..

sudo dpkg-reconfigure gdm3

and choose gdm3 from the prompt.

I told that cuz error is still there

Reload failed

sudo systemctl start gdm3.service  

Try this.
and then:

sudo dpkg-reconfigure gdm3

I wonder if the GDM files are changed, since you tried to install gnome 40 or 41 (There is a gdm.41)
Try removing and purging GDM3, then reinstalling it from the Zorin Repos

sudo -i

Try to login as root and try the above commands to see if it makes any difference.

I did not refer to that command.

sudo systemctl start gdm3.service

and use sudo
or simply get root access as @Michel said, by using sudo -i

1 Like

When I use this command

sudo systemctl start gdm3.service


What shoud I do?

Did you reconfigure gdm?

No buttons are working

Your screenshot shows that a symlink may be the issue.
You may need to remove the display-manager.service symlink, then run the command.

Try is available