cannot open display [1]

cannot open display

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

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


Re: cannot open display

Wednesday, May 21, 2014 7:07 PM - Support

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


Previous views: 211