Bug#605658: gdm: Xsession gets DISPLAY=:0 even when server is :1
Marc Lehmann
debian-reportbug at plan9.de
Thu Dec 2 08:40:50 UTC 2010
Package: gdm
Version: 2.20.11-2
Severity: normal
(This might not be a bug in gdm, but it manifests only with gdm for me).
When starting gdm when a server is already active on :0, gdm shows a console
dialog asking me whether I want to start a server on display :1 instead.
When answering yes, it does so, but when logging in with a GNOME session,
the session immediately exits.
Analysis shows that DISPLAY is set to :0, so gnome cannot open the display.
Adding DISPLAY=:1 at the very top of /etc/X11/Xsession makes it work,
proving that DISPLAY was not set to :1 when it was invoked.
Obviously, gdm should either not offer the option of starting another
X-server or, maybe preferably, it should actually work.
Greetings,
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
More information about the pkg-gnome-maintainers
mailing list