Re: display gvim remotely?
- Hmm, I tried that but it doesn't seem to be working.
[peterb@desktop online]$ xhost +
access control disabled, clients can connect from any host
[peterb@laptop online]$ vi ejb.xml
BadAccess (attempt to access private resource denied)
Vim: Got X error
> Well, I used to have a problem that sounds like this one.
> I used to have to do "xhost +" on the server to enable any host to open
> displays on my desktop. I believe X does some sort of reverse DNS lookup to
> see if indeed the box listed is the one asking for a connection. (or
> something like that). I was in a very secure environment, so I didn't think
> that was a big deal.
> Try that.
> Jeff Walker MatchLogic, Inc.
> jwalker@... 7233 Church Ranch Blvd.
> Voice 1 (303) 222-2105 Westminster, CO 80021
> Fax 1 (303) 222-2001 www.matchlogic.com
> > -----Original Message-----
> > From: Merlin Hansen [mailto:Merlin.Hansen@...]
> > Sent: Wednesday, January 03, 2001 2:39 PM
> > To: vim@...
> > Subject: Re: display gvim remotely?
> > Hi Peter,
> > I do what you are trying to do on a regular basis only in may
> > case my desktop is
> > running linux whereas the servers that I run gvim from
> > various from sunos to
> > various linux flavors.
> > I tried to reproduce this to no availe. My setup:
> > host1: mandrake 7.x, vim 5.7 (one of my servers)
> > host2: mandrake 7.x, vim 5.7 (my desktop)
> > host1: > sh
> > $ export DISPLAY=host2:0.0
> > host2: > xhost + host1
> > host1: $ gvim test.txt
> > vim came up fine.
> > I tried a few combinations to try to get the same error messages:
> > - display to wrong X server/desktop
> > - with xhost -
> > - with no X running.
> > - and others...
> > Bottom line: I not only can not get the setup not to work I
> > can not get your
> > error messages either. Sorry I could not be of more help.
> > If there is anything else I can try or do, let me know.
> > Have you tried displaying any other programs remotely (like
> > xeyes or such)?
> > Merlin.
> > Peter Bismuti wrote:
> > >
> > > This is barely a vim question but here it goes:
> > >
> > > I have two Linux machines and often view files on the other machine.
> > > I tried to set up the display such that I could use gvim:
> > --
> > TriNexus Communications | Software Developer
> > #241 111 Research Drive | Research and Development Department
> > Saskatoon, SK. Canada. | E-mail : Merlin.Hansen@...
> > S7N 3R2 | Web Site : http://www.TriNexus.com
| Pete Bismuti |
| Department of Computer Science |
| Florida State University |
| bismuti@... (850) 644-6835 |