我正在使用macOS蒙特利(12.4)。
我使用ssh -X username@asasd.de
登录。
已经加载到系统中的模块。模块列表:
在/work/目录中运行模型之后,我在那里生成一个文件"file.cdf“。
我想用ncview打开它。所以我做到了:$ ncview file.cdf和我得到了这个错误。
Ncview 2.1.8 David W. Pierce 8 March 2017
http://meteora.ucsd.edu:80/~pierce/ncview_home_page.html
Copyright (C) 1993 through 2015, David W. Pierce
Ncview comes with ABSOLUTELY NO WARRANTY; for details type `ncview -w'.
This is free software licensed under the Gnu General Public License version 3; type `ncview -c' for redistribution details.
Note: could not open file /home/.ncviewrc for reading
Error: Can't open display:
发布于 2022-08-24 21:26:45
我是win10用户。使用ubuntu20.04版本。通过"sudo apt install ncview“命令加载ncview包。2.1.8+ds-3build2版本似乎已加载,但面临相同的错误:
Ncview 2.1.8大卫·W·皮尔斯2017年3月8日http://meteora.ucsd.edu:80/~pierce/ncview_home_page.html版权(C) 1993至2015年大卫·W·皮尔斯·恩克维尤绝对没有保修;详细信息类型ncview -w'. This is free software licensed under the Gnu General Public License version 3; type
Ncview -c‘用于重新分配详细信息。
注意:无法打开文件/home/cahit/..ncviewrc读取错误:无法打开显示:
对这种情况有什么建议吗?
发布于 2022-10-20 21:34:31
对于Mac用户:我也面临着同样的问题。这是解决后,我安装X石英在我的本地机器。https://www.xquartz.org/
我希望它对你有用。
https://stackoverflow.com/questions/72870054
复制相似问题