suse: how to override X security settings

David Bandel david.bandel
Sat May 6 16:18:51 PDT 2006


On 5/4/06, Net Llama! <netllama at linux-sxs.org> wrote:
> On 05/04/2006 08:01 PM, Bill Campbell wrote:
> > On Thu, May 04, 2006, Net Llama! wrote:
> >>For all of you SuSE fans, how can I override the X security settings
> >>(like what allows apps to connect to the X server)?
> >
> > I'm not sure what you mean by that question.
> >
> > We run all X applications other than the window manager and the
> > things it launches directly via ssh so that we don't have to
> > worry about setting DISPLAY and dealing with xhosts.
>
> Sorry, i wasn't referring to ssh, but rather the fact that Suse seems to
> only have their X server listening on a hostless port.  Every other
> distro i've used runs on $hostname:0 whereas suse listens on :0
> What I'm trying to figure out is how to force suse to behave like
> debian, redhat, slackware, gentoo, ubuntu & mandriva.
>

Several thoughts:
1.  You must enable tcp connections. This is usually done in the
/etc/X11/xdm|kdm|wdm|whoever-dm file. (Check that port 6000 is bound
to 0.0.0.0: vi netstat -pan)
2.  Ensure no firewall rules are stopping connections.
3.  You may or may not need an /etc/hosts.0 /etc/hosts.1 file with
IP|hostname of permitted hosts (depends on the paranoia setting when
X11 was compiled).
4.  You should also have a udp port open (again, check w/ netstat -pan).

Report back on success|failure.

David A. Bandel
--
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto



More information about the Linux-users mailing list