10

I just installed VirtualBox 7.0 and made a new virtual Ubuntu 22.04.1 machine on my Windows 11 PC. I can run programs like libreoffice, etc, but I cannot open a terminal.

I've tried to activate the "Windows Hypervisor Platform" feature, but still no luck.

Anyone knows how to fix this ?

Toto
  • 19,304
drC1Ron
  • 205

4 Answers4

8

Yes, I got the same issue, and I solved it on bizarre way:
In your Ubuntu open settings and go to Language and Region and switch language to some other (for example Canadian English) and restart VM and terminal will work.
If you try to back it to previous language, you also could do it, it worked also for me.

4

I had the same issue with Virtual Box 7.0 and Ubuntu 20.04.5LTS.

I also changed the line of /etc/default/locale file to LANG=en_US.UTF-8 and rebooted. If you dont have privilleges to change it, you can Alt+F2 and write gedit admin:/etc/default/locale

Agithos
  • 41
4

I also changed the line of /etc/default/locale file to LANG=en_US.UTF-8 and LANGUAGE=en_US.UTF-8 and rebooted.

Greenonline
  • 2,390
2

I resolved this by checking the 'Skip unattended installation' option while creating the Ubuntu VM in VirtualBox. Using VirtualBox 7.0, the checkbox can be found on the first screen when creating a new VM. I have marked the checkbox in red in the image below. Judging from other Q&A regarding this issue, I'm guessing this works because it asks you your locale during the installation, while it doesn't if you choose for an unattended installation.

This doesn't really change anything about the installation process except that you have to enter credentials and other info while installing Ubuntu, instead of through the VirtualBox wizard before installing.

First step of adding a new VM to VirtualBox

Zimano
  • 301