Debian 9.0 no copy paste from host to guest and reverse

Discussions about using Linux guests in VirtualBox.
Post Reply
peterandre
Posts: 2
Joined: 20. Jun 2017, 20:17

Debian 9.0 no copy paste from host to guest and reverse

Post by peterandre »

Hi, i upgraded my guest Debian (in VirtualBox) to Debian 9.0 and now my copy and paste functions are not working from host to guest and reverse. I re-installed the VBoxClient tools but no luck, is there a solution for this?

Host information: Windows 10
VirtualBox: Latest version 5.1.22
Memory: Host (32 GB), Guest (2 GB)
Host: 64bit
Guest: 64bit

Code: Select all

D:\Program Files\Oracle\VirtualBox> VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.1.22
Revision:     115126
Edition:
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:

Code: Select all

Name:            Debian 8.6.0 GW
Groups:          /
Guest OS:        Debian (64-bit)
UUID:            b69501e6-831a-4cd2-8f12-6ed893ba9c6b
Config file:     D:\VBOX\Debian 8.6.0 GW\Debian 8.6.0 GW.vbox
Snapshot folder: D:\VBOX\Debian 8.6.0 GW\Snapshots
Log folder:      D:\VBOX\Debian 8.6.0 GW\Logs
Hardware UUID:   b69501e6-831a-4cd2-8f12-6ed893ba9c6b
Memory size:     2048MB
Page Fusion:     off
VRAM size:       16MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             off
Long Mode:       on
Triple Fault Reset: off
APIC:            on
X2APIC:          on
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
BIOS APIC mode:  APIC
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
Effective Paravirt. Provider: KVM
State:           powered off (since 2017-06-20T11:43:54.000000000)
Monitor count:   1
3D Acceleration: off
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): Empty
SATA (0, 0): D:\VBOX\Debian 8.6.0 GW\Snapshots/{c69fcc3a-925b-4459-b0d6-032d7ae9a176}.vdi (UUID: c69fcc3a-925b-4459-b0d6-032d7ae9a176)
NIC 1:           MAC: 0800273091B7, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           MAC: 0800277834DF, Attachment: Internal Network 'NatNetwork', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: DSOUND, Controller: AC97, Codec: AD1980)
Clipboard Mode:  Bidirectional
Drag and drop Mode: Bidirectional
VRDE:            disabled
USB:             disabled
EHCI:            disabled
XHCI:            disabled

USB Device Filters:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

Video capturing:    not active
Capture screens:    0
Capture file:       D:\VBOX\Debian 8.6.0 GW\Debian 8.6.0 GW.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB

Snapshots:

   Name: Snapshot 138 (UUID: 279a8d35-1ca2-4de8-9e3c-770fb276d18d)
      Name: Snapshot 139 (UUID: b6169061-29a6-4870-bd11-e8a7f06cc284)
         Name: Snapshot 140 (UUID: 312dff57-c0d3-42ec-94a9-1517b54296f8)
            Name: Snapshot 141 (UUID: 505060f4-f173-4997-ae2a-4fd86e536815)
               Name: Snapshot 142 (UUID: a4d902d5-5f76-4869-8999-0c0870c62d31)
                  Name: Snapshot 143 (UUID: 5e2628cd-f3cd-498c-926d-fad05eec0a57)
                     Name: Snapshot 144 (UUID: 138fe435-0e25-403a-872e-ca0bb640be1c)
                        Name: Snapshot 145 (UUID: 786179fa-0ebb-4e98-b624-cec76050af9b)
                           Name: Snapshot 146 (UUID: 01282e9f-7c42-4781-8139-63d2a3199cd4)
                              Name: Snapshot 147 (UUID: b82e51b1-e0e3-4a7d-b2ef-6aade15f3901)
                                 Name: Snapshot 148 (UUID: d3725090-a65c-40e5-a88c-6bcb257cc9a2)
                                    Name: Snapshot 149 (UUID: 7c0588e5-7823-4250-a055-ff39c5c6533c) *
Added the logfile as an attachment.

Thank you for your thoughts!

What I've tried: reinstalled the guest utilities but no luck.
The VBox client services are running.
Attachments
Debian 8.6.0 GW.rar
log files.
(90.18 KiB) Downloaded 58 times
Last edited by socratis on 20. Jun 2017, 20:45, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
socratis
Site Moderator
Posts: 27329
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: Debian 9.0 no copy paste from host to guest and reverse

Post by socratis »

Thank you for the report, it's the 2nd exact error in less than a day reported in IRC. I don't know about the 1st report, they didn't want to register in the forums.

However, I noticed something in yours:
02:40:08.581853 VMMDev: Guest Additions information report: Version 5.1.22 r115126 '5.1.22_Debian'
You are using the Debian forked Guest Additions (GAs). You need to remove/purge/delete them from your system and install the official ones as described in the user manual, ch. 4.2.2 Guest Additions for Linux.

Oh, and in order to not get lost in a sea of details, please try to keep the logs short. As in "start the VM from cold-boot" / "observe error, wrong behavior" / "shutdown the VM". Thanks...
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.
peterandre
Posts: 2
Joined: 20. Jun 2017, 20:17

Re: Debian 9.0 no copy paste from host to guest and reverse

Post by peterandre »

Hello!

I did exactly what you said and my problems have been resolved!

The solution:

First uninstall the bad guest additions like so:

To uninstall VirtualBox Guest Additions on Ubuntu and similar operating systems, mount the virtual disk again that you used to install them - to do that, click on the Devices menu on the virtual machines top menu bar and select Install Guest Additions. If you get a pop-up about auto-start procedures just cancel it.

Now that the virtual disk is mounted, open a terminal and look for the contents of the disk in the /media folder.

ls /media

In my case, the disk is named VBOXADDITIONS_4.1.10_76795. This name may vary depending on the version of VirtualBox you have installed. Now uninstall the guest additions (don't forget to adjust the path):

sudo sh /media/VBOXADDITIONS_4.1.10_76795/VBoxLinuxAdditions.run uninstall

Now re-install the proper guest additions as usual!
Last edited by socratis on 20. Jun 2017, 21:29, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Post Reply