I was following the instructions on here: Extend Desktop to Monitor over LAN
And ran startx -- /usr/bin/Xdmx :1 +xinerama -display :0.0 -display localhost:10.0 -norender -noglxproxy on my new laptop over ssh with my old laptop as the client. This was meant to let me use my old laptop screen as an extended monitor.
It didn't work and all I got was a mouse on a black screen on my new laptop, so I restarted it but now I can't get past the login screen.
I tried uninstalling xdmx, openssh-server and even reinstalling xserver-xorg but nothing has helped.
Please help!