windows 如何从windows机器访问solaris 10 gui?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9358630/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 09:15:17  来源:igfitidea点击:

How to access solaris 10 gui from windows machine?

windowssolarisremote-accessopensolarissolaris-10

提问by MohammedYakub Moriswala

I want to access solaris 10 GUI screen from my windows xp machine. Is there any software which can provide this flexibility ?

我想从我的 windows xp 机器访问 solaris 10 GUI 屏幕。有没有可以提供这种灵活性的软件?

Thanks,

谢谢,

回答by Amil

Yes. Assuming your Solaris box has X already installed:

是的。假设您的 Solaris 机器已经安装了 X:

  1. Install Cygwinon your Windows machine
  2. While installing, once you get to the packages page, make sure that X11 is set to Install so that you get all X11 packages
  3. Once Cygwin is done installing, run Start->All Programs->Cygwin-X->XWin Server
  4. Follow these directions(copied below for convenience)
  5. Type ssh -Y username@[solaris box ip](note you may need to run /usr/openwin/bin/xhost +first)
  6. Run any program which can use X11 (i.e. /usr/openwin/bin/xclockon my Solaris)
  7. It should display in a GUI windows
  1. 在 Windows 机器上安装Cygwin
  2. 安装时,一旦您进入软件包页面,请确保将 X11 设置为安装,以便您获得所有 X11 软件包
  3. Cygwin 安装完成后,运行 Start->All Programs->Cygwin-X->XWin Server
  4. 按照这些说明(为方便起见复制在下面)
  5. 输入ssh -Y username@[solaris box ip](注意你可能需要先运行/usr/openwin/bin/xhost +
  6. 运行任何可以使用 X11 的程序(即/usr/openwin/bin/xclock在我的 Solaris 上)
  7. 它应该显示在 GUI 窗口中

回答by peterh

Just install MobaXterm. It is free and much easier to use than any of the other recommendations you got, IMHO. It is a terminal emulator (based on Pytty), an X Server, etc, all in one easy to use package.

只需安装MobaXterm。恕我直言,它是免费的,而且比您获得的任何其他建议更容易使用。它是一个终端模拟器(基于 Pytty)、一个 X 服务器等,都在一个易于使用的包中。

回答by paxdiablo

CygWincomes with an X display server so you should be able to run that, set up a DISPLAYvariable to your Windows box (on the Solaris box) and run any GUI program you want.

CygWin带有一个 X 显示服务器,因此您应该能够运行它,DISPLAY为您的 Windows 机器(在 Solaris 机器上)设置一个变量并运行您想要的任何 GUI 程序。

For example, download CygWin using that link above, then install everything,not just the default packages.

例如,使用上面的链接下载 CygWin,然后安装所有内容,而不仅仅是默认包。

Then start up the X server on your Windows box by choosing Start, All Programs, Cygwin-Xand XWin Server.

然后通过选择启动X服务器上的Windows中StartAll ProgramsCygwin-XXWin Server

Now, let's say your Windows IP address is 192.168.31.31 - you would, on the Solaris box, do something like:

现在,假设您的 Windows IP 地址是 192.168.31.31 - 您将在 Solaris 机器上执行以下操作:

export DISPLAY=192.168.31.31:0.0
xeyes &

That should run xeyes (or whatever actualprogram you want to run) on your Solaris box, while putting the window (and input) for it on your Windows box.

这应该在您的 Solaris 机器上运行 xeyes(或您想要运行的任何实际程序),同时将窗口(和输入)放在您的 Windows 机器上。