Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Programming from home to the lab?

  1. Aug 26, 2004 #1
    programming from home to the lab???

    Hi all,
    I'm using microsoft studio to develop a few programs that I use in lab to run various experiments. I want to write the programs at home, but I don't have the hardware on my home pc. I'm using XP, and wonder if there is a way I can log into a machine in my lab, copy the app to that computer and then run the app. It's a window app with a gui so I can't just telnet. I ahve broadband on both computers so bandwidth isn't a problem. Any Ideas?? Thanks

    JMD
     
  2. jcsd
  3. Aug 26, 2004 #2

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    • Remote Desktop (assuming the lab pc runs Win XP)
    • VNC (possibly using SSH tunneling)
    If the lab pc is behind a firewall, you might have to open some ports.
     
  4. Aug 27, 2004 #3

    dduardo

    User Avatar
    Staff Emeritus

    What programming language are you specifically using. If it is C/C++ you should just get a copy of Bloodshed's Dev-C++. It's opensource software, therefore it is free it use.

    The likelyhood of doing VNC is almost silm to none. You'll need to run a server all day on the lab computer and most likely they've locked down the services that can run.
     
  5. Aug 27, 2004 #4

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    If the lab pc's ports are blocked by a firewall, you might try this low-tech approach.
    Connect a lab phone-line to a modem on the lab-computer and call it from home. I'm not clear on how networking will work via modem... but I would think it should work. Remote Desktop or VNC will probably be sluggish, but it might be okay if you are patient and do not require a crisp desktop image. It may help to reduce the resolution and color-depth of the lab pc.

    Maybe aspects of the development (which do not require the lab pc's hardware) can be done at home. Then, transfer the program to the lab pc. Then, use Remote Desktop or VNC to execute the program.
     
  6. Aug 27, 2004 #5

    dduardo

    User Avatar
    Staff Emeritus

    That's real practical. Why doesn't he just get a really long ethernet cable and hook the two computers up directly :yuck:
     
  7. Aug 27, 2004 #6
    I'm going to give the remote desktop a try. I can do most of the programming at home but at some point I need to make sure the code for the hardware works, I just dont want to have to spend more countless hours in lab than I have too.

    JMD
     
  8. Aug 27, 2004 #7

    graphic7

    User Avatar
    Gold Member

    Any chance he could run an SSH server and do some sort of forwarding? I know OpenSSH only supports X11 applications, but a more propiertary SSH might support forwarding graphical Win32 applications.
     
    Last edited: Aug 27, 2004
  9. Aug 27, 2004 #8

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    I use cygwin's sshd. Using the PuTTY client, I get ssh access, scp file transfer, and forwarding of VNC and X... all through one open port.


    Concerning modem-access to an office computer, my advisor used that technique since he didn't have broadband at home and the university dial-up lines were time-limited.
     
  10. Aug 27, 2004 #9

    graphic7

    User Avatar
    Gold Member

    Can a Cygwin SSHD forward Windows applications (without the use of VNC), though?
     
  11. Aug 27, 2004 #10

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Not that I know of.
    I use VNC through SSH to access my remote Windows desktop.
     
  12. Aug 27, 2004 #11

    graphic7

    User Avatar
    Gold Member

    Ah, that's what I was thinking.

    He could always rewrite his application to use X11 instead. :frown:
     
  13. Nov 15, 2005 #12
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Programming from home to the lab?
Loading...