Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2001 19:14:42 -0600 (CST)
From:      David La Croix <dlacroix@cowpie.acm.vt.edu>
To:        fenix@xs4some.net (Fenix)
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Xfree on multihomed box
Message-ID:  <200102110114.UAA15814@cowpie.acm.vt.edu>
In-Reply-To: <200102101419.f1AEJBX10967@xs4some.net> from Fenix at "Feb 10, 1 03:19:11 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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