virtualbox guest additions problem, ububtu-17.04

Duane Whitty duane at nofroth.com
Wed Sep 13 06:58:05 UTC 2017



On 17-09-13 12:50 AM, Stuart McGraw wrote:
> Hello, 
> 
> I am a new Ubuntu user or at least I want to be but am
> hitting a major install roadblock.  I am installing 
> Ubuntu-17.04 as a VirtualBox guest and need to install 
> the VirtualBox guest additions.
> 
> The instructions I've seen on the internet are all over 
> the place in terms of what needs to be done.
> 
> There are a bunch of virtualbox* packages in the Ubuntu
> repository and its not clear which if any I need to 
> install.
> 
> FWIW I have tried installing virtualbox-guest-x11 
> but on reboot, the system is trashed -- the window
> remains black, changes size a few times, then the VM
> hangs.
> 
> Does anyone here have, or can point to, a clear 
> authoritative set of instructions to get this working?
> 
> (FWIW, on do-it-yourself, techie, complicated Arch
> Linux this was trivial.)
> 
> (Host system is Fedora-23, VB-5.1.10 if that matters.)
> 
> Thanks...
> 
> 
I've had to turn off video acceleration as I was getting terrible
flicker and a very slow to respond system.

Here's what I do in the guest Ubuntu environment:

(Following commands / actions are run on the guest, not the host)

$> sudo apt-get install build-essential linux-headers-virtual dkms

In VirtualBox manager go to the devices menu and select "Insert Guest
Additions CD"

$> sudo mkdir -p /media/cdrom

$> sudo mount /dev/cdrom /media/cdrom

$> sudo sh /media/cdrom/VBoxLinuxAdditions.run

Now restart the guest: $> sudo reboot

To check the guest additions were installed (may vary depending on
whether you installed shared folders):

$> lsmod

Module                  Size  Used by
vboxsf                 40960  1
vboxvideo              40960  1
drm_kms_helper        135168  1 vboxvideo
ttm                    86016  1 vboxvideo
ppdev                  20480  0
drm                   303104  4 ttm,drm_kms_helper,vboxvideo
vboxguest             241664  3 vboxsf,vboxvideo
syscopyarea            16384  2 drm_kms_helper,vboxvideo
sysfillrect            16384  2 drm_kms_helper,vboxvideo
input_leds             16384  0
sysimgblt              16384  2 drm_kms_helper,vboxvideo
joydev                 20480  0
serio_raw              16384  0
fb_sys_fops            16384  1 drm_kms_helper
video                  40960  0
parport_pc             32768  0
lp                     16384  0
parport                45056  3 lp,ppdev,parport_pc
hid_generic            16384  0
usbhid                 49152  0
hid                    98304  2 hid_generic,usbhid
e1000                 122880  0
psmouse               114688  0
ahci                   36864  2
libahci                32768  1 ahci


Hope this helps.

Best Regards,
Duane

-- 
Duane Whitty
duane at nofroth.com




More information about the ubuntu-users mailing list