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
How to access solaris 10 gui from windows machine?
提问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:
- Install Cygwinon your Windows machine
- While installing, once you get to the packages page, make sure that X11 is set to Install so that you get all X11 packages
- Once Cygwin is done installing, run Start->All Programs->Cygwin-X->XWin Server
- Follow these directions(copied below for convenience)
- Type
ssh -Y username@[solaris box ip]
(note you may need to run/usr/openwin/bin/xhost +
first) - Run any program which can use X11 (i.e.
/usr/openwin/bin/xclock
on my Solaris) - It should display in a GUI windows
回答by peterh
回答by paxdiablo
CygWincomes with an X display server so you should be able to run that, set up a DISPLAY
variable 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-X
and XWin Server
.
然后通过选择启动X服务器上的Windows中Start
,All Programs
,Cygwin-X
和XWin 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 机器上。