# Plotting with gr backend cannot display in REPL on ubuntu

**URL:** <https://discourse.julialang.org/t/plotting-with-gr-backend-cannot-display-in-repl-on-ubuntu/29671>\
**Category:** General Usage\
**Tags:** question, plotting\
**Created:** [October 9, 2019, 5:03am UTC](https://discourse.julialang.org/t/plotting-with-gr-backend-cannot-display-in-repl-on-ubuntu/29671 "2019-10-09T05:03:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![helloBrisbane](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@helloBrisbane](https://discourse.julialang.org/u/helloBrisbane)\
**Post date:** [October 9, 2019, 5:03am UTC](https://discourse.julialang.org/t/plotting-with-gr-backend-cannot-display-in-repl-on-ubuntu/29671/1 "2019-10-09T05:03:31Z")

</div>

try to using plotting in REPL on ubuntu, however it cannot display.  
running same code in jupyter notebook without problems.

julia\> versioninfo()  
Julia Version 1.1.1  
Commit 55e36cc308 (2019-05-16 04:10 UTC)  
Platform Info:  
OS: Linux (x86\_64-pc-linux-gnu)  
CPU: Intel(R) Celeron(R) CPU G3930 @ 2.90GHz  
WORD\_SIZE: 64  
LIBM: libopenlibm  
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

shell\> uname -a  
Linux w1b1 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86\_64 x86\_64 x86\_64 GNU/Linux

julia\> backend()  
Plots.GRBackend()

julia\> Plots.plot(pic, yflip = true) #upside down  
QXcbConnection: Failed to initialize XRandr  
Qt: XKEYBOARD extension not present on the X server.

julia\> libGL error: unable to load driver: swrast\_dri.so  
libGL error: failed to load driver: swrast  
The X11 connection broke: I/O error (code 1)  
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “localhost:10.0”  
after 219 requests (215 known processed) with 0 events remaining.  
julia\>
