With Ubuntu at the remote and local ends, if unable to type anything into the Spyder IDE when connecting remotely over VNC, try TurboVNC on the laptop. Download the latest TurboVNC .deb file and Install the .deb file
Now, the command
vncviewer maps to the more advanced TurboVNC instead of TightVNC.
Before using TurboVNC, errors included
Qt: XKEYBOARD extension not present on the X server.
I tried putting in my remote system’s ~/.profile the line
based on Spyder Github Issue but with no luck.