next up previous
Next: 3.3 Optimizing the Use Up: 3 More ... Previous: 3.1 Shimming via Spectrum


3.2 Running Vnmr(J) from a remote computer

If you want to run Vnmr(J) from a Solaris workstation/processing machine in the desktop of a client machine, like a personal computer running Unix$\copyright$ or MS Windows\textregistered you have two optinos: sending the X information directly to the client machine without encryptating it, or sending it through the SSH channel created when the SSH connection starts. The first option is faster while the second is safer. The default $HOME/.login script created by the Vnmr(J) script makeuser sets the DISPLAY variable to client_host_name:0 everytime one starts an SSH conection to the Solaris Vnmr(J) server. This is half the way to use the non-encrypted option. For access with a MS Windows\textregistered machine, use a X11 utilitie like Xwin32, Cygwin, Hummingbird or Xmanager.

Now consider the context: you are sitted in front of the machine called mypc.domain.edu, and want to run Vnmr(J), which is installed in the machine server1.domain.edu. Here are the two options:

  1. Sending X through outside of SSH:
    In mypc.domain.edu type xhost server1.domain.edu && ssh server1.domain.edu. If your server is asking you to input display server name, type mypc.domain.edu, if not type setenv DISPLAY mypc.domain.edu:0. Now type vn & to run VnmrTM in your personal computer.
  2. Sending X through the SSH channel:
    From mypc.domain.edu type ssh -X server1.domain.edu. The -X option will cause server1.domain.edu to send the X information to the channel 60xx in mypc.domain.edu, where xx is a number from 10 to 99. It should already work, so that if you type xterm, an Xterminal appears in your screen. If not, try echo $DISPLAY to see if this variable looks like mypc:60xx. If it doesn't, then type netstat -a and search for the text:
       server1.ssh        mypc.domain.edu.63237 66608      0 66608      0 ESTABLISHED
       localhost.6010             *.*                0      0 65535      0 LISTEN
    
    It means that a X channel to mypc.domain.edu port 6010 is stablished. Then type setenv DISPLAY localhost:10 in the server1 shell to use it. If it even thogh does not work, read the messages from the ssh -vvv server1 command, or run sshd in debug mode at the server1 by typing sshd -ddd in the server machine (first kill the running sshd). Then ssh -X server1 from mypc and watch the messages. It can be that your Magic Cookies are not working. Check if the xauth command is working properly in server1.


next up previous
Next: 3.3 Optimizing the Use Up: 3 More ... Previous: 3.1 Shimming via Spectrum
Back to Home Page