LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2015, 06:37 AM   #1
alwaystudent
LQ Newbie
 
Registered: Jun 2015
Posts: 10

Rep: Reputation: Disabled
Work on a remote project with Eclipse via SSH and SVN+SSH (2 remote Linux)


I have the following boxes:

a) A Windows box with Eclipse CDT(or PTP)

b) A Linux box,including Compiler, accessible for me only via SSH.

c) A Linux box, including SVN Source, accessible for me only via SSH

Both the compiler and the hardware required to build and run my project is only on machine B.

I'd like to work "transparently" from a Windows box on that project using Eclipse CDT -or PTP - and be able to build, run and debug the project remotely from within the IDE.

How do I set up that:

The building will work? Any simpler solutions than writing a local makefile which would rsync the project and then call a remote makefile to initiate the actual build? Does Eclipse managed build have a feature for that? The debugging will work? Preferably - the Eclipse CDT -or PTP-code indexing will work? Do I have to copy all required header files from machine B to machine A and add them to include path manually?
 
Old 08-11-2015, 04:10 PM   #2
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora, Raspbian, Ubuntu via Chrome/Crouton
Posts: 370

Rep: Reputation: 50
Can you:

a) A Windows box with Eclipse CDT(or PTP)
  • Install an X server (i.e. Xming, etc) on the windows box a and ssh -X to the Linux box b. Run the Eclipse IDE from b
  • Run samba on b and access files on b via shared files.
  • Start VNC server on b and access Eclipse on b from a using VNC client
b) A Linux box,including Compiler, accessible for me only via SSH.
  • Try to ssh -X back to Windows
  • Try to VNC back to windows
c) A Linux box, including SVN Source, accessible for me only via SSH
  • remote check out from c to b using Eclipse on b. Eclipse on b accesses via ssh -X or VNC.
 
Old 08-11-2015, 07:17 PM   #3
alwaystudent
LQ Newbie
 
Registered: Jun 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
@pwalden: the problem is "How to setup Eclipse... " , because I can do that by putty sessions an vi terminals ,but I need to get the ability of IDE
 
Old 08-11-2015, 11:00 PM   #4
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora, Raspbian, Ubuntu via Chrome/Crouton
Posts: 370

Rep: Reputation: 50
Quote:
Originally Posted by alwaystudent View Post
@pwalden: the problem is "How to setup Eclipse... " , because I can do that by putty sessions an vi terminals ,but I need to get the ability of IDE
Install Eclipse on (b), then use VNC on (a) to access it. You do not need to install Eclipse on (a).
 
Old 08-12-2015, 12:08 AM   #5
alwaystudent
LQ Newbie
 
Registered: Jun 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
@pwalden: we don't have permission to install Eclipse on B, we don't have write access to /usr/{lib,bin} on B. B is a server but A is personal computer.

Last edited by alwaystudent; 08-12-2015 at 12:10 AM.
 
Old 08-12-2015, 11:40 AM   #6
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora, Raspbian, Ubuntu via Chrome/Crouton
Posts: 370

Rep: Reputation: 50
Quote:
Originally Posted by alwaystudent View Post
@pwalden: we don't have permission to install Eclipse on B, we don't have write access to /usr/{lib,bin} on B. B is a server but A is personal computer.
I am not a big Eclipse user nor am I a big Windows fan, however, Eclipse is going to at least expect filesystem access to the source code. You can try to use something like win-sshfs to mount (c)'s files to your Window system.

You may also be able to configure Eclipse to use ssh to invoke the compiler on (b). Use ssh-keygen to generate a ssh key to allow password-less execution.
 
  


Reply

Tags
c++, eclipse, ssh, svn


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
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 35 10-23-2017 12:21 AM
[SOLVED] SSH remote login will not work Eahil Linux - Networking 14 12-07-2013 05:27 PM
Remote start of code via ssh does not work alex170872 Linux - Newbie 4 12-11-2012 02:35 AM
[SOLVED] SSH remote command: Pipe remote output to local machine? kenneho Linux - Server 6 12-06-2012 01:37 AM
How does ssh remote login work? kamrinjacobs Linux - Networking 3 02-24-2010 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:02 AM.

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