Programming from home to the lab?

In summary, the programmer wants to write the programs at home, but does not have the appropriate hardware. They are considering using a VNC server, but it is not likely to work. They are also considering using a Cygwin SSHD to forward graphical applications.
  • #1
nbo10
419
5
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
 
Technology news on Phys.org
  • #2
  • 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.
 
  • #3
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.
 
  • #4
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.
 
  • #5
That's real practical. Why doesn't he just get a really long ethernet cable and hook the two computers up directly
 
  • #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 don't want to have to spend more countless hours in lab than I have too.

JMD
 
  • #7
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:
  • #8
graphic7 said:
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.

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.
 
  • #9
Can a Cygwin SSHD forward Windows applications (without the use of VNC), though?
 
  • #10
graphic7 said:
Can a Cygwin SSHD forward Windows applications (without the use of VNC), though?

Not that I know of.
I use VNC through SSH to access my remote Windows desktop.
 
  • #11
Ah, that's what I was thinking.

He could always rewrite his application to use X11 instead. :frown:
 
  • #12

FAQ: Programming from home to the lab?

How can programming be done from home to the lab?

Programming from home to the lab can be done using remote access tools such as virtual private networks (VPNs) or remote desktop applications. These tools allow you to connect to the lab computers and access the necessary programming software.

Are there any specific requirements for programming from home to the lab?

Yes, there are a few requirements for programming from home to the lab. You will need a stable internet connection, a computer or laptop, and access to the necessary software or tools required for your programming tasks.

Is it safe to transfer data from home to the lab while programming?

Yes, it is safe to transfer data from home to the lab while programming. As long as you are using a secure connection, such as a VPN, your data will be encrypted and protected from unauthorized access.

Can multiple people program from home to the lab at the same time?

Yes, multiple people can program from home to the lab at the same time. As long as each person has their own login credentials and access to the necessary software, they can work simultaneously on different tasks.

What are the advantages of programming from home to the lab?

Programming from home to the lab offers several advantages, such as increased flexibility and convenience. It also allows for collaboration with colleagues who may not be physically present in the lab and can save time and resources by eliminating the need for commuting.

Similar threads

Replies
6
Views
3K
Replies
13
Views
5K
Replies
9
Views
1K
Replies
1
Views
2K
Replies
18
Views
4K
Back
Top