现在,假设您的 Windows IP 地址是 192.168.31.31 - 您可以在 Solaris 机器上执行以下操作:
export DISPLAY=192.168.31.31:0.0
xeyes &
应该在 Solaris 机器上运行 xeyes(或您想要运行的任何实际程序) ,同时将其窗口(和输入)放在 Windows 盒子上。
CygWin comes 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.
For example, download CygWin using that link above, then install everything, not just the default packages.
Then start up the X server on your Windows box by choosing Start, All Programs, Cygwin-X and XWin Server.
Now, let's say your Windows IP address is 192.168.31.31 - you would, on the Solaris box, do something like:
export DISPLAY=192.168.31.31:0.0
xeyes &
That should run xeyes (or whatever actual program you want to run) on your Solaris box, while putting the window (and input) for it on your Windows box.
只需安装MobaXterm。恕我直言,它是免费的,并且比您得到的任何其他推荐更容易使用。它是一个终端仿真器(基于 Pytty)、一个 X Server 等,全部集成在一个易于使用的包中。
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.
发布评论
评论(3)
是的。假设您的 Solaris 机器已经安装了 X:
ssh -Y用户名@[solaris box ip]
(请注意,您可能需要先运行
/usr/openwin/bin/xhost +
)/usr/openwin/bin/xclock
我的 Solaris)Yes. Assuming your Solaris box has X already installed:
ssh -Y username@[solaris box ip]
(note you may need to run
/usr/openwin/bin/xhost +
first)/usr/openwin/bin/xclock
on my Solaris)CygWin 附带一个 X 显示服务器,因此您应该能够运行它,设置一个
DISPLAY
变量到您的 Windows 机器(在 Solaris 机器上)并运行您想要的任何 GUI 程序。例如,使用上面的链接下载 CygWin,然后安装所有内容,而不仅仅是默认包。
然后通过选择
开始
、所有程序
、Cygwin-X
和XWin Server
启动Windows机器上的X服务器>。现在,假设您的 Windows IP 地址是 192.168.31.31 - 您可以在 Solaris 机器上执行以下操作:
应该在 Solaris 机器上运行 xeyes(或您想要运行的任何实际程序) ,同时将其窗口(和输入)放在 Windows 盒子上。
CygWin comes 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.For example, download CygWin using that link above, then install everything, not just the default packages.
Then start up the X server on your Windows box by choosing
Start
,All Programs
,Cygwin-X
andXWin Server
.Now, let's say your Windows IP address is 192.168.31.31 - you would, on the Solaris box, do something like:
That should run xeyes (or whatever actual program you want to run) on your Solaris box, while putting the window (and input) for it on your Windows box.
只需安装MobaXterm。恕我直言,它是免费的,并且比您得到的任何其他推荐更容易使用。它是一个终端仿真器(基于 Pytty)、一个 X Server 等,全部集成在一个易于使用的包中。
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.