![如何从 Windows 连接到 Ubuntu 并启动 Nsight?](https://linux22.com/image/1610983/%E5%A6%82%E4%BD%95%E4%BB%8E%20Windows%20%E8%BF%9E%E6%8E%A5%E5%88%B0%20Ubuntu%20%E5%B9%B6%E5%90%AF%E5%8A%A8%20Nsight%EF%BC%9F.png)
从 Ubuntu 到 Ubuntu 我将使用:
ssh -X __username__@__hostname__
nsight
我可以看到 Nsight 在本地桌面上运行,同时程序在远程进行编译。
但是如何从 Windows 转到 Ubuntu?
我尝试过这个指南:教程。但是它不起作用并且我收到以下错误:
xterm
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Cannot assign requested address
xterm: Xt error: Can't open display: localhost:10.0
nsight
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Cannot assign requested address
Nsight: Cannot open display:
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Cannot assign requested address
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Cannot assign requested address
Nsight: Cannot open display:
Nsight:
An error has occurred. See the log file
然后我尝试了远程桌面连接(内置 Windows),但出现了一些问题,可能是远程没有安装某些东西。我没有 sudo 访问权限,所以我对此无能为力。
答案1
您需要X
在 Windows 机器上安装并运行服务器。或者您可以使用包含 X 服务器的终端仿真器,例如摩巴Xterm例如。
PS 与软件没有任何关联