Auto-resize Guest Display is disabled

Discussions about using Linux guests in VirtualBox.
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Auto-resize Guest Display is disabled

Post by Ohoud »

Hello,
I have a windows 8 laptop and I am running Ubuntu 12.04.4 as a guest on virtual box 4.3.10. I installed the guest additions and restarted the machine but the "Auto-resize Guest Dispaly" is disabled and the machine is not using the full screen resolution for the display. Can someone help me with that.
Thanks
Ohoud
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

If the auto-resize is not available then you have not successfully installed the guest additions.
Were there error or warnings in the terminal when you installed the guest additions?
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

No there was not any errors or warnings. Could you please help me solve this issue
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

Read /var/log/vboxadd-install.log & /var/log/Xorg.0.log to see why it failed.
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

I am new to Linux so could you please tell me how to find these files
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

You can find them at the location I posted. Use a terminal or if you have a desktop manager use the file manager.

Example in terminal:
cat /var/log/vboxadd-install.log
cat /var/log/Xorg.0.log
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

Thank you so much for your help. I was able to view the files but what specifically do I have to check?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

For errors and warnings. Post both here ( as an attachment ) & I'll see what is going on.
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

Here is the first file
Attachments
vboxadd-install.log
(84 KiB) Downloaded 794 times
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

Here is the second file
Attachments
Xorg.0.log
(108.59 KiB) Downloaded 247 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: Auto-resize Guest Display is disabled

Post by Perryg »

Code: Select all

(EE) VBoxVideo(0): Failed to initialize the VirtualBox device (rc=-102) - make sure that the VirtualBox guest additions are properly installed.  If you are not sure, try reinstalling them.  The X Window graphics drivers will run in compatibility mode.
Install the GAs again from terminal as sudo and watch closely for any errors.
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

Do you mean using the following command?
sudo apt-get install virtualbox-guest-additions-iso
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

Nope. That will get you in more trouble then you already have. Is that how you did it the first time?
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

I am afraid just did that !!
and this is what I got
DKMS: install completed.
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules [ OK ]
Setting up virtualbox-qt (4.1.12-dfsg-2ubuntu0.5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

But that was not what I did initially, I used the "Insert Guest Additions CD image".
I reaaly appreciate your help if you could tell me what to do now.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

Now you have to get rid of everything VBox on the guest

You really can't use the Ubuntu software center for that and I bet you don't have synaptic installed, so let's go to the terminal.

Run the two commands and see it it returns that it is going to remove packages and answer yest to them both.

Code: Select all

sudo apt-get purge VBox*
sudo apt-get purge vbox*
Now to install the proper guest additions I would first install the following packages from the terminal
sudo apt-get install dkms build-essential linux-headers-$(uname -r)
Next click the devices tab at the top and click on insert guest additions. This will mount the additions in the virtual cd.
If you are asked if you want to install them select yes and watch for errors. If nothing happens then open a terminal and go to the location that has the cd and drill in until you find the actual *.run for your guest. one is 32 bit the other is 64, but it is clear which is which. Then just use sudo and the complete name and extension.

Example:
sudo ./VBoxLinuxAdditions-amd64.run
Post Reply