Set source port to some port that probably is not in use (like 5000). On the left side scroll down to Connection -> SSH -> Tunnels Type in all the info for the session (hostname and such). Now with your laptop, from outside your internal network, open up putty. You have ssh access to the ubuntu server. So you have ubuntu server, mac mini, and windows behind the router. Let me know if any of my assumptions about what your trying to do were incorrect. but this is generally considered a huge security risk. You could just directly forward the ports in the router or firewall to point at the servers and then directly connect to the servers using vnc over the internet. Once you set up the tunnel, VNCing to Ubuntu on the port that you set up will connect you to whatever machine you specified in the ssh tunnel. You would have to forward another port in the router to point at Ubuntu so you can use it for VNC. I'm assuming that the three home computers are behind a router or firewall or something and you just have ssh opened up for your ubuntu system.Īs fenix said, you can use ssh port forwarding in order to make one of the ports on the Ubuntu system behave just as if it were a port on the Mac or Windows systems (Ubuntu must have access to the ports). I believe you will need to use a VNC client on your laptop in order to connect to the Windows or Mac computers. If that is the case, then as the error message suggests, your command line SSH session is unable to open up a GUI to display your vnc connection for you. Are you connecting to the Ubuntu system through SSH and then typing in vncserver on the ubuntu server that you are ssh'd into? I'm a little confused about your process. Do I need to have a GUI installed, or did that come with the vnc packages I installed? I'm sure I'm missing something important, but I'm not sure what it is. VNC Viewer Free Edition 4.1.1 for X - built 18:41:55 Subsequently, I tried entering the following commands into Ubuntu: com and went to "System Preferences>Sharing" and enabled "Screen Sharing". To attempt to connect to the mac, I followed directions I found in a thread at superuser. I then set up a password using the vncpasswd command.
0 Comments
Leave a Reply. |