I was trying to configure libfprint, when accidently (I don't know how?) XServer was uninstalled. Now when I start Ubuntu, nothing is displayed after "Battery Checking Done. Everything OK"

In recovery mode, only terminal appears.

How to get back XServer?