Math Resolutions, LLC

www.MathResolutions.com

Software Products for the Radiological Sciences

  Search  

Home Page Product Review Program Manuals Download Programs Purchase Site Map
Dosimetry Check VGRT RtDosePlan System 2100 MillComp C++ Library

Windows Client for Linux System Server


Install openssh-server package on linux server

On the linux system you must have the openssh-server package installed. To check that the "openssh-server" package is installed on the Ubuntu system and that it is listening on port 22, run the command in a terminal window:

$ sudo netstat -ltnp | grep 22

Install cygwin on Windows client

On the Micrsoft Windows system, you must install cygwin, which you can download from www.Cygwin.com You can take the default download, but must in addition select components to get cygwin/X: Under X11 select the xinit and xorg_server packages. Under Net select the openssh package. Below is a picture of the window where you select the packages. Click the mouse on the little plus sign inside the little box to open up each list. Then scroll through the list (each is in alphabetical order) and select the package to install. Select a package by clicking on the little circle with the arrows.



See the Cygwin/X page and in particular the instructions for downloading Cygwin/X from the Cygwin/X User's Guide for complete documentation.

Running Linux Program from Windows Client

On the Windows client you must run the script:
c:\cygwin\bin\startxwin.bat
You can do this by opening a cygwin terminal window by clicking on the cygwin icon on your desktop, and then type the command:
startxwin.bat

You will get an X terminal window:



In the X terminal window type the command:

ssh -X login_name@IP_Address

Where login_name is the login user name on the linux server, and IP_Address is the IP address of the linux system on your local area network. You will be prompted for the password to log in. Once logged in, simply run the programs you want to run. For example, for DosimetryCheck run:
./DosimetryCheckTasks
The programs will popup on your Windows desktop. When done, type exit to close the X term window on your Windows client.

To make this more convenient, make a copy of startxwin.bat file and give it a new name and put it in your home directory. Edit the file and comment out the line that launches the terminal window. Replace that line with:
echo ./DosimetryCheckTasks | ssh -X login_name@IP_address
You can than create a short cut to this batch file and run it from an icon on your desktop.

You can download the bat file you will need here, in the winzip file:
DCLinuxServer.zip
Extract the two files RunDcLinux.bat and dcchk.ico to the working directory on the client. But you have to edit the line shown above to put in the correct login-name and the IP address. Right click on your desktop and go to New and select Short cut. Select RunDcLinux.bat to run and select dcchk.ico as the icon.
When you use the short cut, you will be prompted for the password and then DosimetryCheckTasks will be launched.

Settings to make on your Windows client

We recommend you select to NOT show contents of Windows while moving them so as not to cause a cascade of redraw events should you drag any window across the application. On Windows XP go to Control Panel, select "Display", then "Appearance", then "Effects", and unclick "Show window contents while dragging".

On Vista select "Personalize Appearance and Sounds" from the control panel, then at the bottom select "Open classic appearance properties for more color options", select "Appearnce" on "Appearance Settings", then select "Effects" and toggle off "Show window contents while dragging".


Return to homepage

Math Resolutions, LLC
5975 Gales Lane, Columbia, MD 21045
Telephone (410) 997-9578
support@MathResolutions.com
© copyright 2001 by Math Resolutions, LLC