No login screen after logout

Having installed Ubuntu Budgie form scratch today, I noticed that I don’t get a login screen when I make a logout manually, only a black screen with some lines of code.

How can I solve this?