[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476265: xinit: use /etc/default for -nolisten tcp in /etc/X11/xinit/xserverrc



Package: xinit
Version: 1.0.8-1
Severity: normal


DSCRIPTION

	The default installation of /etc/X11/xinit/xserverrc reads:

	    exec /usr/bin/X11/X -nolisten tcp

	 The default settings understandably block the TCP
	 connections, but offer no easy way to have local settings --
	 other than modifying the file directly; which unfortunately
	 would cause conflicts during upgrade.

SUGGESTION

The options passed to X could be made configurable with following
change:

1. introduce /etc/default/xserverrc

   # Comment this out to enable TCP connections
   X_OPT="-nolisten tcp"

2. Have /etc/X11/xinit/xserverrc read:

   [ -f /etc/default/xserverrc ] && . /etc/default/xserverrc
   exec /usr/bin/X11/X $X_OPT

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages xinit depends on:
ii  cpp                           4:4.2.3-7  The GNU C preprocessor (cpp)
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libx11-6                      2:1.0.3-7  X11 client-side library

xinit recommends no packages.

-- no debconf information



Reply to: