Hello, On a newly-installed Gentoo guest within Virtualbox 6.1.14 (r140239) running on a Windows 10 host, the shared clipboard and any type of resolution resizing / full-screen fail with the VMSVGA video driver. When starting an Xorg session, the only service taht I see running is: /usr/sbin/vboxguest-service --foreground but I have no clipboard functionality. If I manually start it with `VBoxClient --clipboard` (either as my logged in user or as root), it works (although oddly it spawns two processes). The same method fails when trying to start the video capabilities with `VBoxClient --vmsvga`, either as my user or as root. Doing so results in a black screen and essentially no functionality within the X session, and dmesg shows: >>>>> [ 4.890156] 04:08:01.994550 main VBoxService 6.1.14_Gentoo r140239 (verbosity: 0) linux.amd64 (Sep 16 2020 17:04:28) release log 04:08: [ 4.890359] 04:08:01.995094 main OS Product: Linux [ 4.890612] 04:08:01.995324 main OS Release: 5.8.9-gentoo [ 4.890927] 04:08:01.995551 main OS Version: #3 SMP Wed Sep 16 14:02:04 CDT 2020 [ 4.891478] 04:08:01.995860 main Executable: /usr/sbin/vboxguest-service 04:08:01.995862 main Process ID: 1849 04:08:01.995863 main [ 4.894644] 04:08:01.999251 main 6.1.14_Gentoo r140239 started. Verbose level = 0 [ 4.895387] 04:08:01.999942 main vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1) [ 9.080561] elogind-daemon[1141]: New session 1 of user $MY_USERNAME. [ 385.435434] Service: Shared Clipboard [ 385.441405] Shared Clipboard: Starting X11 event thread [ 385.443559] Worker loop running [ 412.601161] Terminated with signal 2 [ 412.601265] Terminating ... [ 416.692231] Service: Shared Clipboard [ 416.696687] Shared Clipboard: Starting X11 event thread [ 416.698180] Worker loop running [ 485.378893] Service: Shared Clipboard [ 485.382732] Shared Clipboard: Starting X11 event thread [ 485.384813] Worker loop running [ 490.644187] Service: Drag and Drop (DnD) [ 490.653826] Proxy window=20971521, root window=1330 ... [ 490.654128] Started [ 490.654233] 6.1.14_Gentoor140239 [ 532.683805] Service: Shared Clipboard [ 532.689828] Shared Clipboard: Starting X11 event thread [ 532.693290] Worker loop running [ 557.067656] Service: Display SVGA X11 [ 557.073167] VMWARE's ctrl extension is available. Major Opcode is 128. [ 557.076318] Failed to register resizing support, rc=VERR_INVALID_FUNCTION [ 557.083267] Denying userspace vmm call type 0x000051 [ 557.083721] Failed to get display change request, rc=VERR_ACCESS_DENIED [ 557.089024] Display change request contained, rc=VERR_ACCESS_DENIED [ 557.097176] An X Window protocol error occurred: BadValue (integer parameter out of range for operation) (error code 2). Request code: 128 [ 557.101917] RRScreenChangeNotify event received [ 557.104634] An X Window protocol error occurred: BadValue (integer parameter out of range for operation) (error code 2). Request code: 140 [ 557.105525] Resizing frame buffer to 0 -512135424 has failed [ 561.108504] An X Window protocol error occurred: BadValue (integer parameter out of range for operation) (error code 2). Request code: 128 [ 561.117278] An X Window protocol error occurred: BadValue (integer parameter out of range for operation) (error code 2). Request code: 140 [ 561.118701] Resizing frame buffer to 0 -512135424 has failed [ 567.969682] elogind-daemon[1141]: New session 2 of user root. >>>>> Bug 705832 seems to be relevant, but has different versions of virtualbox-guest-additions and gentoo-sources: https://bugs.gentoo.org/705832 The following RedHat bug may also be relevant: https://bugzilla.redhat.com/show_bug.cgi?id=1789545 If any further information is needed from my side, please let me know. Cheers, Nathan Zachary
You should add our user to the vboxguest group. When you start the next login session, /etc/xdg/autostart/vboxclient.desktop should run /usr/bin/VBoxClient-all that will start everything you need (including /usr/bin/VBoxClient --clipboard). See also: https://wiki.gentoo.org/wiki/VirtualBox#Guest_Additions https://bugs.gentoo.org/701088#c3