[Pkg-xfce-devel] Bug#846222: x11-common: Please provide a default xsession in /usr/share/xsessions

Maximiliano Curia maxy at debian.org
Tue Nov 29 10:52:36 UTC 2016

Package: x11-common
Version: 1:7.7+18
Severity: minor
Tags: patch


Thanks to the #845948 report against sddm, we noticed that the "Default 
Xsession" xsession desktop file is being provided by the lightdm display 
manager (in the /usr/share/xsessions/lightdm-xsession.desktop file). And since: 

 - This xsession file is useful for other display managers, such as sddm, that
   uses the /usr/share/xsessions/*.desktop to allow the users to choose their
   preferred sessions.

 - This ends up calling /etc/X11/Xsession default which is the only way to use
   the user's ~/.xsession file

 - The script that processes the "default" parameter
   (/etc/X11/Xsession.d/20x11-common_process-args) as a special case is
   provided by the x11-common package.

I believe, it would be better to this file in the x11-common package (renamed 
/usr/share/xsessions/user-xsession.desktop or 

Happy hacking,

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages x11-common depends on:
ii  lsb-base  9.20161101

x11-common recommends no packages.

x11-common suggests no packages.

-- no debconf information
-------------- next part --------------
[Desktop Entry]
Name=Default Xsession

More information about the Pkg-xfce-devel mailing list