Bug#366599: xdm looks for /usr/bin/X, but I have /usr/X11R6/bin/X
Package: xdm
Version: 1:1.0.1-6
Severity: normal
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Phil Endecott <spam_from_debian_bugs_2@chezphil.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /etc/X11/xdm/Xservers calls /usr/bin/X, but I have /usr/X11R6/bin/X
Message-ID: <20060509190927.6320.6968.reportbug@egypt.chezphil.org>
X-Mailer: reportbug 3.20
Date: Tue, 09 May 2006 20:09:27 +0100
Package: xdm
Version: 1:1.0.1-6
Severity: normal
I've just tried to upgrade xdm to 1:1.0.1-6, from a
not-very-old 6.9.something version (sorry, I don't think I can now find
out what the old version was). I have not upgraded any other X
packages.
When xdm tries to start, according to /var/log/xdm.log :
server /usr/bin/X cannot be executed
This comes from /etc/X11/xdm/Xservers, which has this path hardcoded.
My X server seems to be in /usr/X11R6/bin/X, provided by xserver-common
6.9.0.dfsg.1-4.
My guess is that the location of the X server has changed recently, and
that if I now upgraded my other X packages it would now work properly.
But I'm not going to test this.
One solution would be to make xdm depend on whatever package it is
that provides the X server, so that it will find it in the right place.
Otherwise some mechanism to find X wherever it is installed is needed.
--Phil.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages xdm depends on:
ii cpp 4:4.0.3-3 The GNU C preprocessor (cpp)
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libice6 6.9.0.dfsg.1-6 Inter-Client Exchange library
ii libpam0g 0.79-3.1 Pluggable Authentication Modules l
ii libselinux1 1.30-1 SELinux shared libraries
ii libsm6 6.9.0.dfsg.1-6 X Window System Session Management
ii libx11-6 6.9.0.dfsg.1-6 X Window System protocol client li
ii libxau6 6.9.0.dfsg.1-4 X Authentication library
ii libxaw7 6.9.0.dfsg.1-4 X Athena widget set library
ii libxdmcp6 6.9.0.dfsg.1-4 X Display Manager Control Protocol
ii libxext6 6.9.0.dfsg.1-6 X Window System miscellaneous exte
ii libxinerama1 6.9.0.dfsg.1-4 X Window System multi-head display
ii libxmu6 6.9.0.dfsg.1-6 X Window System miscellaneous util
ii libxpm4 6.9.0.dfsg.1-4 X pixmap library
ii libxt6 6.9.0.dfsg.1-6 X Toolkit Intrinsics
ii x11-common 6.9.0.dfsg.1-4 X Window System (X.Org) infrastruc
ii xbase-clients 6.9.0.dfsg.1-4 miscellaneous X clients
xdm recommends no packages.
-- debconf information:
xdm/stop_running_server_with_children: false
xdm/daemon_name: /usr/bin/X11/xdm
* shared/default-x-display-manager: xdm
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages xdm depends on:
ii cpp 4:4.0.3-3 The GNU C preprocessor (cpp)
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libice6 6.9.0.dfsg.1-6 Inter-Client Exchange library
ii libpam0g 0.79-3.1 Pluggable Authentication Modules l
ii libselinux1 1.30-1 SELinux shared libraries
ii libsm6 6.9.0.dfsg.1-6 X Window System Session Management
ii libx11-6 6.9.0.dfsg.1-6 X Window System protocol client li
ii libxau6 6.9.0.dfsg.1-4 X Authentication library
ii libxaw7 6.9.0.dfsg.1-4 X Athena widget set library
ii libxdmcp6 6.9.0.dfsg.1-4 X Display Manager Control Protocol
ii libxext6 6.9.0.dfsg.1-6 X Window System miscellaneous exte
ii libxinerama1 6.9.0.dfsg.1-4 X Window System multi-head display
ii libxmu6 6.9.0.dfsg.1-6 X Window System miscellaneous util
ii libxpm4 6.9.0.dfsg.1-4 X pixmap library
ii libxt6 6.9.0.dfsg.1-6 X Toolkit Intrinsics
ii x11-common 6.9.0.dfsg.1-4 X Window System (X.Org) infrastruc
ii xbase-clients 6.9.0.dfsg.1-4 miscellaneous X clients
xdm recommends no packages.
-- debconf information:
xdm/stop_running_server_with_children: false
xdm/daemon_name: /usr/bin/X11/xdm
* shared/default-x-display-manager: xdm
Reply to: