Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Discussions about using Linux guests in VirtualBox.
tcmillis131
Posts: 9
Joined: 12. May 2017, 19:33

Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by tcmillis131 »

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?

DxDiag.txt
Details on my machine
(89.98 KiB) Downloaded 113 times
vboxlog.txt
vboxlog
(81.03 KiB) Downloaded 115 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: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by Perryg »

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.
tcmillis131
Posts: 9
Joined: 12. May 2017, 19:33

Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by tcmillis131 »

The auto-resize option is greyed-out too (ie View>Auto-resize Guest Display).

Attached is the vboxadd-install.log, in two files.
vboxadd-install_1.txt
(98.42 KiB) Downloaded 126 times
vboxadd-install_2.txt
(100.8 KiB) Downloaded 115 times
tcmillis131
Posts: 9
Joined: 12. May 2017, 19:33

Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by tcmillis131 »

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.
kernel.txt
kernel details
(236 Bytes) Downloaded 115 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: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by Perryg »

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.
tcmillis131
Posts: 9
Joined: 12. May 2017, 19:33

Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by tcmillis131 »

You'll do a new install? You have enough detail to replicate my local environment?

If so, thanks. I appreciate the help very much.
Perryg
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

Post by Perryg »

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.
Perryg
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

Post by Perryg »

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.

Code: Select all

[centos@localhost ~]$ cat /etc/redhat-release 
CentOS Linux release 7.3.1611 (Core) 
[centos@localhost ~]$ 
I don't know yet why your install is not working as it should but did you run the update?
tcmillis131
Posts: 9
Joined: 12. May 2017, 19:33

Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by tcmillis131 »

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?
tcmillis131
Posts: 9
Joined: 12. May 2017, 19:33

Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by tcmillis131 »

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
Perryg
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

Post by Perryg »

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?
tcmillis131
Posts: 9
Joined: 12. May 2017, 19:33

Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by tcmillis131 »

Sorry - how do I determine my desktop manager?

I've tried running 'wmctrl -m' from the command line, but returns 'Cannot open display'
Perryg
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

Post by Perryg »

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.
tcmillis131
Posts: 9
Joined: 12. May 2017, 19:33

Re: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by tcmillis131 »

Attached is what is shown on the VBox Manager screen...

Is this what you're seeking?

Again, I appreciate your help.
vbox_start_screen.png
vbox_start_screen.png (70.47 KiB) Viewed 5475 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: Guest Additions screen fail: VirtualBox 5.1.22, Centos 7.3, Win10 host

Post by Perryg »

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.
Post Reply