hi masataka

> > >> how to activate pymol from remote server?
> > >> i.e. how to start pymol in [S] by scripting from [C]

assuming your laptop and remote-machine is X11 capable:

        - you can use ip# 

        or by name
        - www.remote-machine.com  if your dns/hosts files is setup right

laptop# xhost +remote-machine

laptop# ssh -l loginName  remote-machine

login@remote-machine# export DISPLAY=laptop:0.0
login@remote-machine# xterm             - see if it works
login@remote-machine# pymol

> > I wonder, if even in this case X-forwarding is needed.

yes .. many different ways to do that

> > | freeglut (pymol): failed to open display ''
> > | PyMOL: abrupt program termination.

the machine you intend to run pymol will need all
the supporting libraries ...

> > | $ gedit (one shell script).sh
> > | (gedit:3887): Gtk-WARNING **: cannot open display:

you need to define DISPLAY environment variables on
the remote machine and also allow it to export and display
on your (local) laptop
        - some folks consider this "dangerous" but 
        it does help to get work done ...  just be careful
        ( always use ssh ... NOT telnet or other un-encrypted sessions )

> > | $ grep X11Forwarding /etc/ssh/sshd_config
> > | X11Forwarding yes

that is NOT sufficient...

the environment variable DISPLAY must also be defined
explicitly or defined with ssh login command

have fun
alvin

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to