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

Bug#1019502: xfce4-session: sometimes fails to start from gdm3: /usr/bin/startxfce4: X server already running on display :0



Package: xfce4-session
Version: 4.16.0-1
Severity: normal

While testing installation media for #debian-cd, I tried the test-case
that involved installing all the available desktop environments (GNOME,
XFCE, etc.). I chose gdm3 as the display manager when prompted (it was the
default), finished the installation, and rebooted to the installed system.

Most of the desktop environments that I tried worked fine, but XFCE failed
to log in (bounced back to the gdm3 prompt after a brief blank screen).
This log message in the systemd journal might be relevant:

Sep 10 17:41:04 espresso /usr/libexec/gdm-x-session[10361]: /usr/bin/startxfce4: X server already running on display :0

I'm surprised if startxfce4 is starting its own X11 server, since the
traditional situation for X11 display managers is that the display manager
is responsible for starting Xorg.

It worked OK when I used dpkg-reconfigure to swap from gdm3 to lightdm
(which is a better choice anyway on systems where you'd want to use XFCE).

This doesn't seem to be 100% reproducible: after a couple of cycles of
switching the display manager and rebooting, XFCE started up fine even
from gdm3. I'm not sure what was going on there.

As a hint for any XFCE maintainers who might look into this while not
being familiar with gdm3, the interface for choosing a desktop environment
in gdm3 is:

- choose your user
- don't enter your password immediately
- click on the gear wheel icon in the lower right corner
- choose the desired desktop environment
- *now* enter your password

    smcv

-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-18-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xfce4-session depends on:
ii  libatk1.0-0            2.36.0-2
ii  libc6                  2.31-13+deb11u4
ii  libcairo2              1.16.0-5
ii  libgdk-pixbuf-2.0-0    2.42.2+dfsg-1
ii  libglib2.0-0           2.66.8-1
ii  libgtk-3-0             3.24.24-4+deb11u2
ii  libice6                2:1.0.10-1
ii  libpango-1.0-0         1.46.2-3
ii  libpolkit-gobject-1-0  0.105-31+deb11u1
ii  libsm6                 2:1.2.3-1
ii  libwnck-3-0            3.36.0-1
ii  libx11-6               2:1.7.2-1
ii  libxfce4ui-2-0         4.16.0-1
ii  libxfce4util7          4.16.0-1
ii  libxfconf-0-3          4.16.0-2
ii  x11-xserver-utils      7.7+8
ii  xfce4-settings         4.16.0-1
ii  xfconf                 4.16.0-2

Versions of packages xfce4-session recommends:
ii  dbus-user-session [default-dbus-session-bus]  1.12.20-2
ii  dbus-x11 [dbus-session-bus]                   1.12.20-2
ii  libpam-systemd [logind]                       247.3-7+deb11u1
ii  light-locker                                  1.8.0-3
ii  systemd-sysv                                  247.3-7+deb11u1
ii  upower                                        0.99.11-2
ii  xfdesktop4                                    4.16.0-1
ii  xfwm4                                         4.16.1-1

Versions of packages xfce4-session suggests:
pn  fortunes-mod  <none>
ii  sudo          1.9.5p2-3

-- no debconf information


Reply to: