Hi Masataka,
do you have a X server running on Windows? It works for me with Cygwin
with installed X and GL libraries (but it's not very convenient because
quite slow).
ssh -Y linuxserver
pymol
If pymol is set up on that linux server correct and runs there by just
typing "pymol", it should as well from an X-forwarded ssh connection. No
need to export variables. Don't use the -R and -display arguments.
Cheers,
Thomas
grantaka36 wrote, On 10/14/11 07:35:
> Dear list members,
>
> Would you please tell me the way, how to activate pymol from remote
> server? i.e. how to start pymol in [S] by scripting from [C]
>
> ------------------------------
> - From Windows client [C], SSH2 logging in to the remote server [S]
> (Linux x64, Ubuntu 10)
> - [S]
> -- installed PyMOL 1.2 r2, PATH includes '/usr/bin/pymol' so only
> 'pymol' entering enable to activate pymol GUI
> -- 'python' returns
> -- Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
> -- [GCC 4.4.5] on linux2
> - [C]
> -- first trying the following:
> PYMOL_PATH=/usr/bin/pymol
> HOST_ID=`uname -n`
> pymol -R -display:${HOST_ID}:0.0
> -- returns:
> Traceback (most recent call last):
> File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
> File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
> exec code in run_globals
> File "/usr/lib/pymodules/python2.6/pymol/__init__.py", line 495, in <module>
> invocation.parse_args(pymol_argv)
> File "/usr/lib/pymodules/python2.6/pymol/invocation.py", line 251,
> in parse_args
> options.stereo_mode = int(av.pop())
> IndexError: pop from empty list
> ------------------------------
>
> By referring,
> http://www.pymolwiki.org/index.php/Launching_PyMOL#Launching_PyMOL_from_an_external_application
>> If PYMOL_PATH, LD_LIBRARY_PATH, and TCL_LIBRARY are correctly defined, then
>> you can launch PyMOL from an external Python program
> But I don't know which path to designate LD_LIBRARY_PATH and TCL_LIBRARY
>
>
> Regards,
> Masataka
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
------------------------------------------------------------------------------
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 ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]