Auto resize guest display greyed out (new)

Discussions related to using VirtualBox on Windows hosts.
thommym
Posts: 9
Joined: 8. Aug 2010, 12:45
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Many

Auto resize guest display greyed out (new)

Post by thommym »

Hi all, subject says it I guess.

I've no luck resizing my Fedora 25 guest display on a Win 10 Home host, and yes, I've installed the guest additions to the latest.
When doing Host+f I get a little display of 1024x768 in the middle of my screen. The option 'Auto-resize Guest Display' is greyed out under View. Under View->Virtual Screen 1 I see options up to 1920x1200 but they are not selectable.

Cheers
Attachments
thommym.zip
VBox.log andVBoxManage list -l runningvms
(25.21 KiB) Downloaded 488 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Auto resize guest display greyed out (new)

Post by mpack »

Make sure your VMs are shut down - not suspended - when you try to make config changes.
thommym
Posts: 9
Joined: 8. Aug 2010, 12:45
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Many

Re: Auto resize guest display greyed out (new)

Post by thommym »

mpack wrote:Make sure your VMs are shut down - not suspended - when you try to make config changes.
Sorry, I don't understand the response.
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 greyed out (new)

Post by Perryg »

Actually auto-resize will work with the guest running since it is a guest function. If it is greyed out that almost always means a corrupt install of the guest additions or they are not installed.

I would like to see the following from the guest terminal.

glxinfo | grep OpenGL

Be sure that 3D acceleration is enabled in the guest first ( guest does need to be shut down for this one ).
thommym
Posts: 9
Joined: 8. Aug 2010, 12:45
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Many

Re: Auto resize guest display greyed out (new)

Post by thommym »

This is the output with 3D turned off. If I turn on 3D I get no login when I boot the guest, just a black display ...

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)
OpenGL version string: 2.1 Mesa 13.0.4
OpenGL shading language version string: 1.30
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 13.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
Last edited by socratis on 16. Mar 2017, 19:46, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
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 greyed out (new)

Post by Perryg »

At this point your should remove the installed guest additions and then install them again, making sure that you install the 5.1.18 version instead of the 5.1.16 ones that are already installed. Do this from a terminal and watch for any errors during the install and see if that works. If not then post the /var/log/vboxguest-install.log ( as an attachment ) from the guest.
thommym
Posts: 9
Joined: 8. Aug 2010, 12:45
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Many

Re: Auto resize guest display greyed out (new)

Post by thommym »

Well, I guess it was 5.1.18 installed already, the output says so. Attached the log file.

Code: Select all

Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.18 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.1.18 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Building Guest Additions kernel modules.
vboxadd.sh: You should restart your guest to make sure the new modules are actually used.
vboxadd.sh: Starting the VirtualBox Guest Additions.

Press Return to close this window...

Code: Select all

[root@fedo2 ~]# lsmod | grep -i vbox
vboxsf                 49152  1
vboxguest             266240  5 vboxsf
[root@fedo2 ~]# modinfo vboxguest
filename:       /lib/modules/4.9.13-201.fc25.x86_64/misc/vboxguest.ko
version:        5.1.18 r114002
license:        GPL
description:    Oracle VM VirtualBox Guest Additions for Linux Module
author:         Oracle Corporation
srcversion:     971D6DA572C4C1ED2395C8A
alias:          pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
depends:        
vermagic:       4.9.13-201.fc25.x86_64 SMP mod_unload
Attachments
vboxadd-install.zip
(7.48 KiB) Downloaded 485 times
Last edited by socratis on 16. Mar 2017, 19:48, edited 2 times in total.
Reason: Removed unnecessary verbatim quote of the whole previous message. Enclosed the information in [code] tag for better readability.
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 greyed out (new)

Post by Perryg »

Would you run the following in the guest terminal and post the results here please:

lsmod | grep vbox

A new guest log would also help.
thommym
Posts: 9
Joined: 8. Aug 2010, 12:45
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Many

Re: Auto resize guest display greyed out (new)

Post by thommym »

I dumped the install and started over. I'll tell how it comes out. I've a Solaris 11.3 on the same host, works like a charm.
thommym
Posts: 9
Joined: 8. Aug 2010, 12:45
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Many

Re: Auto resize guest display greyed out (new)

Post by thommym »

Perryg wrote:Would you run the following in the guest terminal and post the results here please:

lsmod | grep vbox

A new guest log would also help.
New fresh install with this steps roughly, still no luck with display resize:

Configure new vboxguest
mount Fedora-Workstation-Live-x86_64-25-1.3
Start guest
login as Fedora guest
Select install
add root passwd and a user with admin
Set keyboard etc
let the install finish then reboot
Log in as user
sudo -i
# dnf upgrade
# dnf install kernel-devel-4-9-13-201.fc25
# reboot


Devices->Insert VBox Guest Additions CD and run it
(It says 5.1.18)

Restart guest

lsmod | grep vbox
vboxsf 49152 1
vboxvideo 49152 3
ttm 94208 1 vboxvideo
drm_kms_helper 151552 1 vboxvideo
vboxguest 266240 6 vboxsf,vboxvideo
drm 339968 6 vboxvideo,ttm,drm_kms_helper

Attached /var/log/vboxguest-install.log
Attachments
vboxadd-install.zip
(7.48 KiB) Downloaded 374 times
thommym
Posts: 9
Joined: 8. Aug 2010, 12:45
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Many

Re: Auto resize guest display greyed out (new)

Post by thommym »

Another reboor and now it work. Don't ask me how ...
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 greyed out (new)

Post by Perryg »

I just got finished looking at your log. Yes it takes a bit :-) and found the same thing you just realized. This log showed a good install. Rebooting after is always needed but not a second reboot, which tells me something in the guest may be blocking the VBox Mod/s from loading. If you have another issue try first disabling SELinux until after the install and see if that helps.
telesforox
Posts: 2
Joined: 22. Jan 2018, 19:21

Re: Auto resize guest display greyed out (new)

Post by telesforox »

I had this issue "Auto-resize Guest Display" greyed out / disabled on a guest Windows 10 over a Ubuntu 16.04 host, I've sorted it out after long search with the simple hint (found in LinuxQuestions org): enable the VirtualBox Guest Additions Tray Applications in the Task Manager / Startup tab. I know is not the current thread main issue but as this was the first result in a Google search with same title hope this will save time to other lost searchers... :roll:
Cheers!
GranitePenguin
Posts: 1
Joined: 26. May 2018, 20:22

Re: Auto resize guest display greyed out (new)

Post by GranitePenguin »

telesforox wrote:I had this issue "Auto-resize Guest Display" greyed out / disabled on a guest Windows 10 over a Ubuntu 16.04 host, I've sorted it out after long search with the simple hint (found in LinuxQuestions org): enable the VirtualBox Guest Additions Tray Applications in the Task Manager / Startup tab.
This was exactly what I needed. I don't know why the Tray application was disabled, but changing it to enabled at startup did the trick.

Thanks!
DanielNeedles
Posts: 1
Joined: 27. Oct 2018, 00:21

Re: Auto resize guest display greyed out (new)

Post by DanielNeedles »

On both Euler 2.0sp3 and CentOS 7 via Vagrant I found I had to do the following:

1. Install kernel headers along with the right development package:
sudo yum -y install gcc automake make kernel-headers kernel-devel-$(uname -r) perl

2. For some reason it didn't work installing through root. When I reinstalled via the vagrant user it worked. I didn't diagnose why further than that.
Locked