Can’t build Looking Glass Client modules on Linux Mint 21 (running on PVE 7.x)

Hello people!
After I finally succeeded in building Looking Glass I am now trying to getting it to run in a VM → VM config. After I had issues with B5.0.1, I decided to try the git version.

Note: I am using Linux Mint [email protected] 6.0.9-060009-generic (Cinnamon) and trying to passthrough keyboard, mouse, display and – if possible – audio from a Win10 VM on a “server” running PVE 7.x. with Looking Glass.

Looking Glass does compile, but installing the modules following the documentation fails.

sudo dkms install "." 
Creating symlink /var/lib/dkms/kvmfr/0.0.8/source -> /usr/src/kvmfr-0.0.8

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.0.9-060009-generic KDIR=/lib/modules/6.0.9-060009-generic/build...
Signing module:
 - /var/lib/dkms/kvmfr/0.0.8/6.0.9-060009-generic/x86_64/module/kvmfr.ko
Secure Boot not enabled on this system.
cleaning build area...

kvmfr.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.0.9-060009-generic/updates/dkms/

depmod...

So compiling seems to have worked but when I load the module with

sudo modprobe kvmfr

I get the return:

modprobe: ERROR: could not insert 'kvmfr': Exec format error

What do I need to do differently?

Greetings & thank you for trying to solve these issues on Layer8 in advance

goldsteal

Update: Added info on Desktop Enviroment (Cinnamon). I think it runs Wayland but I am not certain. Will check.

Update: I tried version b6-rc of Looking Glass in order to rule out an issue with the git build – since that is meant for developers only anyways…

I fail at the same point, in seemingly the same way.

Any pointers still greatly appreciated…

goldsteal

Update: Found a guide and hoped I didn’t need to fix the modprobe issue:
https://looking-glass.io/wiki/Installation_on_other_distributions#Installing_Dependencies_3

I was wrong. So if anyone is running this VM to VM on Proxmox PVE 7.x any help is still greatly appreciated…