[ncl-install] Can't Open Display

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Wed Apr 29 11:57:36 MDT 2020


Felipe,

This is a common problem, and the debugging strategy is not well
documented.  NCL needs a working X11 system with a correct DISPLAY variable
setting for direct graphics display on your terminal screen.

You can bypass this need in NCL, by using alternate output devices such as
png, ps, and pdf.  All of these create graphics output files, rather than
displaying directly on the terminal.  Then you can use alternate display
software to display the png, ps, and pdf files on your terminal.

However, it is very useful to have X11 working correctly.  I am not an
expert.  But similar questions about X11 were recently discussed on this
mailing list.  I suggest that you look through the last month or two of the
mailing list archives for X11 debugging strategy and possible solutions.

    http://mailman.ucar.edu/pipermail/ncl-install/

If you do not find a solution easily, then please write back to this
mailing list.


On Mon, Apr 27, 2020 at 7:15 PM felipe ignacio moreno via ncl-install <
ncl-install at ucar.edu> wrote:

> Hi,
>
> I'm absolutely new to all this and I've been struggling a little bit with
> the installation process. It all seemed to work adequately, but I can't
> test NCL well. The version line is alright, but I'm having issues with the
> DISPLAY environment variable. I've tried everything, but it hasn't worked.
>
> Hope someone can help me, please!
>
> Below is the code I was told to run and attach with the mail:
>
> (ncl_stable) felipe at Felipes-Laptop:~$ conda list -n ncl_stable
>
> # packages in environment at /home/felipe/miniconda3/envs/ncl_stable:
> #
> # Name                    Version                   Build  Channel
> _libgcc_mutex             0.1                 conda_forge    conda-forge
> _openmp_mutex             4.5                      1_llvm    conda-forge
> boost-cpp                 1.72.0               h8e57a91_0    conda-forge
> bzip2                     1.0.8                h516909a_2    conda-forge
> ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
> cairo                     1.16.0            hcf35c78_1003    conda-forge
> certifi                   2020.4.5.1       py38h32f6830_0    conda-forge
> cfitsio                   3.470                h00dd3da_3    conda-forge
> curl                      7.69.1               h33f0ec9_0    conda-forge
> esmf                      8.0.0           nompi_hb0fcdcb_6    conda-forge
> expat                     2.2.9                he1b5a44_2    conda-forge
> fontconfig                2.13.1            h86ecdb6_1001    conda-forge
> freetype                  2.10.1               he06d7ca_0    conda-forge
> freexl                    1.0.5             h14c3975_1002    conda-forge
> geos                      3.8.1                he1b5a44_0    conda-forge
> geotiff                   1.5.1               h05acad5_10    conda-forge
> gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
> giflib                    5.2.1                h516909a_2    conda-forge
> glib                      2.64.2               h6f030ca_0    conda-forge
> gsl                       2.6                  h294904e_0    conda-forge
> hdf4                      4.2.13            hf30be14_1003    conda-forge
> hdf5                      1.10.5          nompi_h3c11f04_1104
>  conda-forge
> hdfeos2                   2.20              h64bfcee_1000    conda-forge
> hdfeos5                   5.1.16               h8b6279f_5    conda-forge
> icu                       64.2                 he1b5a44_1    conda-forge
> jasper                    1.900.1           h07fcdf6_1006    conda-forge
> jpeg                      9c                h14c3975_1001    conda-forge
> json-c                    0.13.1            h14c3975_1001    conda-forge
> kealib                    1.4.13               hec59c27_0    conda-forge
> krb5                      1.17.1               h2fd8d38_0    conda-forge
> ld_impl_linux-64          2.34                 h53a641e_0    conda-forge
> libblas                   3.8.0               16_openblas    conda-forge
> libcblas                  3.8.0               16_openblas    conda-forge
> libcurl                   7.69.1               hf7181ac_0    conda-forge
> libdap4                   3.20.6               h1d1bd15_0    conda-forge
> libedit                   3.1.20170329      hf8c457e_1001    conda-forge
> libffi                    3.2.1             he1b5a44_1007    conda-forge
> libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
> libgdal                   3.0.4                h3dfc09a_6    conda-forge
> libgfortran-ng            7.3.0                hdf63c60_5    conda-forge
> libiconv                  1.15              h516909a_1006    conda-forge
> libkml                    1.3.0             hb574062_1011    conda-forge
> libnetcdf                 4.7.4           nompi_h9f9fd6a_101    conda-forge
> libopenblas               0.3.9                h5ec1e0e_0    conda-forge
> libpng                    1.6.37               hed695b0_1    conda-forge
> libpq                     12.2                 h5513abc_1    conda-forge
> libspatialite             4.3.0a            h2482549_1038    conda-forge
> libssh2                   1.8.2                h22169c7_2    conda-forge
> libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
> libtiff                   4.1.0                hc7e4089_6    conda-forge
> libuuid                   2.32.1            h14c3975_1000    conda-forge
> libwebp-base              1.1.0                h516909a_3    conda-forge
> libxcb                    1.13              h14c3975_1002    conda-forge
> libxml2                   2.9.10               hee79883_0    conda-forge
> llvm-openmp               10.0.0               hc9558a2_0    conda-forge
> lz4-c                     1.9.2                he1b5a44_0    conda-forge
> ncl                       6.6.2               h0f0234b_20    conda-forge
> ncurses                   6.1               hf484d3e_1002    conda-forge
> netcdf-fortran            4.5.2           nompi_h45d7149_104    conda-forge
> openjpeg                  2.3.1                h981e76c_3    conda-forge
> openssl                   1.1.1g               h516909a_0    conda-forge
> pcre                      8.44                 he1b5a44_0    conda-forge
> pip                       20.0.2                     py_2    conda-forge
> pixman                    0.38.0            h516909a_1003    conda-forge
> poppler                   0.67.0               h14e79db_8    conda-forge
> poppler-data              0.4.9                         1    conda-forge
> postgresql                12.2                 h8573dbc_1    conda-forge
> proj                      7.0.0                h966b41f_3    conda-forge
> pthread-stubs             0.4               h14c3975_1001    conda-forge
> python                    3.8.2           he5300dc_7_cpython    conda-forge
> python_abi                3.8                      1_cp38    conda-forge
> readline                  8.0                  hf8c457e_0    conda-forge
> setuptools                46.1.3           py38h32f6830_0    conda-forge
> sqlite                    3.30.1               hcee41ef_0    conda-forge
> tbb                       2018.0.5             h2d50403_0    conda-forge
> tiledb                    1.7.7                h8efa9f0_1    conda-forge
> tk                        8.6.10               hed695b0_0    conda-forge
> tzcode                    2020a                h516909a_0    conda-forge
> udunits2                  2.2.27.6          h4e0c4b3_1001    conda-forge
> wheel                     0.34.2                     py_1    conda-forge
> xerces-c                  3.2.2             h8412b87_1004    conda-forge
> xorg-imake                1.0.7                         0    conda-forge
> xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
> xorg-libice               1.0.10               h516909a_0    conda-forge
> xorg-libsm                1.2.3             h84519dc_1000    conda-forge
> xorg-libx11               1.6.9                h516909a_0    conda-forge
> xorg-libxau               1.0.9                h14c3975_0    conda-forge
> xorg-libxaw               1.0.13            h14c3975_1002    conda-forge
> xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
> xorg-libxext              1.3.4                h516909a_0    conda-forge
> xorg-libxmu               1.1.3                h516909a_0    conda-forge
> xorg-libxpm               3.5.13               h516909a_0    conda-forge
> xorg-libxrender           0.9.10            h516909a_1002    conda-forge
> xorg-libxt                1.1.5             h516909a_1003    conda-forge
> xorg-makedepend           1.0.6                he1b5a44_1    conda-forge
> xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
> xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
> xorg-xproto               7.0.31            h14c3975_1007    conda-forge
> xz                        5.2.5                h516909a_0    conda-forge
> zlib                      1.2.11            h516909a_1006    conda-forge
> zstd                      1.4.4                h6597ccf_3    conda-forge
> (ncl_stable) felipe at Felipes-Laptop:~$     conda --version
> conda 4.8.2
> (ncl_stable) felipe at Felipes-Laptop:~$     which ncl
> /home/felipe/miniconda3/envs/ncl_stable/bin/ncl
> (ncl_stable) felipe at Felipes-Laptop:~$     ncl -V
> 6.6.2
> (ncl_stable) felipe at Felipes-Laptop:~$     env  | grep NCARG
> NCARG_ROOT=/home/felipe/miniconda3/envs/ncl_stable
>
> Felipe Ignacio Moreno Rojas
>
> Estudiante Ingeniería Civil en Obras Civiles
>
> *Universidad Técnica Federico Santa María*
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20200429/16fd1064/attachment-0001.html>


More information about the ncl-install mailing list