解决 "xshell cannot get a dis

2016-07-31  本文已影响933人  leoatchina

xshell 远程登陆主机 在使用vi时突然报错,上网搜索和 display的设置有关

解决办法是 在xshell里输入

export DISPLAY=":0.0"

可以把这句话 加到 .bashrc里去

上一篇 下一篇

猜你喜欢

热点阅读