Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/ftp/documents/system-docs/vms-guide/html/VUG_42.html
Дата изменения: Wed Nov 1 17:38:25 1995 Дата индексирования: Sun Dec 23 18:30:33 2007 Кодировка: Поисковые слова: ngc 7023 |
x.com
file to your home directory, for example:
$ copy stscic::sys$local:[windows]x.com sys$login:x.comIf your workstation is not part of the Science Cluster, you need to take the following steps to create the same environment on your workstation:
$ copy stscic::sys$local:[windows]xterm.com sys$login:xterm.com $ copy stscic::sys$local:[windows]getcolor.com sys$login:getcolor.com
x.com
file and change this line:
$@SYS$LOCAL:[WINDOWS]XTERM `P1 `P2to:
$@SYS$LOGIN:XTERM `P1 `P2
$ type airy::"0=x"
-RMS-E-ACC, ACP file access failed -SYSTEM-F-INVLOGIN, login information invalid at remote node Xlib: connection to "BABEL::0.0" refused by server Xlib: Client is not authorized to access server %SYSTEM-F-CONNECFAIL, connect to network object timed-out or failed %SYSTEM-F-NOPRIV, no privilege for attempted operationIf you see these messages, you must set your workstation security to allow the remote system to display to your workstation. To do this:
type airy::"0=x"
command again.
Follow these steps to create a new menu item:
If you try to run an application in a remote window, you might see an error message like this:
Generated with CERN WebMaker
Figure 6.9: Security Options Window
Now that you know how to pop open a DECterm window on a remote system, you might like to do this from a menu item instead of typing it each time. You can add the appropriate command to your Applications menu. In addition, this new application could be added to your Automatic Startup...
type EOTVOS::"0=x"
DECterm EOTVOS
Figure 6.10: Adding Applications: the Menus Window
To add this new menu item to the Applications menu, follow these steps:
You can also display a Unix window on your VMS workstation. This procedure it a little more involved. See your system manager for details.
X Toolkit Error: Can't Open display
This usually means that the display is incorrectly set. To see where the output from a DECwindows application will be displayed, type SHOW DISPLAY
. The node listed must be the name of the workstation that you are physically using. The following command is an example of to set the node:
$ SET DISPLAY /CREATE/NODE=athena
Opening VMS Windows from Unix
If you are logged into a Unix workstation and you'd like to run a Motif application on a VMS system, with input and display on your local display, you can do so as follows:
xhost
command. The syntax is:
% xhost +node
$ SET DISPLAY/CREATE/NODE=node.domain/TRANS=TCPIP
SPAWN
command (you could try RUN
too, but it will lock your window onto the VMS host until the application terminates). The syntax for using SPAWN
is:
$ SPAWN/NOWAIT/INPUT=NL: application
The process might be clearer by looking at an example. We will show this one using RUN
; normally, you will want to replace the RUN
statement with a SPAWN
statement. Assume that you are logged into the Sun Sparcstation lager.stsci.edu and want to log into the VMS host KEPLER so that you can access Bookreader documentation. Figure 6.11 shows how this is done.
Figure 6.11: Running a Motif Application on a Remote VAX from a Local Sun