This GitHub Gist presents a detailed guide on how to set up a laptop as a second monitor on a Linux.
- The machine for which its screen is going to be extended is going to be the host whereas the other machine which will show the extended screen is going to be the client. The host machine must be on Linux. As for the client it does not really matter as long as there is a suitable VNC viewer.