# Deactivate plot display to avoid need for X server

**URL:** <https://discourse.julialang.org/t/deactivate-plot-display-to-avoid-need-for-x-server/19359>\
**Category:** Visualization\
**Tags:** question\
**Created:** [January 7, 2019, 6:19pm UTC](https://discourse.julialang.org/t/deactivate-plot-display-to-avoid-need-for-x-server/19359 "2019-01-07T18:19:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [January 7, 2019, 6:49pm UTC](https://discourse.julialang.org/t/deactivate-plot-display-to-avoid-need-for-x-server/19359/2 "2019-01-07T18:49:07Z")

</div>

You can set the output type before using the `gr` backend using `ENV["GKSwstype"]=100` or ` `ENV[“GKSwstype”]=“nul”`, which activates the NULL device.

---

_[View the full topic](https://discourse.julialang.org/t/deactivate-plot-display-to-avoid-need-for-x-server/19359)._
