1/31/2024 0 Comments Macos ssh tunnel managerwhere :51 translates to port 5951, I would use: ssh -L 5999:localhost: 5951.For example on a Linux system I use, I issue the following command to start my VNC server Did you have to specify a display or port number. Did you have to configure the remote server.How do you start the remote VNC server? Did it come with the remote operating system, or did you have to install it?.If you CANNOT VNC without ssh, can you tell me anything about the VNC server you are using on the remote system.what is the connection information (do not actually tell me the real remote host name or IP address I do not need that, but I do need to know if you have to plug in a display number or port value).what is the VNC client you are using on your Mac?.What operating system is the remote system using? Mac? Linux? Other?.I'm going to guess that 5900 is not the port the remote VNC server is listening on. I'm guessing the SSH connection has multiple channels, and the tunnel is channel 2. What is "channel 2" here? How can I solve this? In the meantime, the terminal shows that "channel 2: open failed: connect failed: Connection refused". The macOS Screen Sharing, RealVNC, or Chicken (of the VNC), would all be better than using vncviewer. I have used vncviewer in an X11 environment on my Mac, so I speak from experience. When connecting from home to work and I want to use a VNC, I use an ssh tunnel. I connect to my Mom's 300 mile away iMac using an ssh tunnel. I do VNC across ssh tunnels all the time. To use vncviewer you would have toĪ) get it via a package manager (or compile it yourself)ī) install XQuartz to get X11 support on your MacĬ) it would be a less pleasant experience. I find the nicest thing is that RealVNC keeps your clipboard in sync, so that you can Copy & Paste between the 2 systems. This will perform better in a cross platform environment. If you are NOT going to another Mac, but rather going to a Linux or Unix based system, then download and install the free RealVNC Viewer. Where the 5999 is the local port (could be any unused port), 5900 is the VNC server port on the remote system, and the command to make your connection would be "open vnc://localhost:5999" I would have expected to see an ssh command more along the lines of: NOTE: Is your remote VNC server running on port 5901? I ask, because typically VNC servers use port 5900. This will start up the macOS build-in Screen Sharing app, which support VNC, and should do exactly what you want. Finder -> Go -> Connect to Server -> vnc://localhost:5901
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |