Re: remote exmh from Mandriva 2010.0 X session

Kevin Cosgrove <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
On 18 November 2009 at 20:12, Kevin Cosgrove <[email protected]> wrote:

> As usual I started exmh on a remote host via ssh.  This was on a 
> freshly installed Mandriva 2010.0 system.  I got the error:
> 
>   BgRegister X server insecure (must use xauth-style authorization)
> 
> 'xhost' showed that localhost was allowed insecure access to the X 
> server.  The source of this was in /etc/X11/xinit.d/msec which 
> contains this on my system
> 
>   /usr/bin/xhost + localhost
> 
> I changed the "+" to a "-" and the problem went away.  But, an hour 
> later the "-" changed back to a "+".
> 
> Does anyone know how to stop the reverting of the xhost command 
> option in that file?
> 
> Thanks....

I might have figured it out.  ALLOW_X_CONNECTIONS in
/etc/security/msec/{level.secure|level.standard|security.conf}
can be set to {yes|no|local}.  For the standard security level
this is set to "local".  I changed it to "no" using Mandriva's
system admin GUI (mcc) in the Security section.

I hope it works permanently and doesn't break anything else.

Cheers....


--
Kevin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.