Can't access Virtualbox

Discussions related to using VirtualBox on Windows hosts.
Post Reply
shubham47
Posts: 3
Joined: 9. May 2022, 21:29

Can't access Virtualbox

Post by shubham47 »

Hello,

I am using VirtualBox Version 6.1.32 r149290 (Qt5.6.2) on Windows 11. I created a Ubuntu VM a couple of days ago.

Now while using the VM it got idle for a while and on trying unlocking I could not hold the mouse pointer in the password field, somehow it seemed to lose focus from the field as if some other key was pressed from the keyboard but everything worked well outside the VM. So I turned off the VM.

On starting the VM again it is asking me for login which it never asked before. Even though I give the correct login here I am unable to access the VM and the screen is stuck.

Attaching log file and screenshot for reference.

Kindly have a look and suggest fix as I created environment for my project and do now want to lose it otherwise I have to do a lot of setup again.

Thanks in advance!
Attachments
Screenshot 2022-05-09 214144.png
Screenshot 2022-05-09 214144.png (25.34 KiB) Viewed 1217 times
Screenshot 2022-05-09 213910.png
Screenshot 2022-05-09 213910.png (19.41 KiB) Viewed 1218 times
Ubuntu SLU VM-2022-05-09-21-10-53.log
(94.15 KiB) Downloaded 2 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Can't access Virtualbox

Post by scottgus1 »

The log shows what appears to be properly working VM 'hardware'. The screenshots show Ubuntu login, which is a sign the VM OS is running.

Video RAM is too low for 3D acceleration being enabled:
00:00:02.492977 VRamSize <integer> = 0x0000000001000000 (16 777 216, 16 MB)
00:00:02.492972 3DEnabled <integer> = 0x0000000000000001 (1)
This looks like the Ubuntu desktop environment cannot start, either because of too little video RAM, or the VM disk is completely full. Max the video RAM slider, then try again.
shubham47
Posts: 3
Joined: 9. May 2022, 21:29

Re: Can't access Virtualbox

Post by shubham47 »

scottgus1 wrote:The log shows what appears to be properly working VM 'hardware'. The screenshots show Ubuntu login, which is a sign the VM OS is running.

Video RAM is too low for 3D acceleration being enabled:
00:00:02.492977 VRamSize <integer> = 0x0000000001000000 (16 777 216, 16 MB)
00:00:02.492972 3DEnabled <integer> = 0x0000000000000001 (1)
This looks like the Ubuntu desktop environment cannot start, either because of too little video RAM, or the VM disk is completely full. Max the video RAM slider, then try again.
I have maxed out the video memory to 256 but it didn't help. Next I also tried switching 3D acceleration off, then tried a combination of both.

Strange though because it was working very smoothly with 16MB of video memory and #d acceleration on.

I want to stress again on the fact that I did not used to get this login black screen instead on launching the VM I was redirected to Ubuntu textured login screen. Which might indicate that something has changed and that is the root cause of the issue.

Attaching the screenshot for reference.
Attachments
Screenshot 2022-05-09 234546.png
Screenshot 2022-05-09 234546.png (36.58 KiB) Viewed 1199 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Can't access Virtualbox

Post by scottgus1 »

shubham47 wrote:I did not used to get this login black screen instead on launching the VM I was redirected to Ubuntu textured login screen.
Yes, you're getting the text-only, no-desktop-environment login, because the desktop is not starting.

The other thing that can cause this is if the VM's disk fills up. Ubuntu is known to go blackscreen if there is not enough free disk space to start the desktop environment. This happens in real PCs too. The solution is to log on text-only and delete stuff until the desktop environment can start. Web-search how to fix this in an Ubuntu PC and apply the steps to the VM. Also see How to Resize a Drive
shubham47
Posts: 3
Joined: 9. May 2022, 21:29

Re: Can't access Virtualbox

Post by shubham47 »

Hey,

It seems like memory could be the issue. It is 98% full.

I am trying to increase it from tools> properties but its not taking effect. Could you please guide me.

Thanks
Attachments
Screenshot 2022-05-10 002448.png
Screenshot 2022-05-10 002448.png (71 KiB) Viewed 1196 times
Screenshot 2022-05-10 001019.png
Screenshot 2022-05-10 001019.png (14.57 KiB) Viewed 1196 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Can't access Virtualbox

Post by scottgus1 »

shubham47 wrote:I am trying to increase it from tools> properties but its not taking effect. Could you please guide me.
Already did, read the linked tutorial again. You missed something.
fnaf
Posts: 1
Joined: 11. May 2022, 06:12

Re: Can't access Virtualbox

Post by fnaf »

I resolved my issue. Thanks
Post Reply