[TAG] 2c Tip: closing unneeded ports
sluggoster at gmail.com
Thu Nov 10 17:48:29 MSK 2005
On 11/10/05, Benjamin A. Okopnik <ben at linuxgazette.net> wrote:
> On Sun, Nov 06, 2005 at 09:03:43PM +0000, Thomas Adam wrote:
> > On Sun, Nov 06, 2005 at 11:30:22AM -0800, Peter Knaggs wrote:
> > > On SuSE SLES-9, the setting turned out to be configured
> > > instead in the file /etc/sysconfig/displaymanager. By changing
> > > DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN to "yes" instead of "no",
> > > you can enable remote X11 access.
> > This is non-standard, of course.
> > > It seems that each Linux distribution will have their own method to
> > > disable remote X11 access, and in general one will have to hunt down
> > > the configuration file in each distro on a case-by-case basis.
> > Most installations of X11 on Linux disable TCP listening by default.
> > > Note: the use of "xhost + sunmachine" isn't needed, we're only using
> > Note that the use of 'xhost +' is not needed no matter what you're
> > using.
... except that it provides an escape valve "xhost +HOSTNAME" doesn't
work, and you've tried the third hostname and *still* can't guess what
your computer is reporting itself as. localhost? short name? fqdn?
domain for which interface? etc. My latest trick is:
xhost +localhost +`hostname`
Mike Orr <sluggoster at gmail.com> or <mso at oz.net>
More information about the TAG