I came across an announcment [1] of a Subversion plugin for Eclipse [2]. I'd love to see one for jEdit. It's written using svnup [3], so a jEdit plugin should be possible - maybe as a VFS?
| [1] | http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=38418 |
| [2] | http://subclipse.sourceforge.net |
| [3] | http://svnup.tigris.org/ |
Saved Friday, June 06, 2003 at 07:51 PM
Taken from this week's Gentoo Linux Newsletter [4].
| [4] | http://www.gentoo.org/news/en/gwn/20030602-newsletter.xml |
Code listing 9.1: Local machine:
// This command allows the machine with the IP 192.168.1.3 to connect # xhost +192.168.1.3
On the remote machine, you need to export the $DISPLAY variable to your local machine. After that, you should be ready to run GUI programs remotely.
Code listing 9.2: Remote machine:
# export DISPLAY="192.168.1.2:0.0" # gvim /etc/passwd // You should see gvim open on your local machine with the contents // of the remote machine's /etc/passwd file.
Note
This is very unsecure and not recommended since everything you type including passwords will be transmitted over the network unencrypted.
To tunnel the connection over SSH and thus encrypt the traffic edit your /etc/sshd2_config file.
Code listing 9.3: /etc/sshd2_config:
// Add or edit the following line ForwardX11 yes
Now connect from the local machine to the remote machine via ssh and start your X application.
Code listing 9.4: Remote machine:
# gvim /etc/passwd // You should see gvim open on your local machine with the contents // of the remote machine's /etc/passwd file.
Notice that you don't have to set the DISPLAY variable, ssh automagically does that for you. You do however have to allow access to your local machine's X server (see above).
Saved Friday, June 06, 2003 at 07:47 PM
View June, 2003, latest entries, or archive <../../../archive.html>