mailing-list for TeXmacs Users

Text archives Help


Using Cocalc remote plugins: Can we run remote plugins without X-session?


Chronological Thread 
  • From: "Adrian S." <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Using Cocalc remote plugins: Can we run remote plugins without X-session?
  • Date: Mon, 30 Sep 2019 17:03:30 -0500

In Cocalc (Formerly known as sagemath cloud or salvus), many plugins are available, as shown by the command

xvfb-run texmacs -s -x "(write-local-plugin-info)" -q

The problem is that, for example, in the file tm_plugins from the local computer calls the remote one, it runs the command 
         (rcmd "texmacs -s -x \"(write-local-plugin-info)\" -q")
which requires in the server access to an x-server. I do not know how to make the server in cocalc use a fake server. But I think maybe requiring texmacs not to need an x-server for these operations or running instead in the server, for example,
(rcmd "xvfb-run texmacs -s -x \"(write-local-plugin-info)\" -q")

would work. However, I cannot modify the code in the server side, since they compile it directly.

Thus, is it possible to have the remote access to plugins not to need an x-server?

I think that, for example, this would add many plugins by having access to the internet.

I understand that some plugin capability would be limited, specially if the plugin requires an x-session.

Any thoughts?

-Adrian.



("/usr/lib/x86_64-linux-gnu/TeXmacs/bin:/home/user/bin:/cocalc/bin:/cocalc/src/smc-project/bin:/home/user/bin:/home/user/.local/bin:/ext/bin:/usr/lib/xpra:/opt/ghc/bin:/usr/local/bin:/usr/bin:/bin:/ext/data/homer/bin:/ext/data/weblogo:/ext/intellij/idea/bin:/ext/pycharm/pycharm/bin:/usr/lib/postgresql/10/bin" (("asymptote" "default" "python /usr/share/TeXmacs/plugins/tmpy/session/tm_asy.py") ("axiom" "default" "tm_axiom") ("coq" "default" "tm_coq") ("dratex" "default" "tm_dratex --texmacs") ("feynmf" "default" "tm_feynmf --texmacs") ("giac" "default" "giac --texmacs") ("gnuplot" "default" "python /usr/share/TeXmacs/plugins/tmpy/session/tm_gnuplot.py") ("graph" "default" "python /usr/share/TeXmacs/plugins/tmpy/session/tm_graph.py") ("lisp" "default" "tm_lisp Clisp") ("macaulay2" "default" "M2 --texmacs") ("maxima" "default" "tm_maxima 5.42.2 ecl") ("octave" "default" "tm_octave") ("pari" "default" "gp --texmacs") ("python" "default" "python /usr/share/TeXmacs/plugins/tmpy/session/tm_python.py") ("r" "default" "tm_r") ("sage" "default" "sage -python /usr/share/TeXmacs/plugins/tmpy/session/tm_sage.py") ("scilab" "default" "scilab --texmacs -f \"/usr/share/TeXmacs/plugins/scilab/bin/init-scilab.sce\"") ("shell" "default" "tm_shell") ("xypic" "default" "python /usr/share/TeXmacs/plugins/tmpy/session/tm_xypic.py") ("yacas" "default" "yacas --texmacs")) (("gnuplot" . "Gnuplot") ("maxima" . "Maxima") ("octave" . "Octave") ("yacas" . "Yacas") ("dratex" . "Dratex") ("r" . "R") ("giac" . "Giac") ("python" . "Python") ("pari" . "Pari") ("xypic" . "XYpic") ("macaulay2" . "Macaulay 2") ("asymptote" . "Asymptote") ("lisp" . "Lisp") ("axiom" . "Axiom") ("scilab" . "Scilab") ("feynmf" . "Feynmf") ("sage" . "Sage") ("coq" . "Coq") ("shell" . "Shell") ("graph" . "Graph")) (("gnuplot" . "Gnuplot") ("maxima" . "Maxima") ("r" . "R") ("python" . "Python") ("pari" . "Pari") ("asymptote" . "Asymptote") ("sage" . "Sage")))



Archive powered by MHonArc 2.6.19.

Top of page