是否可以从 linux 远程服务器执行 sh 文件 GUI 应用程序并在本地计算机上查看它?

Is it possible to execute sh files GUI application from linux remote server and view it on local machine?

我的工作是 运行在远程服务器上使用 denodo 平台。 Sh 文件是一个 GUI 应用程序,我必须 运行 它才能启动 denodo 服务。我无法在windows中访问它,有没有办法解决这些问题?

已经在 Putty Windows 上 运行ning sh 文件,但只有 return 为空。

您可以 运行 GUI-Applications 远程 linux 主机中的 windows 客户端通过 ssh (putty) x-forwarding 和已安装的 x-server (xming)

看到这个问题: https://superuser.com/questions/299158/how-to-make-putty-do-the-equivalent-of-ssh-x

如果它是 linux GUI 应用程序,您应该 "export display" 在您的工作站上查看服务器屏幕。

根据您的工作站 linux 发行版,它可能很简单:

xhost +<IP_address_of_workstation>
./runMyApp.sh

由于您的工作站是 运行 windows 操作系统,您需要做进一步的配置: https://superuser.com/questions/325630/how-can-i-export-display-from-a-linux-terminal-to-a-windows-pc
https://seanthegeek.net/234/graphical-linux-applications-bash-ubuntu-windows/

如果您的工作站是通过 SSH 连接的,您需要进行更多配置,如下所述:https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely