Hi,
I'm trying to use my laptop as a third screen to my desktop PC. I found the xdmx packet to be the solution for me.
I have X session running on both machines and a ssh tunnel from my laptop to my PC with the command:
ssh -X -c aes128-gcm@openssh.com user@PC
I have also run
echo $DISPLAY
and got
localhost:10.0
as output.
So when I tried to start Xdmx with
startx -- /usr/bin/Xdmx :1 +xinerama -display :0.0 -display localhost:10.0 -norender -noglxproxy -ignorebadfontpaths
and I got this output on my PC:
... (Fatal Error) dmx: dmxOpenDisplay: Unable to open display localhost:10.0 xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error Couldn't get a file descriptor referring to the console
And this one on my laptop:
X11 connection rejected because of wrong authentication.
I also tried to google the problem, but all the solutions I found did not work. One of them was to add the localhost:10.0 display to the auth-file and coping that over (with extract and merge).
Please help me, cause I have no idea what to do.
PS: Desktop 18.10, Laptop 18.04