Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2001 20:50:55 -0700
From:      Wes Peters <wes@softweyr.com>
To:        David La Croix <dlacroix@cowpie.acm.vt.edu>
Cc:        Fenix <fenix@xs4some.net>, freebsd-security@FreeBSD.ORG
Subject:   Re: Xfree on multihomed box
Message-ID:  <3A860C1F.D855F48F@softweyr.com>
References:  <200102110114.UAA15814@cowpie.acm.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
David La Croix wrote:
> 
> > Hello
> > I have managed too run 2 separate "jails" one serving as a shell server and another one as a an internet server it all runs smooth and fine but i have a little problem as i use X on the host and it binds to all avilable IP's on the host
> > so does wdm (xdm) ... I was lookin in docs to find how i can make it listen to a single ip or not at all as i dont use X remoutly...
> > does anyone have any suggestions or tips ? I'll be really gratefull
> > Greets Fenix
> >
> 
> add the "-nolisten tcp" option to the X invocation.
> 
> It causes the Xserver not to bind to ANY ports/addresses, I disable
> it because anything I want on my Xserver goes through a ssh tunnel
> via X forwarding (forwarded to the Unix socket)
> 
> If you're running xdm, find the file xdm/Xservers.  The contents
> should look something like:
> 
> :0 local /usr/X11R6/bin/X -nolisten tcp
> 
> Not sure about wdm (or kdm), but I'm sure they are similar.

It's in wdm/Xservers on WDM, same syntax.

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
wes@softweyr.com                                           http://softweyr.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A860C1F.D855F48F>