Xshell Forum

cannot open display

Last post: Wednesday, May 21, 2014 7:07 PM by Support, 1 reply

 
Wednesday, May 21, 2014 6:55 PM - zhi

cannot open display

 
when I type the gvim command to open a program file, it shows that Error 233: cannot open display!
WHAT WRONG ABOUT IT?

Program Ver. : Xshell 4
Wednesday, May 21, 2014 7:07 PM - Support

Re: cannot open display

 
gVim is the GUI vim version. On Xshell, you should use just vim.

Use the -X option to tell vim to not attempt to connect to local X server.

You should use: vim -X


---
Technical Support