88

I'm using windows 10 and I installed Ubuntu 22.04 on Virtual box 7.0.0.

When I click the terminal icon, the upper left side of the screen(where is the executing application name view), there is the title 'Terminal' and a turning arrow that indicates it's launching.

enter image description here

But somehow it blows away and the terminal is not opening and really executing.

I'm not sure it's about Ubuntu or Virtual machine too. How can I fix this?

yun
  • 991
  • 1
  • 6
  • 5

7 Answers7

66

Same on vbox 7.0, I had fixed it adding en_US.UTF-8 instead of en_US to the /etc/default/locale then sudo locale-gen --purge and reboot.

As pointed out in the comments, one can also do this via: Settings>Language & Region> and setting all settings to United States.

Note: Both solutions are applied inside the Virtualbox Ubuntu machine.

32

I got this issue with VirtualBox 7.2 on Windows 11, My findings:

If you use "unattended installation", the created user will not even have sudo privileges, so you cannot update/edit "/usr/bin/gnome-terminal" with the correct Python version or purge gnome-terminal. The created user cannot even run updates.

As suggested above, skip the unattended installation:

As shown in snip below

After installation, everything worked correctly.

Terminal worked

Esther
  • 3,932
kartik
  • 421
24

I've spent 3h to fix this problem (Win 10 Pro, Vbox 7.0) and finally, I've decided to re-install a new guest OS with Skip Unattended Installation checked

Luke
  • 605
12

I had the same problem. The first thing I tried after installing Ubuntu 22.04 in VirtualBox 7.0 was to start the terminal. But it didn't work.

My solution was to create a new VM with a new installation. This time I selected "Skip unattended installation" when I created the VM, so that the Guest Additions was not automatically installed. Now I could start the terminal! After this I installed the Guest Additions using sudo apt-get install virtualbox-guest-additions-iso. In this way I got an old version of the Guest Additions, but that version seems to work fine.

So obviously the problem is related to the Guest Additions.

5

I've been cracking my brain all day with the same problem. The only solution was to install a version of VB lower than 7.0

Simon
  • 51
1

Switch Ubuntu to X11 instead of Wayland.

Also you can try to switch off 3d acceleration in the machine settings.

I just installed VB 7.0.2 and also had some trouble with graphics.

Finally all works with X11 and 3D enabled.

Pilot6
  • 92,041
1

This worked for my Virtualbox 7.0 with host Windows 10 and guest Ubuntu 22.04.

  1. Start Virtualbox machine and press Shift quickly until the grub boot menu is shown.
  2. Go to Advanced options for Ubuntu and boot in recovery mode.
  3. Drop to root shell prompt (will ask for root password)
  4. sudo adduser username sudo (change username with your username)
  5. Change everything in /etc/default/locale to be 'en_US.UTF-8', I used nano.
  6. reboot
Katu
  • 3,663