# GLMakie remote animations through ssh

**URL:** <https://discourse.julialang.org/t/glmakie-remote-animations-through-ssh/109270>\
**Category:** New to Julia\
**Tags:** makie, glmakie\
**Created:** [January 25, 2024, 6:15pm UTC](https://discourse.julialang.org/t/glmakie-remote-animations-through-ssh/109270 "2024-01-25T18:15:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lpv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lpv/32/206528_2.png) [@lpv](https://discourse.julialang.org/u/lpv)\
**Post date:** [January 25, 2024, 6:15pm UTC](https://discourse.julialang.org/t/glmakie-remote-animations-through-ssh/109270/1 "2024-01-25T18:15:54Z")

</div>

Hello!

I am trying to create an animation with the results from a simulation remotely through “ssh -X”. When doing locally, it is quite fast. Through the ssh, it get extremely slow. It would be easier for me to simply get the resulting “.mp4”.

Is it possible to create the plot through the ssh on the remote machine, without sending it back? To keep the communication between computers just on the minimum as possible and then simply exporting the final file.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![stillyslalom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stillyslalom/32/45687_2.png) [@stillyslalom](https://discourse.julialang.org/u/stillyslalom)\
**Post date:** [January 25, 2024, 7:11pm UTC](https://discourse.julialang.org/t/glmakie-remote-animations-through-ssh/109270/2 "2024-01-25T19:11:55Z")

</div>

I haven’t tried this myself, but you might be able to copy what GLMakie does for CI using a virtual (in-memory) framebuffer with xvfb-run: [Makie.jl/.github/workflows/reference\_tests.yml at 5c8d07c6a48e294f1fff1ea4b8a6d27bbb10e933 · MakieOrg/Makie.jl · GitHub](https://github.com/MakieOrg/Makie.jl/blob/5c8d07c6a48e294f1fff1ea4b8a6d27bbb10e933/.github/workflows/reference_tests.yml#L99)

I’ve also used Pluto/PlutoUI controls with Makie observables to handle interactive animations over slow/flaky connections, but that might be too big a change to your workflow.

---

<div class="post-metadata">

**Author:** ![lpv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lpv/32/206528_2.png) [@lpv](https://discourse.julialang.org/u/lpv)\
**Post date:** [January 25, 2024, 9:58pm UTC](https://discourse.julialang.org/t/glmakie-remote-animations-through-ssh/109270/3 "2024-01-25T21:58:42Z")

</div>

Thank you very much! This indeed sped up quite a bit the whole process!

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [January 25, 2024, 10:26pm UTC](https://discourse.julialang.org/t/glmakie-remote-animations-through-ssh/109270/4 "2024-01-25T22:26:27Z")

</div>

You could also try WGLmakie, but maybe that has other performance problems in your setup
