# Plotting while working with VS Code remote - ssh

**URL:** <https://discourse.julialang.org/t/plotting-while-working-with-vs-code-remote-ssh/34309>\
**Category:** VS Code\
**Created:** [February 7, 2020, 4:33pm UTC](https://discourse.julialang.org/t/plotting-while-working-with-vs-code-remote-ssh/34309 "2020-02-07T16:33:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![zekeriya.sari](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zekeriya.sari/32/13695_2.png) [@zekeriya.sari](https://discourse.julialang.org/u/zekeriya.sari)\
**Post date:** [May 7, 2020, 7:21pm UTC](https://discourse.julialang.org/t/plotting-while-working-with-vs-code-remote-ssh/34309/6 "2020-05-07T19:21:31Z")

</div>

Here is the case. I had the same type of errors that you posted. Even though I installed qt5-default, I had to add `ENV["GKSwstype"] = "100"` in my `startup.jl` file, and the problem disappeared. May be you can try the second step.

> [@Gks Error When Plotting in VS Code](https://discourse.julialang.org/t/gks-error-when-plotting-in-vs-code/36618/11):
>
> Setting ENV["GKSwstype"] = "100" (in startup.jl to avoid setting all the time Julia is launched) solved the problem. Now nothing wrong with using GR as a backed of Plots in VSCode.

Edit: Of course the library `libQt5Widgets.so` must be on the system.

---

_[View the full topic](https://discourse.julialang.org/t/plotting-while-working-with-vs-code-remote-ssh/34309)._
