繁体   English   中英

是否可以从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上运行sh文件,但仅返回null。

您可以通过带有x-forwarding和已安装的x-server(xming)的ssh(putty)在Windows客户端中运行远程Linux主机的GUI-Applications。

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

如果它是Linux GUI应用程序,则应“导出显示”以查看工作站上的服务器屏幕。

根据您的工作站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 -个人电脑
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-遥远地

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM