I was playing with Debian and Virtualbox and i didn’t understand why the VirtualBox Guest Addiotions didn’t run well.
In particular, when the X session starts it gives me a popup with:
“Failed to register resizing support, rc=VERR_INVALID_FUNCTION”
I solved just with this one line:
$ sudo apt update $ sudo apt install build-essential dkms linux-headers-$(uname -r)
Have a nice day!