# WGLMakie via SSH

**URL:** https://discourse.julialang.org/t/wglmakie-via-ssh/102042
**Category:** General Usage
**Tags:** makie, wglmakie, ssh
**Created:** [July 24, 2023, 9:30pm UTC](https://discourse.julialang.org/t/wglmakie-via-ssh/102042 "2023-07-24T21:30:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lassepe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lassepe/32/10050_2.png) [@lassepe](https://discourse.julialang.org/u/lassepe)
#### Post date: [July 24, 2023, 9:30pm UTC](https://discourse.julialang.org/t/wglmakie-via-ssh/102042/1 "2023-07-24T21:30:11Z")

</div>

Does anyone here have a working setup for remote plotting with WGLMakie via ssh? Thus far, I have used GLMakie with x-forwarding for this purpose but (i) it is slow and (ii) it crashes when the tmux session is detached between two plots.

I would hope that I can render things using WGLMakie on the ssh server and then open the plot on the ssh client using `<my-remote-server-ip>:9384` from my local machine. However, upon invoking, say, `WGLMakie.scatter([1])` on the remote, it directly spawns a browser window on the _remote_ and shows the plot via x-forwarding. Instead, I would like the remote to “remain headless” and wait for an external connection; then render only on my local machine.

Is this possible with WGLMakie or would you recommend another solution for (interactive) plotting in such a setup?
