LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2009, 12:48 PM   #1
emma_p
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
installing linux for remote access programming


I have an old desktop computer that I'm looking to install linux on solely to run fortran 90 and C++ programs. The plan is to remotely access
this desktop from my laptop (windows vista). What is the best way to do this? I have used linux a few times for programming (using emacs, gfortran, pgplot and starlink I think) but have never installed it before. What is the best linux to get and what do I need to get and do to make this work?

Thanks
 
Old 06-18-2009, 02:46 PM   #2
jhcaiced
Member
 
Registered: Mar 2009
Distribution: CentOS - Ubuntu - Debian
Posts: 83

Rep: Reputation: 27
Hi,

If you need to do development in Linux but are forced
to run Windows, I would suggest a different approach.

If your laptop has enough memory and disk you can
run Linux as a guest OS using something like
VirtualBox (other solutions exists), that way
you run Windows and Linux at the same time.

A virtual machine with 512Mb and 10-20Gb for
running Linux should be enough for basic needs.

The access to the Linux machine can be made through the
console or through network using ssh or even ssh+X11+XMing
which allow to run X11 applications.
 
Old 06-18-2009, 03:37 PM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
It may depend on how lame (lack of ram, etc.) that old computer is.

With a decent Linux system, you can install cygwin on the Windows system, including the xwin program from cygwin, then use xwin on Windows to open a full Linux desktop as a window on your Windows desktop. I'm not sure what exactly you must install on the Linux side to accept X Windows connections, but if that is your plan, I'm sure many people here do know exactly what you should install.

For a less powerful Linux system (or a slower hardware link between the two systems, your much better of with putty). Again, the best start is to install cygwin on the Windows side and include putty in that cygwin install. Putty lets you open a Linux command window as a window on you Windows system. It is a lot faster and lower overhead than xwin.

Putty is good for compiling Linux programs, running Linux console apps and many other Linux tasks. It may be pretty lame for editing the source code (depending on what you like in an editor). You could install Samba on the Linux side and make your work directory in Linux accessible as a share in Windows, then use any Windows text editor you like.

Be aware that most Windows text editors work only with Dos carriage control (a CR before each NewLine). The compiler won't care if those CR's are in your source files, but you probably also want to edit Linux script files. Those will mess up with CR characters. You could use a Windows editor (such as emacs) that can be told to respect Linux carriage control, or you can use the dos2unix program to strip the CR's after editing script files.

You may also need to ask a follow up question of what to install/configure on the Linux side to accept ssh connections from putty.

Last edited by johnsfine; 06-18-2009 at 03:41 PM.
 
Old 06-18-2009, 03:39 PM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Oops. Pressed Quote instead of Edit on my own post and saved before I noticed.
 
Old 06-19-2009, 02:22 PM   #5
emma_p
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks jhcaiced but my programs tend to run for a few days at a time so running them on my laptop isn't viable.

The old computer isn't too bad, 1GB of ram, plenty of space and ok processing speed so I think it could handle johnsfine's first idea. So I'm going to sort out getting ubuntu perhaps (I've played around with it before and it's alot nicer than using the awful uni linux servers.) unless anyone can suggest a better one for just writing and running programs (n-body sims mainly)

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Installing Fedora on any remote Linux system with no physical access. halo14 Fedora 1 11-05-2008 03:08 AM
On-demand remote access for Linux? beer.h Linux - Desktop 2 01-13-2007 11:36 PM
Remote access of Linux from XP ArchW Linux - General 6 03-05-2006 11:12 PM
windows remote access to linux how? pete_g Linux - Software 4 05-01-2004 01:30 PM
Remote access to linux without x installed Jestrik Linux - Networking 2 12-25-2003 01:44 AM


All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration