***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


Hi Randy,

I can say the same thing as Clemens about VNC for connecting a Linux server with a Windows client. I use the free viewer from www.realvnc.com ; vncserver is part of the RHEL4 distro. At home I have a 768 kb/sec link (128 uplink), and since switching to VNC from ssh -C it almost feels like sitting in front of the machine at my workplace - ccp4i is a breeze, and I can even use mozilla-mail .

VNC can use a ssh tunnel so it's really secure, and thus does not require to open up ports across the firewall.

Don't know if VNC exists for the Mac, though.

HTH,

Kay

Clemens Vonrhein wrote:

***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


Hi Randy,

I'm a convert to NX/FreeNX now completely: by opening a ssh tunnel to
your lab-machine you are then able to open a window on your home
computer that has a complete desktop in it. And it uses some very
fancy compression methods ... don't ask me what.

Sitting at home with a 1MB line (half the speed of what you have) it
feels like sitting on the remote computer. Absolutely incredible
... at least to me (remembering the slow ssh -X connections, with or
without -C). you can even integrate images with the normal MOSFLM
running on the remote computer.

Have a look at

  http://www.nomachine.com/
  http://freenx.berlios.de/

Cheers

Clemens

On Mon, Jul 03, 2006 at 04:17:16PM +0100, Randy Read wrote:

***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


I just thought I would pass on a trick that Paul Adams and Nigel Moriarty pointed out recently. That was in the context of the Phenix interface, but it applies equally to ccp4i.

If you've ever tried to run ccp4i over the network using ssh and X forwarding, you might have been discouraged by how slow it becomes, particularly with anything less than the fastest connections. I had almost given up on running ccp4i when connecting from home via broadband (2Mb connection, which is fast enough for most other things).

Nigel looked into this problem and found out that the speed of X forwarding can be increased dramatically by turning on compression when running ssh (using the -C flag). Perhaps this is no news to many of you, but I had certainly missed that flag in the documentation. As an illustration of the size of the effect, it takes 260 seconds to open the Phaser molecular replacement GUI without the -C flag on my home connection, but only 33 seconds with the -C flag. Still slow, but bearable.

On either an iBook running OSX 10.3 or a laptop running Fedora Core 4, the command I use to connect is:

ssh -X -C [EMAIL PROTECTED]

The -X flag may not be required, depending on the setup, but says to turn
on X forwarding. Paul Adams says that this doesn't work for some connections, in which case replacing "-X" by "-Y" might work. This turns off some security checks and may get around firewall issues.

Presumably there are equivalent flags when connecting from non-Unix-based machines, but I don't have an X client on my Windows machines; perhaps someone else can comment.

--

Randy J. Read
Department of Haematology, University of Cambridge
Cambridge Institute for Medical Research      Tel: + 44 1223 336500
Wellcome Trust/MRC Building                   Fax: + 44 1223 336827
Hills Road                                    E-mail: [EMAIL PROTECTED]
Cambridge CB2 2XY, U.K.                       www-structmed.cimr.cam.ac.uk






--
Kay Diederichs              http://strucbio.biologie.uni-konstanz.de
email: [EMAIL PROTECTED]  Tel +49 7531 88 4049 Fax 3183
Fachbereich Biologie, Universität Konstanz, Box M647, D-78457 Konstanz

Reply via email to