Department of Mathematics

Math 300: Mathematical Computing


For the purpose of this ICE we suppose that you are logged into a Windows machine called "local", and that you use ssh to log into another machine called "remote". We assume that your account name on the remote machine is "username". You will need to substitute the actual computer and user names for those names in all commands given below.

  1. Log into local
  2. Start an ssh session to remote from local
    • Start Putty
    • If you don't have Putty installed, get it at, and save it to your "U: drive". Then double-click it in explorer to start.
    • The machine that will be most useful to you is pingora.
    • Make sure in Putty that you specify an ssh session - not telnet!
  3. Capture the image of one of your windows on local
    • Click the window to give it the focus
    • Press <alt>+<prt scr>
  4. Save the image as a bitmap
    • Open paint: Start->Programs->Accessories->Paint
    • Press <ctrl>+v to paste the image (or use Edit->Paste).
    • Save the image on your "U: drive" as junk.bmp
    • Notice how large it is.
  5. Copy that image to remote
    • Start a shell: Start->Programs->Accessories->Command Prompt
    • Type "U:" to get to your U partition
    • Type scp -l username junk.bmp
  6. Start the X server on local
    • Click Start->Programs->X-Win 5.1->X-Win 5.1
    • Press the <esc> key to get rid of the "session" window
  7. Start nautilus on remote
    • Nautilus is a desktop manager, rather like explorer in Windows
    • First tell remote where to send graphic output:
      export DISPLAY=local:0
    • From your Putty window, type "nautilus"
    • Note that you get a file manager and a desktop, but no panel.
  8. Convert the image on remote
    • Locate the image in the file manager
    • Double-click the image icon to view it.
    • Click the button labeled "View in Gimp"
    • Right-click the image that results to get a menu
    • Click File->Save As
    • Save the image as junk.jpg
    • Take defaults on all subsequent dialog boxes.
    • Note how much smaller the jpg image is than the bmp
  9. Copy the jpg image back to local
    • In the shell on local, type
    • scp -l username junk.jpg

Assignment 7 is posted.

A solution to the exam has been posted.

Department of Mathematics, PO Box 643113, Neill Hall 103, Washington State University, Pullman WA 99164-3113, 509-335-3926, Contact Us
Copyright © 1996-2015 Kevin Cooper