![]() ![]() This will perform a disconnect from the VNC server but anything you leavethat is. ![]() In X11VNC, for example, you have to start with the -forever option if you want to be able to log out and log back in repeatedly. To close out of VNC Viewer or Chicken of the VNC, just close the VNC window. If you log out you can't log back in without restarting the server again. Many VNC servers provide only a single session instance. (I use OpenSSH keys with PuTTY, as designated by the -i ~/.ssh/id_rsa option). You know, SSH is included by default in Ubuntu - is there a reason you're using PuTTY?Īnyway, if connecting using PuTTY, the commands are rather similar. (I use Krdc instead of Vino as my VNC client, but it shouldn't matter much). Where port 5900 is used for VNC on both client and host, the SSH port is the standard 22, the router WAN IP address is 244.205.123.123 (can also be a URL), and the VNC host on the LAN is at 192.168.1.155. There is probably some syntax error in your tunneling command from your client. If you get The connection closed unexpectedly then possibly you have forgotten to start vncserver on the server, or started it with the wrong port number or on. Yes, you are doing VNC directly, and the connections are not going through the tunnel. The Real VNC Viewer version for windows, contrarily, tries to connect for two-three seconds and then popups the error: The connection closed unexpectedly. TightVNC Server on Linux has been erratic for me. Some of the VNC servers are a bit flaky, IMO. ![]() SSH / VNC / Remote Access info in detail is available at:įurther, you must have not only an OpenSSH Server running on the host, but also a VNC Server. However, you do need it open locally (on both the server and the client), or there will be no access from the SSH tunnel to the VNC Server, which is a local loop on either end. If you are tunneling, you don't need port 5900 to be open to the Internet through the router (that's the whole point of tunneling). PuTTY does not use the same key structure as the OpenSSH server, so if you are using key authentication make sure your keys are compatible. all ports unblocked and allowed, or "permissive mode"), though, even if you have one. The router will block incoming traffic, but not outgoing traffic.įor troubleshooting, it is easiest if firewall is turned off (i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |