From owner-freebsd-security Mon Feb 12 20:45:35 2001 Delivered-To: freebsd-security@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 98A0337B491 for ; Mon, 12 Feb 2001 20:45:32 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14RnXL-00004k-00; Sat, 10 Feb 2001 20:50:55 -0700 Message-ID: <3A860C1F.D855F48F@softweyr.com> Date: Sat, 10 Feb 2001 20:50:55 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: David La Croix Cc: Fenix , freebsd-security@FreeBSD.ORG Subject: Re: Xfree on multihomed box References: <200102110114.UAA15814@cowpie.acm.vt.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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