# Plotting on remote server

**URL:** https://discourse.julialang.org/t/plotting-on-remote-server/82968
**Category:** General Usage
**Tags:** question, plotting
**Created:** [June 18, 2022, 12:47pm UTC](https://discourse.julialang.org/t/plotting-on-remote-server/82968 "2022-06-18T12:47:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mahmoud](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Mahmoud](https://discourse.julialang.org/u/Mahmoud)
#### Post date: [June 18, 2022, 12:47pm UTC](https://discourse.julialang.org/t/plotting-on-remote-server/82968/1 "2022-06-18T12:47:04Z")

</div>

I am runnging my code on supercomputer server and I always receive this error

```julia
Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display localhost:11.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

connect:

```

my code generates the animated JIF successfully only for small values and failed for larger values with same error appear in both cases and file size is too big  
this is my code

```julia
anim = @animate for ist in 1:Nsteps
        scatter([Person[i]["x"] for i in 1:Npopulations], [Person[i]["y"] for i in 1:Npopulations],legend=false, color = [Person[i]["color"] for i in 1:Npopulations])
        end
gif(anim, "anim_0.1_Prob.gif", fps = 10)

```
