1

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.

4

1 回答 1

0

如果您已登录您的计算机,我们将不必 ping 它:我们假设它已很好地连接到网络,因此已通电;)。

首先,在您的远程计算机 ( barcelona.aip.de) 上,尝试该命令ps aux并查找“vnc”:如果您的计算机上启动了 VNC,您应该会在活动进程列表中看到它。

从计算机上login.aip.de,安装 nmap -apt-get install nmap如果它是 Debian 或 Ubuntu 机器,可以安装 nmap - 然后制作一个nmap -p 5900-6000 barcelona.aip.de以查看您的桌面机器上打开了哪些端口。

也许 VNC 不在端口 5902 上运行,而是在 5901 或 5903 上运行。

干杯,

K。

于 2013-05-09T12:02:44.723 回答