Bug#163837: startx: hostname version is displayed
Package: xbase-clients
Version: 4.2.1-1
Severity: minor
Tags: sid patch
When starting X, the hostname version string is displayed. This comes from
the Xauth setup in startx. The Debian version of hostname outputs its version
string to stderr. The following patch suppresses this error:
--- startx.orig 2002-10-04 22:49:05.000000000 +0200
+++ startx 2002-10-08 20:27:31.000000000 +0200
@@ -116,7 +116,7 @@
# set up default Xauth info for this machine
case `uname` in
Linux*)
- if [ -z "`hostname --version | grep GNU`" ]; then
+ if [ -z "`hostname --version 2>/dev/null | grep GNU`" ]; then
hostname=`hostname -f`
else
hostname=`hostname`
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux gw.bolli.homeip.net 2.4.18-586tsc #1 Sun Apr 14 10:57:57 EST 2002 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages xbase-clients depends on:
ii cpp 2:2.95.4-17 The GNU C preprocessor.
ii debconf 1.2.10 Debian configuration management sy
ii libc6 2.2.5-15 GNU C Library: Shared libraries an
ii libdps1 4.2.1-1 Display PostScript (DPS) client li
ii libfreetype6 2.1.2-7 FreeType 2 font engine, shared lib
ii libncurses5 5.2.20020112a-8 Shared libraries for terminal hand
ii libxaw7 4.2.1-1 X Athena widget set library
ii xlibmesa3 [libgl1] 4.2.1-1 XFree86 version of Mesa 3D graphic
ii xlibs 4.2.1-1 X Window System client libraries
-- debconf information:
* xbase-clients/default_100dpi:
* xbase-clients/default_nolisten_tcp:
Reply to: