helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
808 stars 58 forks source link

[VirtualBox] Mouse/clipboard integration not working when helloSystem runs as a guest in VirtualBox #87

Closed grahamperrin closed 3 years ago

grahamperrin commented 3 years ago

The shared clipboard and drag-and-drop are set to bi-drectional.

I should not expect drag-and-drop to work (at this time) but it will be smart to have the clipboard working.

Host

% date ; uname -v
Sun  3 Jan 2021 02:18:02 GMT
FreeBSD 13.0-CURRENT #0 main-c530-g8b4c3a03f: Fri Jan  1 15:27:15 GMT 2021     root@mowa219-gjp4-8570p:/usr/obj/usr/src/freebsd-current/amd64.amd64/sys/GENERIC-NODEBUG 
% pkg query '%o %v %R' virtualbox-ose virtualbox-ose-kmod
emulators/virtualbox-ose 5.2.44_4 FreeBSD
emulators/virtualbox-ose-kmod 5.2.44_3 unknown-repository
% 

HP EliteBook 8570p with 16 GB memory. 4 GB given to the guest.

Guest using EFI.

Guest

Very slightly outdated hello-0C139-12.1-amd64.iso

FreeBSD% date ; uptime ; uname -a
Sat Jan  2 21:04:14 EST 2021
 9:04PM  up  1:04, 0 users, load averages: 0.20, 0.17, 0.16
FreeBSD FreeBSD 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64
FreeBSD% lsblk
DEVICE         MAJ:MIN SIZE TYPE                              LABEL MOUNT
md0              0:16   14M ufs                                   - -
md1              0:87  1.7G -                                     - -
md2              0:91  3.0G GPT                                   - -
  md2p1          0:92  3.0G freebsd-zfs                           - <ZFS>
FreeBSD% kldstat
Id Refs Address                Size Name
 1  100 0xffffffff80200000  2448d90 kernel
 2    1 0xffffffff82649000    20c10 firewire.ko
 3    1 0xffffffff8266a000   3a99a8 zfs.ko
 4    2 0xffffffff82a14000     a5b8 opensolaris.ko
 5    1 0xffffffff82a1f000    11d40 tmpfs.ko
 6    1 0xffffffff837f1000     8460 geom_uzip.ko
 7    2 0xffffffff837fa000     4810 xz.ko
 8    1 0xffffffff83d11000     5954 cuse.ko
 9    1 0xffffffff83d17000     35a8 ig4.ko
10    3 0xffffffff83d1b000     1fa0 iicbus.ko
11    1 0xffffffff83d1d000    14908 iichid.ko
12    1 0xffffffff83d32000      f20 utouch.ko
13    1 0xffffffff83d33000    134b0 asmc.ko
14    1 0xffffffff83d47000    2eb93 vboxguest.ko
15    1 0xffffffff83d76000     2668 intpm.ko
16    1 0xffffffff83d79000      b50 smbus.ko
17    1 0xffffffff83d7a000      1ac cd9660_iconv.ko
18    1 0xffffffff83d7b000     3000 libiconv.ko
19    1 0xffffffff83d7e000    3df60 linux.ko
20    2 0xffffffff83dbc000     3178 linux_common.ko
21    1 0xffffffff83dc0000    35b20 linux64.ko
22    1 0xffffffff83df6000     47b0 autofs.ko
23    1 0xffffffff83dfb000     fcf0 fuse.ko
FreeBSD% setxkbmap -model pc101 -layout gb,us -option compose:ralt
FreeBSD% pkg query '%o %v %R' virtualbox-ose-additions
emulators/virtualbox-ose-additions 5.2.44_2 FreeBSD
FreeBSD% pkg upgrade --fetch-only -y
pkg: Insufficient privilege to upgrade packages
FreeBSD% sudo pkg upgrade --fetch-only -y
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (2 candidates): 100%
Processing candidates (2 candidates): 100%
The following 9 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        flite: 2.1
        gnustep-back: 0.27.0
        gnustep-base: 1.26.0_6
        gnustep-gui: 0.27.0_6
        gnustep-make: 2.7.0_3
        libao: 1.2.0_5
        libobjc2: 2.1_2

Installed packages to be UPGRADED:
        hello: 0.3.0_0C139 -> 2.10_1
        localize: 0 -> 0.0.1_10

Number of packages to be installed: 7
Number of packages to be upgraded: 2

The process will require 103 MiB more space.
20 MiB to be downloaded.
[1/9] Fetching localize-0.0.1_10.txz: 100%   50 KiB  51.2kB/s    00:01    
[2/9] Fetching hello-2.10_1.txz: 100%   55 KiB  56.1kB/s    00:01    
[3/9] Fetching gnustep-back-0.27.0.txz: 100%  614 KiB 628.6kB/s    00:01    
[4/9] Fetching gnustep-gui-0.27.0_6.txz: 100%    3 MiB   1.2MB/s    00:03    
[5/9] Fetching libobjc2-2.1_2.txz: 100%   79 KiB  80.8kB/s    00:01    
[6/9] Fetching gnustep-base-1.26.0_6.txz: 100%    2 MiB   1.1MB/s    00:02    
[7/9] Fetching gnustep-make-2.7.0_3.txz: 100%  173 KiB 177.0kB/s    00:01    
[8/9] Fetching libao-1.2.0_5.txz: 100%   51 KiB  52.1kB/s    00:01    
[9/9] Fetching flite-2.1.txz: 100%   14 MiB 694.9kB/s    00:21    
Checking integrity... done (0 conflicting)
FreeBSD% zpool list
NAME     SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
livecd  2.75G  1.79G   983M        -         -    11%    65%  1.00x  ONLINE  -
FreeBSD% sudo dmesg
---<<BOOT>>---
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.1-RELEASE r354233 GENERIC amd64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
VT(efifb): resolution 1024x768
CPU: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz (2893.61-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306a9  Family=0x6  Model=0x3a  Stepping=9
  Features=0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x5e9a2203<SSE3,PCLMULQDQ,SSSE3,CX16,PCID,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x1<FSGSBASE>
  TSC: P-state invariant
real memory  = 4831838208 (4608 MB)
avail memory = 4093382656 (3903 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <VBOX   VBOXAPIC>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 cache groups x 1 core(s)
arc4random: no preloaded entropy cache
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Launching APs: 1 2 3
random: entropy device external interface
md0: Preloaded image </data/ramdisk.ufs> 14417920 bytes at 0xffffffff82a30d40
000.000025 [4335] netmap_init               netmap: loaded module
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0xffffffff8112e050, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
kbd1 at kbdmux0
nexus0
efirtc0: <EFI Realtime Clock> on motherboard
efirtc0: registered as a time-of-day clock, resolution 1.000000s
cryptosoft0: <software crypto> on motherboard
acpi0: <VBOX VBOXFACP> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc160-0xc16f at device 1.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
vgapci0: <VGA-compatible display> mem 0xe0000000-0xe1ffffff at device 2.0 on pci0
vgapci0: Boot video device
em0: <Intel(R) PRO/1000 Network Connection> port 0xc170-0xc177 mem 0xe2400000-0xe241ffff irq 19 at device 3.0 on pci0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Ethernet address: 08:00:27:ac:6c:88
em0: netmap queues/slots: TX 1/1024, RX 1/1024
pcm0: <Intel ICH (82801AA)> port 0xc000-0xc0ff,0xc100-0xc13f irq 21 at device 5.0 on pci0
pcm0: <SigmaTel STAC9700/83/84 AC97 Codec>
ohci0: <Apple KeyLargo/Intrepid USB controller> mem 0xe2424000-0xe2424fff at device 6.0 on pci0
usbus0 on ohci0
usbus0: 12Mbps Full Speed USB v1.0
pci0: <bridge> at device 7.0 (no driver attached)
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0
atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
atrtc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12.
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
            to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.
             Consider tuning vm.kmem_size and vm.kmem_size_max
             in /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 10.000 msec
arc4random: no preloaded entropy cache
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <VBOX CD-ROM 1.0> Removable CD-ROM SCSI device
cd0: Serial Number VB2-01700376
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: 1935MB (990768 2048 byte sectors)
pcm0: ac97 link rate calibration timed out after 1992927 us
Trying to mount root from ufs:/dev/md0 []...
Root mount waiting for: usbus0
ugen0.1: <Apple OHCI root HUB> at usbus0
uhub0: <Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub0: 12 ports with 12 removable, self powered
random: unblocking device.
arc4random: no preloaded entropy cache
arc4random: no preloaded entropy cache
Trying to mount root from zfs:livecd []...
Cuse v0.1.36 @ /dev/cuse
vboxguest0 port 0xc140-0xc15f mem 0xe2000000-0xe23fffff,0xe2420000-0xe2423fff at device 4.0 on pci0
vboxguest: loaded successfully
lo0: link state changed to UP
em0: link state changed to UP
intsmb0: <Intel PIIX4 SMBUS Interface> irq 23 at device 7.0 on pci0
intsmb0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
interface fusefs.1 already present in the KLD 'fuse.ko'!
linker_load_file: /boot/kernel/fusefs.ko - unsupported file type
FreeBSD% cat /var/log/Xorg.0.log 
[   241.085] 
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[   241.085] Build Operating System: FreeBSD 12.1-RELEASE-p12 amd64 
[   241.085] Current Operating System: FreeBSD FreeBSD 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC amd64
[   241.086] Build Date: 10 December 2020  10:19:13AM
[   241.086]  
[   241.086] Current version of pixman: 0.40.0
[   241.086]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   241.086] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   241.086] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  2 20:03:48 2021
[   241.089] (==) Using config file: "/etc/X11/xorg.conf"
[   241.090] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[   241.090] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[   241.091] (==) No Layout section.  Using the first Screen section.
[   241.091] (==) No screen section available. Using defaults.
[   241.091] (**) |-->Screen "Default Screen Section" (0)
[   241.091] (**) |   |-->Monitor "<default monitor>"
[   241.092] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   241.092] (**) |   |-->Device "Card0"
[   241.092] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   241.092] (==) Automatically adding devices
[   241.092] (==) Automatically enabling devices
[   241.092] (==) Not automatically adding GPU devices
[   241.092] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   241.092] (WW) The directory "/usr/local/share/fonts/misc/" does not exist.
[   241.092]    Entry deleted from font path.
[   241.093] (WW) The directory "/usr/local/share/fonts/Type1/" does not exist.
[   241.093]    Entry deleted from font path.
[   241.093] (WW) The directory "/usr/local/share/fonts/100dpi/" does not exist.
[   241.093]    Entry deleted from font path.
[   241.093] (WW) The directory "/usr/local/share/fonts/75dpi/" does not exist.
[   241.093]    Entry deleted from font path.
[   241.093] (==) FontPath set to:
        /usr/local/share/fonts/TTF/,
        /usr/local/share/fonts/OTF/,
        catalogue:/usr/local/etc/X11/fontpath.d
[   241.093] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[   241.093] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   241.093] (II) Loader magic: 0x42f020
[   241.093] (II) Module ABI versions:
[   241.093]    X.Org ANSI C Emulation: 0.4
[   241.093]    X.Org Video Driver: 24.1
[   241.093]    X.Org XInput driver : 24.1
[   241.093]    X.Org Server Extension : 10.0
[   241.095] (--) PCI:*(0@0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/33554432, BIOS @ 0x????????/65536
[   241.095] (II) LoadModule: "glx"
[   241.096] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   241.137] (II) Module glx: vendor="X.Org Foundation"
[   241.137]    compiled for 1.20.9, module version = 1.0.0
[   241.137]    ABI class: X.Org Server Extension, version 10.0
[   241.137] (II) LoadModule: "vboxvideo"
[   241.137] (II) Loading /usr/local/lib/xorg/modules/drivers/vboxvideo_drv.so
[   241.143] (II) Module vboxvideo: vendor="Oracle Corporation"
[   241.143]    compiled for 1.20.9, module version = 1.0.1
[   241.143]    Module class: X.Org Video Driver
[   241.143]    ABI class: X.Org Video Driver, version 24.1
[   241.143] (**) Load address of symbol "VBOXVIDEO" is 0x8019e0020
[   241.143] (II) VBoxVideo: guest driver for VirtualBox: vbox
[   241.144] (--) Using syscons driver with X support (version 2.0)
[   241.144] (++) using VT number 9

[   241.144] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   241.144] (II) VBoxVideo(0): VirtualBox guest additions video driver version 5.2
[   241.144] (II) Loading sub module "ramdac"
[   241.144] (II) LoadModule: "ramdac"
[   241.145] (II) Module "ramdac" already built-in
[   241.145] (II) Loading sub module "fb"
[   241.145] (II) LoadModule: "fb"
[   241.145] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[   241.150] (II) Module fb: vendor="X.Org Foundation"
[   241.150]    compiled for 1.20.9, module version = 1.0.0
[   241.150]    ABI class: X.Org ANSI C Emulation, version 0.4
[   241.150] (II) Loading sub module "shadowfb"
[   241.150] (II) LoadModule: "shadowfb"
[   241.150] (II) Loading /usr/local/lib/xorg/modules/libshadowfb.so
[   241.151] (II) Module shadowfb: vendor="X.Org Foundation"
[   241.151]    compiled for 1.20.9, module version = 1.0.0
[   241.151]    ABI class: X.Org ANSI C Emulation, version 0.4
[   241.151] (II) Loading sub module "vgahw"
[   241.151] (II) LoadModule: "vgahw"
[   241.152] (II) Loading /usr/local/lib/xorg/modules/libvgahw.so
[   241.153] (II) Module vgahw: vendor="X.Org Foundation"
[   241.153]    compiled for 1.20.9, module version = 0.1.0
[   241.154]    ABI class: X.Org Video Driver, version 24.1
[   241.154] (II) VBoxVideo(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   241.154] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
[   241.154] (II) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766)
[   241.154] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[   241.154] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[   241.154] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[   241.154] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[   241.154] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[   241.154] (==) VBoxVideo(0): RGB weight 888
[   241.154] (==) VBoxVideo(0): Default visual is TrueColor
[   241.154] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
[   241.154] (==) VBoxVideo(0): DPI set to (96, 96)
[   241.164] (II) VBoxVideo(0): Requested monitor count: 1
[   241.164] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[   241.164] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[   241.165] (II) VBoxVideo(0): EDID for output VGA-0
[   241.165] (II) VBoxVideo(0): Manufacturer: VBX  Model: 0  Serial#: 39322400
[   241.165] (II) VBoxVideo(0): Year: 1990  Week: 1
[   241.166] (II) VBoxVideo(0): EDID Version: 1.3
[   241.166] (II) VBoxVideo(0): Digital Display Input
[   241.166] (II) VBoxVideo(0): Indeterminate output size
[   241.166] (II) VBoxVideo(0): Gamma: 2.20
[   241.166] (II) VBoxVideo(0): DPMS capabilities: StandBy Suspend Off
[   241.166] (II) VBoxVideo(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   241.166] (II) VBoxVideo(0): Default color space is primary color space
[   241.166] (II) VBoxVideo(0): First detailed timing is preferred mode
[   241.166] (II) VBoxVideo(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[   241.166] (II) VBoxVideo(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
[   241.166] (II) VBoxVideo(0): Manufacturer's mask: 0
[   241.166] (II) VBoxVideo(0): Supported detailed timing:
[   241.166] (II) VBoxVideo(0): clock: 29.3 MHz   Image Size:  0 x 0 mm
[   241.166] (II) VBoxVideo(0): h_active: 800  h_sync: 802  h_sync_end 804 h_blank_end 806 h_border: 0
[   241.166] (II) VBoxVideo(0): v_active: 600  v_sync: 602  v_sync_end 604 v_blanking: 606 v_border: 0
[   241.166] (II) VBoxVideo(0): Ranges: V min: 0 V max: 200 Hz, H min: 0 H max: 200 kHz, PixClock max 1005 MHz
[   241.166] (II) VBoxVideo(0): Monitor name: VBOX monitor
[   241.166] (II) VBoxVideo(0): EDID (in hex):
[   241.166] (II) VBoxVideo(0):         00ffffffffffff005858000020035802
[   241.166] (II) VBoxVideo(0):         0100010380000078eeee91a3544c9926
[   241.166] (II) VBoxVideo(0):         0f505400000001010101010101010101
[   241.166] (II) VBoxVideo(0):         010101010101720b2006305806200202
[   241.166] (II) VBoxVideo(0):         2200000000000000000000fd0000c800
[   241.167] (II) VBoxVideo(0):         c864000a202020202020000000fc0056
[   241.167] (II) VBoxVideo(0):         424f58206d6f6e69746f720a00000010
[   241.167] (II) VBoxVideo(0):         000a2020202020202020202020200071
[   241.167] (II) VBoxVideo(0): Printing probed modes for output VGA-0
[   241.167] (II) VBoxVideo(0): Modeline "800x600"x60.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz Pb)
[   241.167] (II) VBoxVideo(0): Modeline "2560x1600"x60.0  247.26  2560 2562 2564 2566  1600 1602 1604 1606 (96.4 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "2560x1440"x60.0  222.63  2560 2562 2564 2566  1440 1442 1444 1446 (86.8 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "2048x1536"x60.0  190.04  2048 2050 2052 2054  1536 1538 1540 1542 (92.5 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "1920x1600"x60.0  185.59  1920 1922 1924 1926  1600 1602 1604 1606 (96.4 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "1920x1080"x60.0  125.50  1920 1922 1924 1926  1080 1082 1084 1086 (65.2 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "1600x1200"x60.0  116.21  1600 1602 1604 1606  1200 1202 1204 1206 (72.4 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "1680x1050"x60.0  106.82  1680 1682 1684 1686  1050 1052 1054 1056 (63.4 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "1400x1050"x60.0   89.08  1400 1402 1404 1406  1050 1052 1054 1056 (63.4 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "1024x768"x60.0   47.83  1024 1026 1028 1030  768 770 772 774 (46.4 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "800x600"x60.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[   241.167] (II) VBoxVideo(0): Modeline "640x480"x60.0   18.84  640 642 644 646  480 482 484 486 (29.2 kHz b)
[   241.167] (II) VBoxVideo(0): Output VGA-0 connected
[   241.167] (II) VBoxVideo(0): Using exact sizes for initial modes
[   241.167] (II) VBoxVideo(0): Output VGA-0 using initial mode 800x600 +0+0
[   241.171] (==) VBoxVideo(0): DPMS enabled
[   241.171] (II) Initializing extension Generic Event Extension
[   241.173] (II) Initializing extension SHAPE
[   241.174] (II) Initializing extension MIT-SHM
[   241.174] (II) Initializing extension XInputExtension
[   241.177] (II) Initializing extension XTEST
[   241.178] (II) Initializing extension BIG-REQUESTS
[   241.178] (II) Initializing extension SYNC
[   241.180] (II) Initializing extension XKEYBOARD
[   241.182] (II) Initializing extension XC-MISC
[   241.183] (II) Initializing extension SECURITY
[   241.184] (II) Initializing extension XFIXES
[   241.185] (II) Initializing extension RENDER
[   241.186] (II) Initializing extension RANDR
[   241.188] (II) Initializing extension COMPOSITE
[   241.189] (II) Initializing extension DAMAGE
[   241.190] (II) Initializing extension MIT-SCREEN-SAVER
[   241.191] (II) Initializing extension DOUBLE-BUFFER
[   241.191] (II) Initializing extension RECORD
[   241.192] (II) Initializing extension DPMS
[   241.192] (II) Initializing extension Present
[   241.193] (II) Initializing extension DRI3
[   241.193] (II) Initializing extension X-Resource
[   241.194] (II) Initializing extension XVideo
[   241.194] (II) Initializing extension XVideo-MotionCompensation
[   241.194] (II) Initializing extension GLX
[   241.195] (II) AIGLX: Screen 0 is not DRI2 capable
[   241.781] (II) IGLX: Loaded and initialized swrast
[   241.781] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   241.781] (II) Initializing extension XFree86-VidModeExtension
[   241.781] (II) Initializing extension XFree86-DGA
[   241.782] (II) Initializing extension XFree86-DRI
[   241.783] (II) Initializing extension DRI2
[   241.784] (II) VBoxVideo(0): Setting screen physical size to 211 x 158
[   241.885] (II) config/udev: Adding input device System mouse (/dev/input/event0)
[   241.885] (**) System mouse: Applying InputClass "evdev pointer catchall"
[   241.885] (**) System mouse: Applying InputClass "libinput pointer catchall"
[   241.885] (II) LoadModule: "libinput"
[   241.886] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[   241.909] (II) Module libinput: vendor="X.Org Foundation"
[   241.909]    compiled for 1.20.9, module version = 0.30.0
[   241.909]    Module class: X.Org XInput Driver
[   241.909]    ABI class: X.Org XInput driver, version 24.1
[   241.909] (II) Using input driver 'libinput' for 'System mouse'
[   241.909] (**) System mouse: always reports core events
[   241.909] (**) Option "Device" "/dev/input/event0"
[   241.909] (**) Option "_source" "server/udev"
[   241.920] (II) event0  - System mouse: is tagged by udev as: Mouse
[   241.920] (II) event0  - System mouse: device is a pointer
[   241.920] (II) event0  - System mouse: device removed
[   241.920] (**) Option "config_info" "udev:/dev/input/event0"
[   241.920] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 6)
[   241.920] (**) Option "AccelerationScheme" "none"
[   241.920] (**) System mouse: (accel) selected scheme none/0
[   241.920] (**) System mouse: (accel) acceleration factor: 2.000
[   241.920] (**) System mouse: (accel) acceleration threshold: 4
[   241.921] (II) event0  - System mouse: is tagged by udev as: Mouse
[   241.921] (II) event0  - System mouse: device is a pointer
[   241.921] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event1)
[   241.921] (**) System keyboard multiplexer: Applying InputClass "evdev keyboard catchall"
[   241.921] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[   241.921] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[   241.921] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[   241.922] (**) System keyboard multiplexer: always reports core events
[   241.922] (**) Option "Device" "/dev/input/event1"
[   241.922] (**) Option "_source" "server/udev"
[   241.922] (II) event1  - System keyboard multiplexer: is tagged by udev as: Keyboard
[   241.922] (II) event1  - System keyboard multiplexer: device is a keyboard
[   241.922] (II) event1  - System keyboard multiplexer: device removed
[   241.923] (**) Option "config_info" "udev:/dev/input/event1"
[   241.923] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 7)
[   241.923] (**) Option "xkb_rules" "evdev"
[   241.962] (II) event1  - System keyboard multiplexer: is tagged by udev as: Keyboard
[   241.962] (II) event1  - System keyboard multiplexer: device is a keyboard
[   241.963] (II) config/udev: Adding input device AT keyboard (/dev/input/event2)
[   241.963] (**) AT keyboard: Applying InputClass "evdev keyboard catchall"
[   241.963] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[   241.963] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[   241.963] (II) Using input driver 'libinput' for 'AT keyboard'
[   241.963] (**) AT keyboard: always reports core events
[   241.963] (**) Option "Device" "/dev/input/event2"
[   241.963] (**) Option "_source" "server/udev"
[   241.963] (II) event2  - AT keyboard: is tagged by udev as: Keyboard
[   241.964] (II) event2  - AT keyboard: device is a keyboard
[   241.964] (II) event2  - AT keyboard: device removed
[   241.964] (**) Option "config_info" "udev:/dev/input/event2"
[   241.964] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 8)
[   241.964] (**) Option "xkb_rules" "evdev"
[   241.965] (II) event2  - AT keyboard: is tagged by udev as: Keyboard
[   241.965] (II) event2  - AT keyboard: device is a keyboard
[   241.965] (II) config/udev: Adding input device IntelliMouse Explorer (/dev/input/event3)
[   241.965] (**) IntelliMouse Explorer: Applying InputClass "evdev pointer catchall"
[   241.965] (**) IntelliMouse Explorer: Applying InputClass "libinput pointer catchall"
[   241.965] (II) Using input driver 'libinput' for 'IntelliMouse Explorer'
[   241.965] (**) IntelliMouse Explorer: always reports core events
[   241.965] (**) Option "Device" "/dev/input/event3"
[   241.965] (**) Option "_source" "server/udev"
[   241.972] (II) event3  - IntelliMouse Explorer: is tagged by udev as: Mouse
[   241.972] (II) event3  - IntelliMouse Explorer: device is a pointer
[   241.972] (II) event3  - IntelliMouse Explorer: device removed
[   241.999] (**) Option "config_info" "udev:/dev/input/event3"
[   241.999] (II) XINPUT: Adding extended input device "IntelliMouse Explorer" (type: MOUSE, id 9)
[   241.999] (**) Option "AccelerationScheme" "none"
[   241.999] (**) IntelliMouse Explorer: (accel) selected scheme none/0
[   241.999] (**) IntelliMouse Explorer: (accel) acceleration factor: 2.000
[   241.999] (**) IntelliMouse Explorer: (accel) acceleration threshold: 4
[   242.006] (II) event3  - IntelliMouse Explorer: is tagged by udev as: Mouse
[   242.006] (II) event3  - IntelliMouse Explorer: device is a pointer
[   242.007] (II) config/udev: Adding input device (unnamed) (/dev/vboxguest)
[   242.007] (II) LoadModule: "vboxmouse"
[   242.007] (II) Loading /usr/local/lib/xorg/modules/input/vboxmouse_drv.so
[   242.009] (II) Module vboxmouse: vendor="Oracle Corporation"
[   242.009]    compiled for 0.0.0, module version = 1.0.0
[   242.009]    Module class: X.Org XInput Driver
[   242.009]    ABI class: X.Org XInput driver, version 24.1
[   242.009] (**) Load address of symbol "VBOXMOUSE" is 0x809130018
[   242.009] (II) Using input driver 'vboxmouse' for '(unnamed)'
[   242.009] (**) (unnamed): always reports core events
[   242.009] (**) Option "Device" "/dev/vboxguest"
[   242.009] (**) (unnamed): Device: "/dev/vboxguest"
[   242.009] (**) Option "config_info" "udev:/dev/vboxguest"
[   242.009] (II) XINPUT: Adding extended input device "(unnamed)" (type: MOUSE, id 10)
[   242.009] (**) (unnamed): (accel) keeping acceleration scheme 1
[   242.009] (**) (unnamed): (accel) acceleration profile 0
[   242.009] (**) (unnamed): (accel) acceleration factor: 2.000
[   242.009] (**) (unnamed): (accel) acceleration threshold: 4
[   242.009] (II) (unnamed): On.
[   242.011] (II) VBoxVideo(0): EDID vendor "VBX", prod id 0
[   242.011] (II) VBoxVideo(0): DDCModeFromDetailedTiming: 800x600 Warning: We only handle separate sync.
[   242.011] (II) VBoxVideo(0): Using hsync ranges from config file
[   242.011] (II) VBoxVideo(0): Using vrefresh ranges from config file
[   242.011] (II) VBoxVideo(0): Printing DDC gathered Modelines:
[   242.011] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.30  800 802 804 806  600 602 604 606 -hsync -vsync (36.4 kHz eP)
[   244.061] (EE) Error loading keymap /usr/local/share/X11/xkb/compiled/server-0.xkm
FreeBSD% whoami
liveuser
FreeBSD% 

Also I have the time-limited result of a hardware probe. Original URL not to be shared.

Virtual machine name optical FreeBSD. I'll save a snapshot with reference to the number of this issue.

probonopd commented 3 years ago

Is there something that needs to be configured in virtualbox-ose or virtualbox-ose-kmod for this to work?

Does this work in GhostBSD or FuryBSD?

grahamperrin commented 3 years ago

Possible brain fart here.

Now I recall, just rarely I'm unexpectedly without the functionality for my Windows 10 guest – typically when the FreeBSD host gets 'too busy' and at the time of writing, it is quite busy (albeit with a different guest):

image

I'll retry later. GhostBSD and helloSystem. In the meantime, I'm fairly certain that I already tested at non-busy times …

grahamperrin commented 3 years ago

GhostBSD

Copying text from the guest works. A paste:

grahamperrin@mowa219-gjp4-ghostbsd /u/h/grahamperrin> kldstat
Id Refs Address                Size Name
 1   55 0xffffffff80200000  2c0b468 kernel
 2    1 0xffffffff82e0c000   3baa90 zfs.ko
 3    2 0xffffffff831c7000     a448 opensolaris.ko
 4    1 0xffffffff831d2000     eed8 aesni.ko
 5    1 0xffffffff831e1000    1e7b0 geom_eli.ko
 6    1 0xffffffff83519000     87d0 tmpfs.ko
 7    1 0xffffffff83522000     35b4 geom_uzip.ko
 8    1 0xffffffff83526000     2e30 xz.ko
 9    1 0xffffffff83529000     1a20 fdescfs.ko
10    1 0xffffffff8352b000    103b0 fuse.ko
11    1 0xffffffff8353c000     2908 ums.ko
12    1 0xffffffff8353f000    3c490 linux.ko
13    3 0xffffffff8357c000     4b80 linux_common.ko
14    1 0xffffffff83581000    35cb0 linux64.ko
15    1 0xffffffff835b7000     4df4 cuse.ko
16    1 0xffffffff835bc000     54fc linprocfs.ko
17    1 0xffffffff835c2000    25248 ipfw.ko
18    1 0xffffffff835e8000    2e683 vboxguest.ko
grahamperrin@mowa219-gjp4-ghostbsd /u/h/grahamperrin> date ; uname -v
Sun Jan  3 14:25:43 GMT 2021
FreeBSD 12.2-STABLE GENERIC 
grahamperrin@mowa219-gjp4-ghostbsd /u/h/grahamperrin> sudo freebsd-update fetch

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password:
sudo: freebsd-update: command not found
grahamperrin@mowa219-gjp4-ghostbsd /u/h/grahamperrin [1]> 

Pasting text to the guest works.


Side note: GhostBSD Mouse integration not working with VirtualBox 5.2.44 - Forums

probonopd commented 3 years ago

Would you be able to complete this table please? Would be helpful!

Feature helloSystem experimental FuryBSD GhostBSD
Copying from the guest
Copying to the guest
Mouse integration
grahamperrin commented 3 years ago

VirtualBox support matrix

FuryBSD: not yet tested by me.

probonopd commented 3 years ago

With blank = not tested yet or blank = not working?

grahamperrin commented 3 years ago

https://github.com/helloSystem/ISO/issues/87#issuecomment-753606005

… just rarely I'm unexpectedly without the functionality for my Windows 10 guest …

Today I tested first hello-0.3.0_0C155-FreeBSD-12.1-amd64.iso then my Windows 10 guest:

The table at https://github.com/helloSystem/ISO/issues/87#issuecomment-753657088 is updated accordingly.

grahamperrin commented 3 years ago

I just realised, I have no ISO for FuryBSD. https://www.furybsd.org/ as expected, no link to ISOs but I found https://github.com/furybsd/furybsd-livecd/releases where the last ISO appears to be under https://github.com/furybsd/furybsd-livecd/releases/tag/12.0-XFCE-12-02-2019-01

I'll download …

grahamperrin commented 3 years ago

This issue will be my priority, probably after I gain VirtualBox 6.1. Not yet in ports but there's recent progress at and around https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234878#c175

grahamperrin commented 3 years ago

helloSystem 0.4.0 (0D26) with FreeBSD upgraded from 12.1-RELEASE to 12.2-RELEASE-p3 then 13.0-BETA2 then 13.0-BETA3 in home-built VirtualBox 6.1.8 on a FreeBSD 14.0-CURRENT host:

image

Clipboard sharing still not working, unfortunately, in either direction.

As a workaround, for plain text, I typically use:

lynx https://upaste.de/

Postscript

Guest additions still at 5.2.44 but from what I recall of a Windows 10 guest with outdated additions, this is not a barrier to clipboard sharing.

grahamperrin commented 3 years ago

https://github.com/helloSystem/ISO/issues/87#issuecomment-753602164

… Does this work in GhostBSD or FuryBSD?

I can't get a GUI with an installation of FuryBSD:

image

grahamperrin commented 3 years ago

Progress subject to https://github.com/helloSystem/ISO/issues/181

probonopd commented 3 years ago

Thanks for testing @grahamperrin. If #181 is indeed the cause then please let's close here since #181 is quite clear about what needs to be done.

grahamperrin commented 3 years ago

If #181 is indeed the cause

Too soon to guess; in particular, please note the postscript to https://github.com/helloSystem/ISO/issues/87#issuecomment-784555725

The inability to copy and paste (in the context of this issue) is a significant hindrance to testing and feedback, so I'd like to do everything possible to fix this.

Towards a fix: we're more likely to attract interest from the VirtualBox community if helloSystem can include a supported version of the guest additions, so I view #181 as a priority.

grahamperrin commented 3 years ago

From https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254266#c0:

  1. FreeBSD-based helloSystem 0.5.0 (0E18), 12.2 upgraded to 13.0-RC2
  2. FreeBSD 12.1 upgraded to 13.0-RC2.

From https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254266#c1:

I can work around by running this after the desktop environment appears:

/usr/local/bin/VBoxClient --clipboard

Strange, because …


With helloSystem there may be an additional complication, which I have not yet assessed.

I shouldn't rush to write any workaround into helloSystem. Need to ensure that any workaround has no negative impact on e.g. ttyv1.

grahamperrin commented 3 years ago

an additional complication

For mouse integration not working with 6.1.18, @pkgdemon suggested using the legacy video driver (in lieu of the recommended VMSVGA).

No improvement, unfortunately, with helloSystem.

grahamperrin commented 3 years ago

Why the change of title? The latest helloSystem does use 5.2.44:

image

probonopd commented 3 years ago

Please always use titles for the issues that describe exactly what the issue (problem or feature request) actually is. So that I know when it can be closed. From "VirtualBox 5.2.44 (end of life) and 6.1.18 mouse integration and bidirectional shared clipboard not working in helloSystem guests" I was assuming that you tried to say "mouse integration and bidirectional shared clipboard not working".

Did you mean to say "Please update VirtualBox integration to 5.2.44"?

grahamperrin commented 3 years ago

It's often not possible to say exactly. In cases such as this, it's too soon to say exactly.

probonopd commented 3 years ago

So whatever the actual issue was, is it resolved in the latest experimental build?

grahamperrin commented 3 years ago

Not resolved.

Guest

From https://github.com/helloSystem/ISO/issues/87#issuecomment-808882221 above:

Host

% pkg info -x virtualbox
virtualbox-ose-6.1.18
virtualbox-ose-kmod-6.1.18_1
% freebsd-version -kru
14.0-CURRENT
14.0-CURRENT
14.0-CURRENT
% uname -a
FreeBSD mowa219-gjp4-8570p 14.0-CURRENT FreeBSD 14.0-CURRENT #90 main-n245648-66f138563be: Thu Mar 25 08:00:54 GMT 2021     root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64
% 

Workarounds

Clipboard:

– see https://github.com/helloSystem/ISO/issues/87#issuecomment-798824775 above.

Mouse integration:

The issue

From the title:

The phrase bidirectional shared clipboard should be meaningful to users of VirtualBox:

image

Mouse integration allows movement (of e.g. the pointer) beyond the boundaries of the display(s) of the guest virtual machine. https://www.virtualbox.org/manual/UserManual.html#keyb_mouse_normal for a longer explanation. In simple terms:

– and a single keystroke e.g. Control overrides the capture.

grahamperrin commented 3 years ago

From my last title:

… helloSystem guests

guests was to indicate that the problems seem to be with guests.

https://www.freshports.org/emulators/virtualbox-ose-additions/ puts the word in context; it's commonly used to describe the virtual machine (distinct from the physical machine, the host).

grahamperrin commented 3 years ago

https://github.com/helloSystem/ISO/issues/87#issuecomment-808882452

… Did you mean to say "Please update VirtualBox integration to 5.2.44"?

No, I took care to keep the issues separate.

5.2.44 is end of life. Please see https://github.com/helloSystem/ISO/issues/181 for the proposed update to 6.⋯

grahamperrin commented 3 years ago

https://github.com/helloSystem/hello/discussions/219

probonopd commented 2 years ago

VirtualBox Guest Additions are preinstalled and enabled, providing for seamless resizing of the screen, copy & paste, etc. when running in VirtualBox. Please try the latest experimental build. Thanks for your patience! :+1: