TheYang I'm currently in the process of writing up a guide on this very thing. What you are after already exists, sort of. There is no video out, it is entirely CLI-based. As far as I've been able to deduce, that paid app is the only way you can achieve PKVM despite it being native for pixel 7 and present but deactivated on Pixel 6.
I've used it, I have successfully set up a next cloud server and I've been able to hit it from not just other devices on my network but outside of my network utilizing tail scale because I'm too lazy to set up a reverse proxy.
If you check my other posts you will find the one that I am referring to, I am preparing to release the sources that I have found one of which you have already linked, so if others are interested or would like to contribute they are welcome to while I continue writing up the rest of my guide on how to self host a nextcloud server utilizing PKVM and this particular app.
And just in case my original post is not clear enough; THIS IS NOT A SAMSUNG DEX ALTERNATIVE.
Trust and believe I wish it could be. Pixels are amazing devices imo aside from the hamfisted "buy our Chromecasts...pretty please?"
Also I find your second link interesting. It requires root even for p7? Strange. My sources for Windows11 utilize the patreon app and don't require root.
My brain is fried though from being up for two days so I can't fully discern why this other 'app' exists && requires root, what is it doing over the patreon app? Sorta seems less featured but supports gpu acceleration?