Guest Additions not working

Discussions about using Solaris guests in VirtualBox.
Post Reply
TopStar
Posts: 6
Joined: 6. Jan 2017, 11:36

Guest Additions not working

Post by TopStar »

Host: Windows 7 Professional SP1
Guest: Solaris 5.11 11.3 i86pc i386 i86pc

I have carried out the entire installation properly as far as I am aware. I attached the VBoxGuestAdditions.iso to the optical drive. I logged in as root role to /media/VBOXADDITIONS_5.1.12_11244 and carried out the install by issuing the command
pkgadd -d ./VBoxSolarisAdditions.pkg

The output does not show anything to indicate there is a problem. I have copied it below. It says it has successfully installed Guest Additions. I have rebooted the Guest, rebooted the host for good measure, but I can see that "auto-resize guest display" and seamless display is still disabled. Going crazy over this. Please can somebody help!

I have also tried uninstalling the package and reinstalling with both the -G and -d flags. Made no difference.

Output copied below for reference -

Code: Select all

# pkgadd -d ./VBoxSolarisAdditions.pkg

The following packages are available:
  1  SUNWvboxguest     Oracle VM VirtualBox Guest Additions
                       (i386) 5.1.12,REV=r112440.2016.12.20.16.46

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all

Processing package instance <SUNWvboxguest> from </media/VBOXADDITIONS_5.1.12_112440/VBoxSolarisAdditions.pkg>

Oracle VM VirtualBox Guest Additions(i386) 5.1.12,REV=r112440.2016.12.20.16.46
Oracle Corporation
Using </> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <SUNWvboxguest> [y,n,?] y

Installing Oracle VM VirtualBox Guest Additions as <SUNWvboxguest>
## Installing part 1 of 1.
/etc/fs/vboxfs/mount <symbolic link>
/opt/VirtualBoxAdditions/1099.vboxclient
/opt/VirtualBoxAdditions/LICENSE
/opt/VirtualBoxAdditions/VBox.sh
/opt/VirtualBoxAdditions/amd64/VBoxClient.Z
/opt/VirtualBoxAdditions/amd64/VBoxControl.Z
/opt/VirtualBoxAdditions/amd64/VBoxService.Z
/opt/VirtualBoxAdditions/amd64/pam_vbox.so
/opt/VirtualBoxAdditions/amd64/vboxfs
/opt/VirtualBoxAdditions/amd64/vboxfs_s10
/opt/VirtualBoxAdditions/amd64/vboxfsmount
/opt/VirtualBoxAdditions/amd64/vboxmslnk
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_110.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_111.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_112.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_113.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_114.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_117.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_118.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_13.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_14.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_15.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_16.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_17.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_18.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_19.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_70.so.Z
/opt/VirtualBoxAdditions/amd64/vboxvideo_drv_71.so.Z
/opt/VirtualBoxAdditions/i386/VBoxClient.Z
/opt/VirtualBoxAdditions/i386/VBoxControl.Z
/opt/VirtualBoxAdditions/i386/VBoxService.Z
/opt/VirtualBoxAdditions/i386/pam_vbox.so
/opt/VirtualBoxAdditions/i386/vboxfs
/opt/VirtualBoxAdditions/i386/vboxfs_s10
/opt/VirtualBoxAdditions/i386/vboxfsmount
/opt/VirtualBoxAdditions/i386/vboxmslnk
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_110.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_111.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_112.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_113.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_114.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_117.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_118.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_13.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_14.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_15.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_16.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_17.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_18.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_19.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_70.so.Z
/opt/VirtualBoxAdditions/i386/vboxvideo_drv_71.so.Z
/opt/VirtualBoxAdditions/solaris_xorg.conf
/opt/VirtualBoxAdditions/solaris_xorg_modeless.conf
/opt/VirtualBoxAdditions/vbox_vendor_select
/opt/VirtualBoxAdditions/vboxclient.desktop
/opt/VirtualBoxAdditions/vboxguest.sh
/opt/VirtualBoxAdditions/vboxmslnk
/opt/VirtualBoxAdditions/x11config15sol.pl
/opt/VirtualBoxAdditions/x11restore.pl
/usr/bin/VBoxClient <symbolic link>
/usr/bin/VBoxClient-all <symbolic link>
/usr/bin/VBoxControl <symbolic link>
/usr/bin/VBoxService <symbolic link>
/usr/kernel/drv/amd64/vboxguest
/usr/kernel/drv/amd64/vboxms
/usr/kernel/drv/vboxguest
/usr/kernel/drv/vboxguest.conf
/usr/kernel/drv/vboxms
/usr/kernel/drv/vboxms.conf
/usr/lib/VBoxOGL.so
/usr/lib/VBoxOGLarrayspu.so
/usr/lib/VBoxOGLcrutil.so
/usr/lib/VBoxOGLerrorspu.so
/usr/lib/VBoxOGLfeedbackspu.so
/usr/lib/VBoxOGLpackspu.so
/usr/lib/VBoxOGLpassthroughspu.so
/usr/lib/amd64/VBoxOGL.so
/usr/lib/amd64/VBoxOGLarrayspu.so
/usr/lib/amd64/VBoxOGLcrutil.so
/usr/lib/amd64/VBoxOGLerrorspu.so
/usr/lib/amd64/VBoxOGLfeedbackspu.so
/usr/lib/amd64/VBoxOGLpackspu.so
/usr/lib/amd64/VBoxOGLpassthroughspu.so
/usr/sbin/vboxmslnk <symbolic link>
[ verifying class <none> ]
/opt/VirtualBoxAdditions/VBoxClient <linked pathname>
/opt/VirtualBoxAdditions/VBoxControl <linked pathname>
/opt/VirtualBoxAdditions/VBoxISAExec <linked pathname>
/opt/VirtualBoxAdditions/VBoxService <linked pathname>
[ verifying class <manifest> ]
## Executing postinstall script.
Uncompressing files...
Configuring VirtualBox guest kernel module...
VirtualBox guest kernel module loaded.
VirtualBox pointer integration module loaded.
Creating links...
(*) X Org not found, skipped configuring X Org guest additions.
Installing 64-bit shared folders module...
Installing 32-bit shared folders module...
Configuring services (this might take a while)...
Enabling services...
Updating boot archive...
ln: cannot create /lib/opengl/ogl_select: No such file or directory
/var/sadm/pkg/SUNWvboxguest/install/postinstall[396]: /lib/svc/method/ogl-select: not found [No such file or directory]
Done.
If you have just un-installed the previous guest additions a REBOOT is required.
Installation of <SUNWvboxguest> was successful.
Last edited by socratis on 6. Jan 2017, 15:10, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guest Additions not working

Post by scottgus1 »

If you have a running Virtualbox window with a running guest in it, then you have a question for the Guests subforums, not the Host subforums. The Solaris guest is running, so you'd post in Solaris Guests.
socratis
Site Moderator
Posts: 27330
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: Guest Additions not working

Post by socratis »

Moved to "Solaris Guests" from "Windows Hosts". See scottgus1's comment above...
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.
TopStar
Posts: 6
Joined: 6. Jan 2017, 11:36

Re: Guest Additions not working

Post by TopStar »

Apologies. Will do so in future. Hope someone can help!
TopStar
Posts: 6
Joined: 6. Jan 2017, 11:36

Re: Guest Additions not working

Post by TopStar »

socratis wrote:Moved to "Solaris Guests" from "Windows Hosts". See scottgus1's comment above...
I don't mind the topic being moved. but looks like no one even checks this particular forum. The last post is 18th Nov. Not sure if I will ever get a reply for my post :(

By your criteria, there are dozens of other posts in the Windows Hosts forum which also should be moved....I cannot post URLs so I cannot point to them.
socratis
Site Moderator
Posts: 27330
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: Guest Additions not working

Post by socratis »

• You do not have a problem with your Windows Host.
• You do have a problem with your Solaris guest.
• Ergo, you should be in the Solaris guests forum.

The fact that there are not that many Solaris users that can share your experience and might have a solution, has absolutely nothing to do with this. More eyes does not mean more answers. Wrong forum means more dilution. Yes, there maybe a few topics that are not in the right place. We're trying to improve the situation.
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.
BelJoost
Posts: 37
Joined: 12. Nov 2016, 18:35

Re: Guest Additions not working

Post by BelJoost »

TopStar wrote:
socratis wrote:Moved to "Solaris Guests" from "Windows Hosts". See scottgus1's comment above...
I don't mind the topic being moved. [...] Not sure if I will ever get a reply for my post
Seems to be the best way to get you your question answered. People experienced with Solaris would be following that forum.
By your criteria, there are dozens of other posts in the Windows Hosts forum which also should be moved....I cannot post URLs so I cannot point to them.
Why bother? I don't think posting those urls will help you getting your question answered.
TopStar wrote: "auto-resize guest display" and seamless display is still disabled

Code: Select all

(*) X Org not found, skipped configuring X Org guest additions.
[...]
ln: cannot create /lib/opengl/ogl_select: No such file or directory
/var/sadm/pkg/SUNWvboxguest/install/postinstall[396]: /lib/svc/method/ogl-select: not found [No such file or directory]
I have no experience with Solaris so just suggesting. You mention having display issues. Both X.org and opengl have something to do with getting things displayed. It also seems the installer is having issues with both. I'd look into that.
TopStar
Posts: 6
Joined: 6. Jan 2017, 11:36

Re: Guest Additions not working

Post by TopStar »

Thanks for the tip on X-org not found. I had completely overlooked that. I sorted the problem.

I found on a forum that Guestbox Additions will not work on CLI. Solaris 11.3 gets installed only as CLI. If I want the Gnome Desktop, I have to install it separately.

So I first fixed the publisher proxy on my Solaris Guest (as this is a work laptop and it would not connect to the internet through the network)

Code: Select all

pkg unset-publisher solaris
pkg set-publisher -P -g http://pkg.oracle.com/solaris/release/ --proxy https://ProxyURL:port solaris
Then downloaded and installed the solaris-desktop package, shutdown and restarted the machine

Code: Select all

pkg install solaris-desktop
shutdown -i0 -g0 -y
After it rebooted, it booted with the gnome desktop. I then went to the terminal and ran the command to install guest additions package. It no longer gave the eror of X-org not found.

Code: Select all

cd /media
pkgadd -G -d ./VBOXADDITIONS_5.1.12_112440
Rebooted once again.

Code: Select all

shutdown -i0 -g0 -y
After this GuestAdditions was automatically installed and it was rewarding to see after I rebooted everything (automatic resizing, seamless window etc. became available). Hope this helps someone else.

(a helpful URL which explains by default desktop is not installed and how to install http://theinfradiary.blogspot.co.uk/201 ... laris.html)
Last edited by socratis on 9. Jan 2017, 18:02, edited 1 time in total.
Reason: Enclosed the code in [code] tag for better readability
Post Reply