[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BadAccess error with X forwarding
- To: Dave Harrison <dave@nullcube.com>
- Subject: Re: BadAccess error with X forwarding
- From: Matthieu Herrb <matthieu.herrb@laas.fr>
- Date: Tue, 17 Feb 2004 08:00:28 +0100
- Cc: misc@openbsd.org
- References: <20040217012509.GA12157@dave@alana.ucc.usyd.edu.au>
- User-Agent: Mozilla Thunderbird 0.5 (X11/20040215)
Dave Harrison wrote:
> Hi all,
>
> Im running current (last checkout and recompile was a little under a
> week ago) and Im having a problem forwarding VIM off a remote host to my
> machine.
>
> My machine is a laptop using dhcp to acquire an IP address (if it makes
> a difference) and both my machine and the remote ssh daemon have
> X11Forwarding enabled. The remote machine is a Sun using openssh-3.7.1p2.
>
> When I ssh -X to the remote machine I can successfully get a gvim window
> open (and I can open xterms remotely onto my local desktop) on my
> local desktop, but when I save and exit from the vim window I get the
> following error :
>
> BadAccess (attempt to access private resource denied)
>
> It saves the file correctly, but the error is odd since I have not had
> this problem before. The only thing that has changed is my version of
> current - I have just returned from being OS and did an OpenBSD upgrade
> on returning. I have a feeling it might have to do with privilege
> seperation, but googling and mail list dredging havent brought me any
> new information.
OpenSSH has a new feature that makes the X server consider X clients on
the other end of an SSH tunnel as untrusted wrt the X Security
extension. This means (among others) that those clients can't access
some of the X server resources.
See the ForwardX11Trusted option in ssh_config(5).