如何在linux和windows上使用xorg-x11 X服务器?

发布于 2024-12-04 19:42:40 字数 118 浏览 7 评论 0原文

我真的被困在这里了。 我想安装并使用 xorg-x11 linux 实用程序,建议我使用该实用程序将 UI 从 EC2 导出到我的本地计算机。 我已在我的 ec2 实例上安装了“xorg-x11-apps.x86_64”。

I am really stuck here.
I want to install and use xorg-x11 linux utility Which i am suggested to use to export UI from EC2 to my local machine.
I have installed "xorg-x11-apps.x86_64" on my ec2 instance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蓝眼泪 2024-12-11 19:42:40

通常在远程站点上您只需要 X11 库,而不是完整的服务器。不过,您在本地计算机上安装了 X11 服务器。我建议使用 Cygwin 并使用它附带的 X.org 服务器。然后你就做

YOURWINDOWSMACHINE ~ > ssh -X USER@ec2-instance-address

EC2-INSTANCE ~ > some_program_using_X11

Normally on the remote site you only need the X11 libraries, not the full blown server. On your local machine you install a X11 server though. I recommend using Cygwin and use the X.org server it ships. Then you do

YOURWINDOWSMACHINE ~ > ssh -X USER@ec2-instance-address

EC2-INSTANCE ~ > some_program_using_X11
青瓷清茶倾城歌 2024-12-11 19:42:40

通常,如果您在带有 X 的本地计算机上安装 cygwin,您应该能够导出显示并运行远程 X 应用程序。如果您使用的是 ssh 之类的东西,请查看它的标志(-x 或 -X 如果没记错的话)

Normally, if you install cygwin on your local machine with X, you should be able to export the display and run the remote X application. If you're using something like ssh, have a look at its flags (-x or -X if memory serves)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文