1

I maintain an Ubuntu VirtualBox server that hosts Ubuntu guest VMs. When I recently upgraded a VM from Ubuntu Desktop 20.04 to 22.04, I was unable to login to the VM. The server is headless (no monitor) so I use Jump Desktop (RDP client) to login to all the VMs. I suppose any RDP client would have this problem. When the login screen displayed, it would not accept any keyboard or mouse input. How do I fix this?

2
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Commented Sep 10, 2022 at 18:35
  • This question is very specific
    – Steve O
    Commented Jan 22 at 17:39

1 Answer 1

1

I tried to enable automatic login for the VM by editing /etc/gdm3/custom.conf to enable automatic login for a user by uncommenting parameters:

# Enabling automatic login
#  AutomaticLoginEnable = true
#  AutomaticLogin = user1

However, the screen still froze at the desktop after login.

I accidentally noticed that there was another parameter in the same file. Uncommenting it forces the login screen to use Xorg to display it. This solved the problem.

# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false

Note that I have always had a similar problem logging into Ubuntu desktops with earlier versions. The screen would not properly display the login screen but it would accept keyboard input. I could enter the user and password blindly to get to the desktop. This solution also fixes that problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .