Problem with Linux Mint in VirtualBox

Discussions related to using VirtualBox on Linux hosts.
Post Reply
F4r1st0
Posts: 5
Joined: 24. May 2020, 11:44

Problem with Linux Mint in VirtualBox

Post by F4r1st0 »

Hi,

I'm trying to create a virtual machine, but once I run the VM show me this message from Guru:
Ha ocurrido un error crítico durante la ejecución de la máquina virtual y ha sido parada.
Para obtener ayuda, vaya a la sección «Community» en virtualbox_org o su contrato de soporte. Proporcione los contenidos de los archivos de trazas VBox.log y el archivo de imagen VBox.png, que puede encontrar en el directorio /home/Portatil01/VirtualBox VMs/linux-mint/Logs, asi como una descripción de lo que estaba haciendo cuando ocurrió el error. Note que puede acceder también a los archivos de arriba seleccionado Mostrar trazas del menú Máquina de la ventana principal de VirtualBox.
Presione Aceptar si quiere apagar la máquina o presione Ignorar si quiere dejarla tal como está para depurar el error. Note que la depuración requiere de conocimiento especial y herramientas, por lo que se recomienda presionar Aceptar ahora.
The log information is attached.

Thanks in advance!
Attachments
VBox_log.zip
VirtualBox Log
(51.15 KiB) Downloaded 22 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Problem with Linux Mint in VirtualBox

Post by scottgus1 »

This guru meditated over an 'invalid state' before the guest's data was even touched. I do see only 16MB video memory, modern OS's need more. Move the video slider to 128MB, possibly turn on 3D acceleration.

The regular RAM is set to 4.8GB, and available host PC RAM was 5.5GB. theoretically there was enough memory, but it might have required a contiguous chunk. Try a host reboot, also try just 4GB or even 2GB.
F4r1st0
Posts: 5
Joined: 24. May 2020, 11:44

Re: Problem with Linux Mint in VirtualBox

Post by F4r1st0 »

scottgus1 wrote:This guru meditated over an 'invalid state' before the guest's data was even touched. I do see only 16MB video memory, modern OS's need more. Move the video slider to 128MB, possibly turn on 3D acceleration.

The regular RAM is set to 4.8GB, and available host PC RAM was 5.5GB. theoretically there was enough memory, but it might have required a contiguous chunk. Try a host reboot, also try just 4GB or even 2GB.
Hi, thanks for the suggestions. I have tried the solutions proposed, but with a satisfactory results. Also I tried with other OS, but it didn't work. I have the latest version of VB for Ubuntu 20.04 LTS. I receive the same message every time I run a VM.
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Problem with Linux Mint in VirtualBox

Post by fth0 »

VBox.log file wrote:00:00:04.139148 ERROR [COM]: aRC=NS_ERROR_INVALID_ARG (0x80070057) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={Argument aWidth is invalid (must be aWidth != 0 && aWidth <= 32767)}, preserve=false aResultDetail=0
The problem is possibly display related, something in the communication between VirtualBox and the host graphics system. Googling didn't really help, I found a few similar cases, but without a solution.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Problem with Linux Mint in VirtualBox

Post by scottgus1 »

Interesting, fth0! I wonder if the guest .vbox screen size is screwed up?

F4r1st0, Please right-click the guest in the main Virtualbox window's guest list, choose "Show in (whatever Linux calls a folder window)". In the window that opens, zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.
F4r1st0
Posts: 5
Joined: 24. May 2020, 11:44

Re: Problem with Linux Mint in VirtualBox

Post by F4r1st0 »

scottgus1 wrote:Interesting, fth0! I wonder if the guest .vbox screen size is screwed up?

F4r1st0, Please right-click the guest in the main Virtualbox window's guest list, choose "Show in (whatever Linux calls a folder window)". In the window that opens, zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.
Ok, I'm sending the file attached to poste. I have tried to uninstall and reinstall Virtualbox, but without success. I'm using Ubuntu 20.04 LTS, does it could be a problem for me?

Thanks in advance
Attachments
log_vbox.zip
(57.44 KiB) Downloaded 7 times
F4r1st0
Posts: 5
Joined: 24. May 2020, 11:44

Re: Problem with Linux Mint in VirtualBox

Post by F4r1st0 »

F4r1st0 wrote:
scottgus1 wrote:Interesting, fth0! I wonder if the guest .vbox screen size is screwed up?

F4r1st0, Please right-click the guest in the main Virtualbox window's guest list, choose "Show in (whatever Linux calls a folder window)". In the window that opens, zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.
Ok, I'm sending the file attached to poste. I have tried to uninstall and reinstall Virtualbox, but without success. I'm using Ubuntu 20.04 LTS, does it could be a problem for me?

Thanks in advance
Just a few captures of the error's screen:

https://ibb.co/tD1K5q7
https://ibb.co/d2P445B
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Problem with Linux Mint in VirtualBox

Post by scottgus1 »

The attached .vbox zip is not a .vbox file, it's a log renamed to a .vbox extension. I'm not really certain how you pulled that one off. If you overwrote the guest's .vbox file then tried to start it a couple times, this guest might be toast.

The .vbox file has a .vbox extension already, it's full of XML, and it starts with:
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
If you have overwritten the .vbox file, try looking for a .vbox-prev file and zip that. Make a copy of it and rename the copy's extension to .vbox.

The log contained in the attached ".vbox" says:
00:00:01.309146 VirtualBox VM 6.1.6_Ubuntu r137129 linux.amd64 (Apr 15 2020 15:48:44) release log
This is the Ubuntu fork of Virtualbox, not official Virtualbox: https://www.virtualbox.org/wiki/Linux_Downloads. We don't know how to handle the forks.

Forum gurus won't go to third-party sites for logs and pictures that can be posted using the forum's Upload Attachment tab. If the screenshot shows an error message, post the text of the error message instead. If the screenshot shows important information, not just a black box or a seized guest OS, crop and resize the picture to get under the forum's 128kB size limit, then post the picture file, using the forum's Upload Attachment tab.
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Problem with Linux Mint in VirtualBox

Post by fth0 »

scottgus1 (and me) like to see one of the following files: ;)

'/home/Portatil01/VirtualBox VMs/linux-mint/linux-mint.vbox'
'/home/Portatil01/VirtualBox VMs/linux-mint/linux-mint.vbox-prev'
'/home/MiPC01/VirtualBox VMs/linux_mint1/linux_mint1.vbox'
'/home/MiPC01/VirtualBox VMs/linux_mint1/linux_mint1.vbox-prev'
F4r1st0
Posts: 5
Joined: 24. May 2020, 11:44

Re: Problem with Linux Mint in VirtualBox

Post by F4r1st0 »

fth0 wrote:scottgus1 (and me) like to see one of the following files: ;)

'/home/Portatil01/VirtualBox VMs/linux-mint/linux-mint.vbox'
'/home/Portatil01/VirtualBox VMs/linux-mint/linux-mint.vbox-prev'
'/home/MiPC01/VirtualBox VMs/linux_mint1/linux_mint1.vbox'
'/home/MiPC01/VirtualBox VMs/linux_mint1/linux_mint1.vbox-prev'
Ok, it was my fault. I found the file recquired.
Attachments
linux_mint1.zip
(1.39 KiB) Downloaded 10 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Problem with Linux Mint in VirtualBox

Post by scottgus1 »

Thanks! The line I was looking for is:
<ExtraDataItem name="GUI/LastNormalWindowPosition" value="2408,525,640,524"/>
Depending on the size of the monitor, the 2408 looks kind of big, but it could be OK on modern monitors.

Try issuing this command in a terminal window:

vboxmanage setextrata "linux_mint1" "GUI/LastNormalWindowPosition"

That should delete that line and reset the guest window to a default location and size. Try starting "linux_mint1". (If you're at the other PC, replace all "linux_mint1" with "linux-mint".)

If that doesn't fix the guest, then I'm stuck.
Post Reply