Black Screen after login Ubuntu guest on OS 10.10.1

Discussions related to using VirtualBox on Mac OS X hosts.
UMDinfo
Posts: 10
Joined: 15. Dec 2014, 20:38
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu

Black Screen after login Ubuntu guest on OS 10.10.1

Post by UMDinfo »

I've spent a considerable amount of time trying to fix a VB of Ubuntu 14.04 and I cannot seem to get this to work. It boots fine but boots to a black screen I can get the tty1 display to work but my efforts to get an X display working are fruitless. Please help!!!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by socratis »

A quick search can go long ways...
- viewtopic.php?f=3&t=64618
- viewtopic.php?f=6&t=64981
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
UMDinfo
Posts: 10
Joined: 15. Dec 2014, 20:38
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by UMDinfo »

host+F1 then host+f7 doesn't fix anything.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by loukingjr »

UMDinfo wrote:host+F1 then host+f7 doesn't fix anything.
actually that fix is for a problem with the Ubuntu 14.10 & 15.04 installers. Not to fix a previously installed guest. Has your guest ever worked? Please attached a zipped copy of the vbox.log file.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
UMDinfo
Posts: 10
Joined: 15. Dec 2014, 20:38
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by UMDinfo »

I ended up reinstalling my guest and redoing everything. Everything was working just fine. Now it has happened again after a reboot. I've attached my log files.
Attachments
Logs.zip
(70.55 KiB) Downloaded 16 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by Perryg »

Did you enable 3D acceleration in the video settings for the guest?
UMDinfo
Posts: 10
Joined: 15. Dec 2014, 20:38
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by UMDinfo »

yes that is enabled.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by Perryg »

Then you need to post the guests /var/log/vboxadd-install.log and /var/log/Xorg.0.log files as an attachment.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by loukingjr »

according to the vbox.log you posted you have 5 cores assigned to the guest? Try reducing that to 2. You also have 4GB of RAM assigned to the guest,. Try reducing that to 2GB. You only have a little under 5GB available.

I don't know what this is:

Code: Select all

00:00:01.253042   StreamName  <string>  = "BioData_Training" (cb=17)
mine says:

Code: Select all

00:00:00.678509   StreamName  <string>  = "Ubuntu 14.04 LTS" (cb=17)
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by loukingjr »

Your MacBook Pro Retina has two GPUs (Intel HD Graphics 4000 & NVIDIA GeForce GT 650M) and one has automatic switching. I personally don't know how to force a guest to use just one of the GPUs but perhaps someone else does. You should still change your guest settings.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
UMDinfo
Posts: 10
Joined: 15. Dec 2014, 20:38
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by UMDinfo »

I changed all the the settings with no luck. Here are the log files that were requested.
Attachments
Archive.zip
(12.45 KiB) Downloaded 10 times
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by loukingjr »

I suspect the reason it seemed to work then turned black is because it it's using the wrong GPU. I've never owned a Retina Mac so I can't help there. do a search on the forum for "Retina". I'm sure there are many posts.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by Perryg »

Can I assume this is from you trying to run with 3D disabled?

Code: Select all

8.115] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
Can you dbl check the it is enabled and then post the following from the guests terminal?

Code: Select all

cat /var/log/Xorg.0.log | grep GLX
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by loukingjr »

Just to add something, Retina Macs with dual GPUs automatically switch depending on the application and the need. I read there is no manual way to force the use of one or the other other than a hack.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
UMDinfo
Posts: 10
Joined: 15. Dec 2014, 20:38
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Black Screen after login Ubuntu guest on OS 10.10.1

Post by UMDinfo »

3d is definitely enabled. here is the GLX Xorg.

Do I need a new driver?
Attachments
Xorg_GLX.txt
(202 Bytes) Downloaded 12 times
Post Reply