解决 "xshell cannot get a dis
2016-07-31 本文已影响933人
leoatchina
xshell 远程登陆主机 在使用vi时突然报错,上网搜索和 display的设置有关
解决办法是 在xshell里输入
export DISPLAY=":0.0"
可以把这句话 加到 .bashrc
里去
xshell 远程登陆主机 在使用vi时突然报错,上网搜索和 display的设置有关
解决办法是 在xshell里输入
export DISPLAY=":0.0"
可以把这句话 加到 .bashrc
里去