How to use a second computer as an additional monitor (Linux Fedora 24)

fedoramultiple-monitorssshxdmx

My Objective

I would like to use my laptop, which is running Fedora 24, as a second monitor for desktop computer, which is also running Fedora 24.


What I have tried and what doesn't quite cut it or: Why this isn't a duplicate question

Xdmx

After doing a search of the internet and this website I found quite a few posts which were similar to this one, all of which basically contained the same few steps:

  1. Install Xdmx on both computers.
  2. ssh into one computer from the other with -X option going.
  3. Use Xdmx to turn the computer which is on the recieving end of the ssh into a monitor using the following command:
    startx -- /usr/bin/Xdmx :1 +xinerama -display :0.0 -display localhost:10.0 -norender -noglxproxy

Doing so first makes both computer screens go black for a few seconds, then gives me a long error message which ends with:

xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost

waiting for X server to shut down 
Couldn't get a file descriptor referring to the console

Googling the error returns this blog post from July 2015, in which a user follows the exact same steps as I did except for using Ubuntu instead of Fedora, and ends up with the exact same result as I did. There are six comments on the post as recent as October 2016, all six of which claim to have followed the same steps, and have received the same error.

Fedora Remote Desktop

While this does allow me to control one computer from another, it requires that I use a GUI on the host computer to control laptop. To use the gui effectively, it has to take up a large amount of space on one monitor. So, when I want to use the host monitor, I have to alt-tab remote desktop away. As such, I do not actually gain a monitor, since I am unable to simultaneously use the two monitors for two different tasks. This is more similar to just switching workspaces, which is something that I am already able to do. Also, I can not move programs between screens.

Ssh -X

Same as above. Yes I can control my other computer, but I have to actively use the host monitor to control my laptop monitor.

Synergy.

The program actually works, but it only allows the sharing of mouse and keyboard. Programs can not be moved between monitors, so it's not completely what I am looking for. Also, I am a stingy college student, and the license fee is $20. For this price I could just buy a used monitor, which would allow me to move programs between monitors. There is a FOSS version in the Fedora dnf repository, but that version is outdated.

Best Answer

I use Ubuntu 18.10 and this shell tool https://github.com/mrenrich84/vnc_virtual_display_linker

if you are using x11 and x11vnc in your fedora 24 you could give it a try.

I use this to make a second screen with my Android Tablet (you just need a vnc client on the second screen device).

Mouse and Keyboard of my PC are also available on the second screen.

Related Question