Friday, November 15, 2013

Re: gvim from putty

On Fri, 15 Nov 2013 10:02:19 +0100, Jan Pobrislo <ccx@webprojekty.cz> wrote:
> On Fri, 15 Nov 2013 00:28:10 -0800 (PST), sinbad <sinbad.sinbad@gmail.com> wrote:
> > ok, can i start gnome or x server from putty.
> > when i run startx or x or gnome, i'm getting
> > the following error.
>
> Don't.
> Firstly this is not really a vim use question, it applies to any X11 application.
> Running X11 server (aka the thing that displays your windows (clients)) on
> linux machine is of no use to you. You want to see your X11 application on
> windows and so you need X11 server running on windows. There are two
> well-known ones: http://sourceforge.net/projects/xming/ and the one bundled
> with http://cygwin.com/ . Putty should be able to work with xming at least
> and cygwin has openssh (which is imo superior if you have good terminal
> emulator installed).
>
> But X protocol wasn't really desinged for all the fancy features gui
> applications use nowadays, so be aware the whole picture buffers need to be
> transferred, which will be /slow/ unless you are on fast lan and it will be
> definitely way less responsive than terminal vim. It is possible to improve
> on it by compression by using eg. http://winswitch.org/ or VNC, but I
> personally would still prefer terminal.
>
> HTH, Jan

Also, you can just use your local gvim to access files via ssh,
see :help pi_netrw.txt in your vim installation or
http://www.vim.org/scripts/script.php?script_id=1075 for details.
Or even better yet, keep files you edit under version control system
(such as bzr, mercurial or git) so you can easily sync the files between
your machines.

PS: There are lot of guides if you google for "putty X11 forwarding",
such as http://www.math.umn.edu/systems_guide/putty_xwin32.html

PPS: Gnome /is not/ a display server. It merely uses one.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: