Use a laptop as a 2nd display on Linux using FreeRDP
There's a slightly different approach with a similar outcome: sharing the keyboard and mouse between two machines.<p>Software used to be called Synergy, but that went commercial, so there's a fork called barrier. 
<a href="https://github.com/debauchee/barrier">https://github.com/debauchee/barrier</a>