Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I would like to run vim via X11 (over SSH). Vim comes pre-installed on my NAS (running Debian), however the GUI is not.

When I run vim -g, I get this error:

E25: GUI cannot be used: Not enabled at compile time

Is there any way to install the GUI by itself, or do I need to reinstall vim altogether?

share|improve this question
    
Or you can edit files remotely through sshfs –  Gilles Oct 19 '11 at 9:56
add comment

1 Answer

up vote 4 down vote accepted

You can install apt-get install either vim-gtk or vim-gnome or even vim-lesstif to get a vim gui.

share|improve this answer
    
does it matter which? –  Jeff Oct 19 '11 at 2:40
1  
@Jeff Not really; I'd install -gtk if you don't have (and don't want) gnome installed. See askubuntu.com/questions/33260/… –  Shawn J. Goff Oct 19 '11 at 3:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.