I'm having a problem trying to get a vnc connection (vinagre, I'm using Ubuntu) to a computer at my work. It says on their website that you need to tunnel via ssh first, so I've typed in:
ssh -l hjohnson -L 5904:barcelona.aip.de:5902 login.aip.de
Confirmed it with my password and it works. I have a connection to login.aip.de now, and I can access my files by doing ssh again to just barcelona.aip.de. However it then tells me to access with a vncviewer I need to write:
vncviewer localhost:5904
But this doesn't work!? I'm writing vinagre instead of vncviewer, and I've tried writing barcelona.aip.de instead of localhost, but I just says that the connection has been refused by the host. Any ideas please?! It's a public holiday here in Germany and I really need to access some things.