[gmx-users] problem in ngmx

Jussi Lehtola jussi.lehtola at helsinki.fi
Sat Jun 13 14:20:21 CEST 2009

On Sat, 2009-06-13 at 17:34 +0530, Manik Mayur wrote:

>                 Seems like your X environment is somehow not properly
>                 configured.
> If you are working through ssh, then you can :
> $export DISPLAY=<your current computer's ip>:0.0

Ugh, that's the archaic, telnet epoch way of doing it. It doesn't work
on modern *nix systems for a number of good reasons:

-  there is no client-host authentication as to who gets access to your
X server, anyone can send a window and e.g. log everything you type in
your keyboard, including all of your bank accounts and passwords.

- there is no encryption, so anybody could tap into the connection. 

- the ports are likely blocked by firewalls.

Windows X servers (WinaXe for example) might still ask you whether to
accept such a connection, but really, DON'T USE THIS!

As Florian said, one just needs to use
 $ ssh -X server
This way everything is tunneled through SSH, it uses client-host
authentication, works on every system, can be easily tunneled,
can be compressed on slow connections (pass the -C option) and so on.
Jussi Lehtola, FM, Tohtorikoulutettava
Fysiikan laitos, Helsingin Yliopisto
jussi.lehtola at helsinki.fi, p. 191 50632
Mr. Jussi Lehtola, M. Sc., Doctoral Student
Department of Physics, University of Helsinki, Finland
jussi.lehtola at helsinki.fi

More information about the gromacs.org_gmx-users mailing list