What finally fixed this problem for me was using TurboVNC on my laptop.
- Download the latest TurboVNC .deb file
- 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
~/.bashrc the line
based on Spyder Github Issue but with no luck.