| 22 | |
| 23 | The failing IOCTL may or may not be related, in the host log file we find this corresponding entry: |
| 24 | |
| 25 | {{{ |
| 26 | 1850 00:14:57.567629 VMMDev: Guest Log: 09:00:33.994989 main VBoxService 6.1.4 r136177 (verbosity: 0) linux.amd64 (Feb 18 2020 18:13:55) release log |
| 27 | 1851 00:14:57.567673 VMMDev: Guest Log: 09:00:33.995119 main Log opened 2020-02-24T09:00:33.994694000Z |
| 28 | 1852 00:14:57.567804 VMMDev: Guest Log: 09:00:33.995328 main OS Product: Linux |
| 29 | 1853 00:14:57.567884 VMMDev: Guest Log: 09:00:33.995407 main OS Release: 5.3.0-28-generic |
| 30 | 1854 00:14:57.567950 VMMDev: Guest Log: 09:00:33.995481 main OS Version: #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 |
| 31 | 1855 00:14:57.568619 VMMDev: Guest Log: 09:00:33.996125 main Executable: /opt/VBoxGuestAdditions-6.1.4/sbin/VBoxService |
| 32 | 1856 00:14:57.568648 VMMDev: Guest Log: 09:00:33.996129 main Process ID: 1346 |
| 33 | 1857 00:14:57.568658 VMMDev: Guest Log: 09:00:33.996132 main Package type: LINUX_64BITS_GENERIC |
| 34 | 1858 00:14:57.574187 VMMDev: Guest Log: 09:00:34.001714 main 6.1.4 r136177 started. Verbose level = 0 |
| 35 | 1859 00:14:57.576838 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners |
| 36 | 1860 00:14:57.576875 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5 |
| 37 | 1861 00:14:57.577888 VMMDev: Guest Log: 09:00:34.005471 main vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1) |
| 38 | 1862 00:14:57.578413 Guest Control: GUEST_MSG_REPORT_FEATURES: 0x1, 0x8000000000000000 |
| 39 | 1863 00:14:57.587678 GUI: UISession::sltAdditionsChange: GA state really changed, notifying listeners |
| 40 | 1864 00:14:57.587723 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary |
| 41 | 1865 00:14:57.587768 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners |
| 42 | 1866 00:14:57.587781 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5 |
| 43 | 1867 00:14:57.693489 VMMDev: Guest Log: vboxsf: g_fHostFeatures=0x8000000f g_fSfFeatures=0x1 g_uSfLastFunction=29 |
| 44 | 1868 00:14:57.694080 VMMDev: Guest Log: vboxsf: Successfully loaded version 6.1.4 on 5.3.0-28-generic SMP mod_unload (LINUX_VERSI ON_CODE=0x5030d) |
| 45 | 1869 00:14:57.697449 VMMDev: Guest Log: 09:00:34.124961 automount vbsvcAutomounterMountIt: Successfully mounted 'Downloads' on '/m edia/sf_Downloads' |
| 46 | 1870 00:14:57.702656 VMMDev: Guest Log: 09:00:34.130210 automount vbsvcAutomounterMountIt: Successfully mounted 'Music' on '/media /sf_Music' |
| 47 | 1871 00:15:00.558915 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=800 h=600 bpp=0 cbLine=0x0 flags=0x2 or igin=0,0 |
| 48 | 1872 00:15:00.562828 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f13a092e000 w=1208 h=806 bpp=32 cbLine=0x12E0 flags=0 x1 origin=0,0 |
| 49 | 1873 00:15:00.572038 GUI: UIMachineLogic: Guest-screen count changed |
| 50 | 1874 00:15:00.909695 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 1208x806 if necessary |
| 51 | 1875 00:18:25.115940 VMMDev: Guest Additions capability report: (0x4 -> 0x5) seamless: yes, hostWindowMapping: no, graphics: yes |
| 52 | 1876 00:18:25.116097 GUI: UISession::sltAdditionsChange: GA state really changed, notifying listeners |
| 53 | 1877 00:18:25.116133 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary |
| 54 | 1878 00:18:25.116149 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners |
| 55 | 1879 00:18:25.116152 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5 |
| 56 | 1880 00:18:25.122382 VMMDev: Guest Log: VBGL_IOCTL_ACQUIRE_GUEST_CAPABILITIES failed rc=-138 |
| 57 | 1881 00:18:28.052450 Audio: Disabling input for driver 'PulseAudio' |
| 58 | 1882 00:18:28.054322 Audio Mixer: Setting recording source of sink '[Recording] Line In' to '<None>' |
| 59 | 1883 00:18:28.054491 PulseAudio: Retrieving server information ... |
| 60 | 1884 00:18:28.061085 PulseAudio: Retrieving server information ... |
| 61 | 1885 00:18:28.064356 Audio: Enabling input for driver 'PulseAudio' |
| 62 | 1886 00:18:28.066884 Audio Mixer: Setting recording source of sink '[Recording] Line In' to '[Line-In] PulseAudio' |
| 63 | 1887 00:18:28.621915 VMMDev: Guest Log: VBGL_IOCTL_ACQUIRE_GUEST_CAPABILITIES failed rc=-138 |
| 64 | }}} |
| 65 | |
| 66 | The reason why the shared clipboard does not work is because the shared clipboard handling process inside the guest decided to exit for unknown reasons: |
| 67 | |
| 68 | {{{ |
| 69 | 28 00:00:00.650901 Shared Clipboard: Service loaded |
| 70 | 29 00:00:00.650913 Shared Clipboard: Mode: Bidirectional |
| 71 | 30 00:00:00.650942 Shared Clipboard: Service running in normal mode |
| 72 | 31 00:00:00.651438 Drag and drop service loaded |
| 73 | 32 00:00:00.651444 Drag and drop mode: Bidirectional |
| 74 | [...] |
| 75 | 1527 00:07:11.805118 Shared Clipboard: Starting X11 event thread |
| 76 | [...] |
| 77 | 1604 00:13:08.040799 Shared Clipboard: Stopping X11 event thread ... |
| 78 | 1605 00:13:08.041105 Shared Clipboard: X11 event thread terminated successfully |
| 79 | }}} |
| 80 | |
| 81 | In a good working guest, eg. 6.1.2 the picture would be |
| 82 | like this: |
| 83 | |
| 84 | {{{ |
| 85 | fbatschu@fbatschu-VirtualBox:~$ ps -eafd|grep VB |
| 86 | root 511 2 0 10:08 ? 00:00:00 [iprt-VBoxWQueue] |
| 87 | root 1110 1 0 10:09 ? 00:00:00 VBoxClient --vmsvga |
| 88 | root 1111 1110 0 10:09 ? 00:00:00 VBoxClient --vmsvga |
| 89 | root 1149 1 0 10:09 ? 00:00:00 /usr/sbin/VBoxService --pidfile /var/run/vboxadd-service.sh |
| 90 | fbatschu 1503 1 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --clipboard |
| 91 | fbatschu 1504 1503 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --clipboard |
| 92 | fbatschu 1510 1 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --display |
| 93 | fbatschu 1511 1510 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --display |
| 94 | fbatschu 1517 1 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --seamless |
| 95 | fbatschu 1519 1517 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --seamless |
| 96 | fbatschu 1524 1 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --draganddrop |
| 97 | fbatschu 1525 1524 0 10:17 ? 00:00:02 /usr/bin/VBoxClient --draganddrop |
| 98 | }}} |
| 99 | |
| 100 | In the guest running the 6.1.4 GAs we are missing: |
| 101 | |
| 102 | {{{ |
| 103 | fbatschu 1503 1 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --clipboard |
| 104 | fbatschu 1504 1503 0 10:17 ? 00:00:00 /usr/bin/VBoxClient --clipboard |
| 105 | }}} |
| 106 | |
| 107 | Which explains why the shared clipboard ist not working, there is no handler for it. |