From owner-freebsd-security Sat Feb 10 17:17:25 2001 Delivered-To: freebsd-security@freebsd.org Received: from cowpie.acm.vt.edu (cowpie.acm.vt.edu [128.173.42.253]) by hub.freebsd.org (Postfix) with ESMTP id 922C437B684 for ; Sat, 10 Feb 2001 17:17:07 -0800 (PST) Received: (from dlacroix@localhost) by cowpie.acm.vt.edu (8.9.3/8.9.3) id UAA15814; Sat, 10 Feb 2001 20:14:43 -0500 (EST) From: David La Croix Message-Id: <200102110114.UAA15814@cowpie.acm.vt.edu> Subject: Re: Xfree on multihomed box In-Reply-To: <200102101419.f1AEJBX10967@xs4some.net> from Fenix at "Feb 10, 1 03:19:11 pm" To: fenix@xs4some.net (Fenix) Date: Sat, 10 Feb 2001 19:14:42 -0600 (CST) Cc: freebsd-security@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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. Use "locate Xservers" to find where it is on your system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message