Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
-
- Posts: 9
- Joined: 12. May 2017, 19:33
Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
All,
I'm at my wits end.
I've created a virtual machine and installed guest additions without generating any errors (for the fifth or sixth time); however, the VM screen still cannot be resized!
VirtualBox 5.1.22 is being used with Centos 7.3 as guest and Windows 10 as host.
While I can drag the window that contains the VM screen, it just results in a larger border - I'm stuck with a VM screen that is about 640x480. And, selecting View>Virtual Screen 1 from the VM dropdown menus just shows all greyed-out options.
I've attached the output from dxdiag, showing my hardware (I'm using an Intel HD Graphics 630 card and the latest driver created on May 3, 21.20.16.4664).
The vboxlog is also attached.
Any suggestions?
I'm at my wits end.
I've created a virtual machine and installed guest additions without generating any errors (for the fifth or sixth time); however, the VM screen still cannot be resized!
VirtualBox 5.1.22 is being used with Centos 7.3 as guest and Windows 10 as host.
While I can drag the window that contains the VM screen, it just results in a larger border - I'm stuck with a VM screen that is about 640x480. And, selecting View>Virtual Screen 1 from the VM dropdown menus just shows all greyed-out options.
I've attached the output from dxdiag, showing my hardware (I'm using an Intel HD Graphics 630 card and the latest driver created on May 3, 21.20.16.4664).
The vboxlog is also attached.
Any suggestions?
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Make sure that auto-resize is enabled in the top bar ( title bar ) view and if it is then post the /var/log/vboxadd-install.log as an attachment.
-
- Posts: 9
- Joined: 12. May 2017, 19:33
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
The auto-resize option is greyed-out too (ie View>Auto-resize Guest Display).
Attached is the vboxadd-install.log, in two files.
Attached is the vboxadd-install.log, in two files.
-
- Posts: 9
- Joined: 12. May 2017, 19:33
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Also, attached are the kernel details returned from 'rpm -qa kernel\*|sort'.
And, 3.10.0-514.16.1.e17.x86_64 is returned when 'uname -a' is entered.
And, 3.10.0-514.16.1.e17.x86_64 is returned when 'uname -a' is entered.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Look in the syslog of the guest and see if you find any issue about vbox or an error. I will in the meantime start a new install and see what happens. This might take a little since I am in the middle of other projects but I will get it done today.
-
- Posts: 9
- Joined: 12. May 2017, 19:33
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
You'll do a new install? You have enough detail to replicate my local environment?
If so, thanks. I appreciate the help very much.
If so, thanks. I appreciate the help very much.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Yes I do. I don't see the host having anything to do with your issue so I only need to see what happens with the guest. I do have cent 7.3 installed already but it is a minimal server install ( CLI ) only and I don't want to mess with that so I need to do a desktop install. I have it installing now and hopefully it will not be too long.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
OK just finished and it is working. I installed, ran update, rebooted, installed the guest additions, and rebooted again. Auto-resize was enabled and dragging the window allows the guest to expand and fill the windows as it should.
I don't know yet why your install is not working as it should but did you run the update?
Code: Select all
[centos@localhost ~]$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[centos@localhost ~]$
-
- Posts: 9
- Joined: 12. May 2017, 19:33
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
ok. I have the same version of Centos - 7.3.1611.
What update are your referring to? Running 'yum update'?
Could the problem relate to the Intel HD Graphics 630 card? What card are you using?
What update are your referring to? Running 'yum update'?
Could the problem relate to the Intel HD Graphics 630 card? What card are you using?
-
- Posts: 9
- Joined: 12. May 2017, 19:33
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Also, here are the steps that I followed to install the guest additions (with the actual CLI statement after '>'). Does anything appear wrong here?
1 Download Centos 'Everything'
2 Download VirtualBox, run it as 'Administrator' (right-click on its icon to see that option), and select 'New'
3 Ensure Intel Virtualization Technology is enabled in bios, then follow the VirtulBox installation process, selecting Type=Linux, Version=Red Hat (64 bit); 2Gb of virtual RAM; VDI type hard drive; dynamically allocated; 200Gb hard drive.
4 Start the Virtual Machine (VM) and login as root
5 Enable network access
>dhclient
6 Check if a package is installed that will ensure Centos base updates are not overwritten by third-party updates. This will indicate 'Available Packages' if the package is not installed (otherwise it will indicate 'Installed Packages'
>yum info yum-plugin-priorities
7 Install the yum-plugin-priorities package
>yum install yum-plugin-priorities
8 Install needed packages that include gcc, git and kernel-devel.
>yum groupinstall "Development Tools"
9 Install dynamic kernel management system. This will ensure that the latest kernel is always used. Note that 'yum install dkms' does not work.
>rpm -Uvh [from fedoraproject epel package] dkms-2.3-4.20170313git974d838.el7.noarch.rpm
10 Update to the latest kernel.
>yum update
11 Reboot the VM.
>reboot
12 From the VM dropdown menu, select Devices>Optical Drives and the file, VBoxGuestAdditions.iso, which should be in \Program Files\Oracle\VirtualBox\
13 Confirm that VBoxGuestAdditions.iso was loaded. This should return '# ISO 9660 CD-ROM filesystem...'
>file -s /dev/sr0
14 Mount the cd-rom by creating a 'mount' directory, mounting the cd-rom, changing to that directory, and listing the resulting files. One should see the following 'VBoxLinuxAdditions.run' in the list.
>mkdir -p /mount/cdrom/
>mount /dev/sr0/ /mount/cdrom/
>cd /mount/cdrom/
>ls
15 Install the guest additions
>./VBoxLinuxAdditions.run
16 Reboot
>reboot
1 Download Centos 'Everything'
2 Download VirtualBox, run it as 'Administrator' (right-click on its icon to see that option), and select 'New'
3 Ensure Intel Virtualization Technology is enabled in bios, then follow the VirtulBox installation process, selecting Type=Linux, Version=Red Hat (64 bit); 2Gb of virtual RAM; VDI type hard drive; dynamically allocated; 200Gb hard drive.
4 Start the Virtual Machine (VM) and login as root
5 Enable network access
>dhclient
6 Check if a package is installed that will ensure Centos base updates are not overwritten by third-party updates. This will indicate 'Available Packages' if the package is not installed (otherwise it will indicate 'Installed Packages'
>yum info yum-plugin-priorities
7 Install the yum-plugin-priorities package
>yum install yum-plugin-priorities
8 Install needed packages that include gcc, git and kernel-devel.
>yum groupinstall "Development Tools"
9 Install dynamic kernel management system. This will ensure that the latest kernel is always used. Note that 'yum install dkms' does not work.
>rpm -Uvh [from fedoraproject epel package] dkms-2.3-4.20170313git974d838.el7.noarch.rpm
10 Update to the latest kernel.
>yum update
11 Reboot the VM.
>reboot
12 From the VM dropdown menu, select Devices>Optical Drives and the file, VBoxGuestAdditions.iso, which should be in \Program Files\Oracle\VirtualBox\
13 Confirm that VBoxGuestAdditions.iso was loaded. This should return '# ISO 9660 CD-ROM filesystem...'
>file -s /dev/sr0
14 Mount the cd-rom by creating a 'mount' directory, mounting the cd-rom, changing to that directory, and listing the resulting files. One should see the following 'VBoxLinuxAdditions.run' in the list.
>mkdir -p /mount/cdrom/
>mount /dev/sr0/ /mount/cdrom/
>cd /mount/cdrom/
>ls
15 Install the guest additions
>./VBoxLinuxAdditions.run
16 Reboot
>reboot
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Except for #6 and #7 which I am not familiar with it appears you have done it properly. What desktop manager did you choose to install?
-
- Posts: 9
- Joined: 12. May 2017, 19:33
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Sorry - how do I determine my desktop manager?
I've tried running 'wmctrl -m' from the command line, but returns 'Cannot open display'
I've tried running 'wmctrl -m' from the command line, but returns 'Cannot open display'
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Easiest way if you don't remember what you selected at install is to log out and click the gear in the login window to tell you what is selected.
-
- Posts: 9
- Joined: 12. May 2017, 19:33
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
Attached is what is shown on the VBox Manager screen...
Is this what you're seeking?
Again, I appreciate your help.
Is this what you're seeking?
Again, I appreciate your help.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host
No not really. Boot up the guest and at the login screen just below where you type the password you should see a gear. Click on it and it should open and show what the DT manager is.