We all love using VNC to remote to someones computer or a server to do various things with a minimal GUI or something. Well.. I decided to try that with a friends system and VNC works.. up to a point.
It appears either its something specific to Debian, or the Mint Team did something that broke things that it shouldn't. I'm using vnc4server/viewer on both sides, and I can connect to my friends system just fine through an SSH tunnel and use VNC to connect. However... gnome-terminal will hang the very second you type something with the keyboard. Why, I don't know. I had to go in a modify the xstartup to use xterm instead in order to get things mildly working.
There's various issues going on with Gnome and VNC. Like, if I were to use a different window manager, I can at least get a basic gnome-session running, use that to look at things, but lets say I need to open the software manager and it asks for the password. Well, on occasions it'll actually freeze and cause 100% CPU usage, and its not suppose to do that. I have to go and kill -9 it to stop it from doing that.There's something wrong with the keyring that's doing that, or something...
I don't entirely know what's going on, but you can test this yourself easy. Just start up and enter vncserver -geometry 800x600 :3 or whatever, then vncviewer localhost:3 to look at the new display. Try typing something, you'll see right there that gnome-terminal will freeze in an instant. I tested it on my laptop as well that runs LMDE, same exact issue.
Another friend of mine helped me a bit, but he can't figure out what's causing it. We have no issue using an SSH tunnel to use VNC on a server he owns that runs Ubuntu, so this is most likely an issue with what the Mint Team did or something. We're using the exact same process to do things. I'll give an example:
Code: Select all
ssh -C -L 5910:localhost:5910 someuser@some.hostgoeshere.net
vncserver -geometry 800x600 :10
*leave terminal open and open a new one*
vncviewer localhost:10
-type in gnome-terminal, instant freeze-