zoukankan      html  css  js  c++  java
  • DISPLAY connection problem when using ENVI/IDL in X Terminal

    Some problem shows as follow when executing IDL/ENVI program in Terminal from remote Linux Server:

    % DEVICE: Unable to connect to X Windows display: :0
    % DEVICE: Unable to open X Windows display.
    Is your DISPLAY environment variable set correctly?

    Solution to this problem in step:

    ssh to remote server

    1 IDL> print,getenv('DISPLAY')

    2 IDL> setenv,'DISPLAY=:0.0'

     exit and ssh remote server again:

    'ssh -X xxx'

    It's OK.

    TEST:  IDL>ENVI


    reference:

    http://www.physics.sfsu.edu/compsys/tutor/idltut/setdisp.html
    http://www.mombu.com/programming/idl/t-idl-63-intel-in-mac-idlwave-graphics-crash-1547705.html
    https://groups.google.com/forum/#!topic/comp.lang.idl-pvwave/rPfJIAEUhi4
  • 相关阅读:
    认证-权限-频率组件
    视图组件
    序列化类
    解析模块
    异常模块
    响应模块分析
    请求模块分析
    cbv请求分析
    django中的restful规范
    web接口与restful规范
  • 原文地址:https://www.cnblogs.com/HomeGIS/p/2550046.html
Copyright © 2011-2022 走看看