AIX cde重定向

Setting the DISPLAY environment variable

When you connect via SSH, your X11 environment should be automatically configured. If it is not, you may have to connect using the -X (upper-case X) or -Y (upper-case Y) option on the ssh command line.

If your X11 display still does not work, check that the DISPLAY environment variable has been set properly. This variable is used by the X application to determine the internet address of your local screen. You can check by typing this command at the NERSC machine prompt:

 %  echo $DISPLAY

The system should respond with something like

s00609:13.0

If the echo $DISPLAY command produces a blank response you can configure it manually. This method will bypass SSH encryption. At the prompt, type

% setenv DISPLAY hostname:0  (csh)

or
% export DISPLAY=hostname:0 (ksh)

where hostname is the internet name of the machine you are using for your display. If you do not know your machine name, you can probably find it with the command

% who | grep username

where username is your user name. For example, on Seaborg:

s00609% who | grep consult
consult  ttyp007      Jan  7 08:36  (generic.lbl.gov)

The hostname is in parentheses (it might be a set of numbers formatted like this: 128.55.200.24).

Note: Explicitly setting the DISPLAY environment variable will not work on seaborg; xterms originating on that system MUST use the DISPLAY setting provided by SSH during initial login. Other systems are also likely to be configured to disallow unencrypted connections.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值