Guest: Ubuntu 14.04 x64 (the GUI I'm running on the guest is i3wm)
Method of testing: Copy & paste something out of gedit running on guest to host and vice versa.
I installed the guest additions as per the manual. I've noticed that resolution scaling does work, but bidirectional copy+paste does not.
Bidirectional copy+paste settings are enabled.
This is my VBoxManage showvminfo:
- Code: Select all Expand viewCollapse view
Name: ubuntu_testing_grounds
Groups: /
Guest OS: Ubuntu (64 bit)
UUID: ce90b31a-0f43-41a4-b7bc-e835126e387d
Config file: /media/postwin/VMs/VirtualBox VMs/ubuntu_testing_grounds/ubuntu_testing_grounds.vbox
Snapshot folder: /media/postwin/VMs/VirtualBox VMs/ubuntu_testing_grounds/Snapshots
Log folder: /media/postwin/VMs/VirtualBox VMs/ubuntu_testing_grounds/Logs
Hardware UUID: ce90b31a-0f43-41a4-b7bc-e835126e387d
Memory size: 2048MB
Page Fusion: off
VRAM size: 128MB
CPU exec cap: 100%
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 2
PAE: off
Long Mode: on
Synthetic CPU: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: on
Time offset: 0ms
RTC: UTC
Hardw. virt.ext: on
Nested Paging: on
Large Pages: off
VT-x VPID: on
VT-x unr. exec.: on
State: running (since 2015-03-14T23:04:55.179000000)
Monitor count: 1
3D Acceleration: on
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0): IDE
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
Storage Controller Name (1): SATA
Storage Controller Type (1): IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1): 30
Storage Controller Port Count (1): 1
Storage Controller Bootable (1): on
IDE (1, 0): /usr/share/virtualbox/VBoxGuestAdditions.iso (UUID: b31a60aa-11b1-4fc1-85d5-68b1cb1028ed)
SATA (0, 0): /media/postwin/VMs/VirtualBox VMs/ubuntu_testing_grounds/Snapshots/{3444b9fa-7f88-4ba9-bdc3-1c4347da2879}.vdi (UUID: 3444b9fa-7f88-4ba9-bdc3-1c4347da2879)
NIC 1: MAC: 080027F00637, Attachment: Bridged Interface 'wlan0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: PulseAudio, Controller: AC97)
Clipboard Mode: Bidirectional
Drag'n'drop Mode: Bidirectional
Session type: GUI/Qt
Video mode: 1366x768x32 at 0,0
VRDE: disabled
USB: enabled
EHCI: disabled
USB Device Filters:
<none>
Available remote USB devices:
<none>
Currently Attached USB Devices:
<none>
Bandwidth groups: <none>
Shared folders: <none>
VRDE Connection: not active
Clients so far: 0
Video capturing: not active
Capture screens: 0
Capture file: /media/postwin/VMs/VirtualBox VMs/ubuntu_testing_grounds/ubuntu_testing_grounds.webm
Capture dimensions: 1024x768
Capture rate: 512 kbps
Capture FPS: 25
Guest:
Configured memory balloon size: 0 MB
OS type: Linux26_64
Additions run level: 2
Additions version: 4.3.24 r98716
Guest Facilities:
Facility "VirtualBox Base Driver": active/running (last update: 2015/03/13 23:04:43 UTC)
Facility "VirtualBox System Service": active/running (last update: 2015/03/14 22:34:08 UTC)
Facility "Seamless Mode": not active (last update: 2015/03/14 22:34:08 UTC)
Facility "Graphics Mode": active/running (last update: 2015/03/14 22:05:05 UTC)
Snapshots:
Name: Partitioning @ netinstall (UUID: 99bc4f9c-d9cc-4eee-bad5-1e3b4bd06668)
Description:
I want to prevent these kinds of situations.
So this is why I'm saving :)
Name: pick_a_kernel (UUID: dc2eaad9-4298-402f-9e3f-d1733dbcc54c)
Description:
Post partitioning.
Name: fresh_install (UUID: e3b6696f-c746-4acc-a6f2-6e71c26b845d)
Name: inb4_i3_install (UUID: f3887513-e3c0-4ee0-a84d-90b5b3ebe03f)
Description:
Environment set up... time for i3wm!
Name: skype_setup_complete (UUID: 8ae81e0c-38f9-4380-bcee-7a1705320974) *
Description:
Guest additions installed.
Checking whether bi-directional copy+paste will work.
I then decided to re-install guest additions:
- Code: Select all Expand viewCollapse view
$ sudo su
root@tg1404:/media/cd# sh ./VBoxLinuxAdditions.run uninstall
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.24 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.24 of VirtualBox Guest Additions...
root@tg1404:/media/cd# exit
$ cat /etc/apt/sources.list | curl -F 'f:1=<-' ix.io
ix.io/gU9
$ ll /etc/apt/sources.list.d/
total 12K
drwxr-xr-x 2 root root 4.0K Feb 26 21:05 ./
drwxr-xr-x 6 root root 4.0K Feb 27 21:44 ../
-rw-r--r-- 1 root root 48 Feb 26 21:03 i3_sur5r.list
$ ll /opt/VBoxGuestAdditions-4.3.24/
total 8.0K
drwxr-xr-x 2 root root 4.0K Mar 14 23:33 ./
drwxr-xr-x 4 root root 4.0K Mar 14 20:47 ../
$ ll /opt/VBoxGuestAdditions-4.3.22/
total 8.0K
drwxr-xr-x 2 root root 4.0K Mar 14 20:47 ./
drwxr-xr-x 4 root root 4.0K Mar 14 20:47 ../
$ sudo reboot now
=== Installation ===
$ sudo su
root@tg1404:/media/cd# sh VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.24 Guest Additions for Linux............
VirtualBox Guest Additions installer
You appear to have a version of the VBoxGuestAdditions software
on your system which was installed from a different source or using a
different type of installer. If you installed it from a package from your
Linux distribution or if it is a default part of the system then we strongly
recommend that you cancel this installation and remove it properly before
installing this version. If this is simply an older or a damaged
installation you may safely proceed.
Do you wish to continue anyway? [yes or no]
no
## This is strange because...
$ aptitude search virtualbox
p unity-scope-virtualbox - VirtualBox scope for Unity
p virtualbox - x86 virtualization solution - base binaries
p virtualbox:i386 - x86 virtualization solution - base binaries
p virtualbox-dbg - x86 virtualization solution - debugging symbols
p virtualbox-dbg:i386 - x86 virtualization solution - debugging symbols
p virtualbox-dkms - x86 virtualization solution - kernel module sources for dkms
p virtualbox-guest-additions-iso - guest additions iso image for VirtualBox
p virtualbox-guest-dkms - x86 virtualization solution - guest addition module source for dkms
p virtualbox-guest-source - x86 virtualization solution - guest addition module source
p virtualbox-guest-utils - x86 virtualization solution - non-X11 guest utilities
p virtualbox-guest-utils:i386 - x86 virtualization solution - non-X11 guest utilities
p virtualbox-guest-x11 - x86 virtualization solution - X11 guest utilities
p virtualbox-guest-x11:i386 - x86 virtualization solution - X11 guest utilities
p virtualbox-qt - x86 virtualization solution - Qt based user interface
p virtualbox-qt:i386 - x86 virtualization solution - Qt based user interface
p virtualbox-source - x86 virtualization solution - kernel module source
$ sudo grep -ri vbox /etc/
/etc/gshadow:vboxsf:!::
/etc/group:vboxsf:x:999:
/etc/services:vboxd 20012/tcp # voice box system
/etc/services:vboxd 20012/udp
/etc/passwd:vboxadd:x:999:1::/var/run/vboxadd:/bin/false
/etc/shadow:vboxadd:!:16495::::::
dpkg -l | grep -i virtualbox - does not show any results
As you can see after uninstalling and re-installing guest additions, the system mentioned that I still had guest additions installed, despite me finding no traces.
So then I decided to re-install guest additions (chose yes when asked):
- Code: Select all Expand viewCollapse view
root@tg1404:/media/cd# sh VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.24 Guest Additions for Linux............
VirtualBox Guest Additions installer
You appear to have a version of the VBoxGuestAdditions software
on your system which was installed from a different source or using a
different type of installer. If you installed it from a package from your
Linux distribution or if it is a default part of the system then we strongly
recommend that you cancel this installation and remove it properly before
installing this version. If this is simply an older or a damaged
installation you may safely proceed.
Do you wish to continue anyway? [yes or no]
yes
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
Starting the VirtualBox Guest Additions ...done.
Installing the Window System drivers
Installing X. Org Server 1.15 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services components ...done.
Sadly this too did not make bidirectional copy+paste possible.
I then searched a bit more on this forum and found this post [to which I can't link because despite this being a virtualbox forum link, my account still has to be 1 day old to post urls, lol] - I then tried adding /usr/bin/VBoxClient to .xinitrc
My .xinitrc now looks like this:
- Code: Select all Expand viewCollapse view
#!/bin/sh
# .xinitrc
# Whatever
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# i3wm specific
mkdir ~/i3logs
exec i3 -V >> ~/i3logs/i3log-$(date +'%F_%T%z') 2>&1
# Virtualbox specific
exec /usr/bin/VBoxClient
# Make keyboard rate sane
xset r rate 280 30
But this also did not result in a bi-directional copy+paste.
I'm running out of options to try, so if anyone could give me some more directions that would be awesome.
