VIM seems integrated to the terminal. Can I open a remote file from the command-line with netbeans? Does it have shell integration? Any further explanation on this so I can better conceptually understand it would be very appreciated.
views:
55answers:
3
+2
A:
Yes, you can, providing certain conditions are met!
Using ssh, you can tunnel the display of X-Window applications, meaning you can run the application (the X-Client) on one machine, and have it display on another (the X-Server).
You'll need to launch ssh with the -X option (or -Y, but preferably -X) to allow tunnelling, and then run NetBeans from the commandline as usual:
netbeans MyFile.java
Jeremy Smyth
2010-01-18 19:22:48
+1
A:
Read about X-forwarding. The link points to a very verbose and detailed howto/tutorial.
Kornel Kisielewicz
2010-01-18 19:22:51
+2
A:
Few options:
- Using ssh -X to forward X. Then you can start netbeans remotely.
- Use sshfs so you mount the remote filesystem locally over ssh. You can use then local copy of netbeans to work on remote files.
- Using rsync to have a local copy
- The best one - use version control
Sunny
2010-01-18 19:24:10