分类: LINUX
2013-10-10 16:01:13
原文地址:使用putty + ssh 登陆 X11 作者:iibull
NOTE: The tools supported at the lab to provide X-11 on Windows systems have changed. Due to security and maintenance concerns, PC-XWare is no longer supported. Users are asked to remove PC-XWare from their systems and switch to Hummingbird eXceed. |
Since Windows does not support X11 based windowing natively, it is necessary to run a special program called an "X Server" that allows your Windows Workstation to do so. The Lab currently supports a product called Hummingbird Exceed for this purpose. Since X-windows does not provide secure connections itself, it is necessary to use it in conjunction with a separate tool that provides this security. This product (PuTTY) must be installed on your PC and configured correctly to provide secure X-Windows connections.
PuTTY is the same tool used to provide all interactive login from Windows to Unix systems at the Lab. Thus, it should already be available on your system. PuTTY and eXceed are designed to work together so that X applications you launch from within the PuTTY login windows will use the encrypted channel created by PuTTY to secure the network traffic used by the x server against sniffing. Note that it is possible to use X-windows without a secure product like PuTTY, though this is no longer allowed at the lab due to security concerns.
If you have our old (no longer supported) X11 package (PCXware by NCD) installed on your system, it must be (using the Add/Remove Programs applet in your system's control panel) prior to installing eXceed.
If you have already installed eXceed, but the installed version is older than that shown in the "Supported Windows Applications" table on our web page, you need to the existing version prior to installing the current version.
EXceed can be installed by users through the usual Add/Remove programs dialog in your Windows system's Control Panel. A series of screen shots are available that illustrate this process for .
Using this configuration, an X-Windows window will automatically open whenever you start an X-Windows program on the remote UNIX host.
A good X-Windows program to test with when you first set Exceed up is xclock. At the command prompt, enter the following and a small window containing a clock will open on your PC's screen. (It might open minimized; if you don't see it right away, check your taskbar.
neo@jlabs1>xclock &
I get the following display errors:
"Error: Can't open display:" | |
"Error: Couldn't find per display information" |