Debian Bug report logs - #644917
lightdm: (null) is passed as argument to /etc/X11/Xsession

version graph

Package: lightdm; Maintainer for lightdm is Debian Xfce Maintainers <debian-xfce@lists.debian.org>; Source for lightdm is src:lightdm (PTS, buildd, popcon).

Reported by: Pascal Dormeau <pdormeau@free.fr>

Date: Mon, 10 Oct 2011 17:45:05 UTC

Severity: minor

Found in version lightdm/1.0.3-1

Fixed in version 1.0.6-1

Done: Yves-Alexis Perez <corsac@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#644917; Package lightdm. (Mon, 10 Oct 2011 17:45:08 GMT) (full text, mbox, link).


Acknowledgement sent to Pascal Dormeau <pdormeau@free.fr>:
New Bug report received and forwarded. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Mon, 10 Oct 2011 17:45:08 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Pascal Dormeau <pdormeau@free.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Mon, 10 Oct 2011 19:45:41 +0200
Package: lightdm
Version: 1.0.3-1
Severity: minor

Dear Maintainer,

This occurs when upgrading lightdm from 1.0.2-1 to 1.0.3-1.
user-session is set to lightdm-xsession that should pass default
as argument to /etc/X11/Xsession, but "(null)" argument is passed.
This can be seen in xsession-errors:

Xsession: unable to launch "(null)" X session --- "(null)" not found;
falling back to default session.

This has no visible drawback except when x11-utils is installed.
In such case, xmessage exposes the error message and the user has
to acknowledge it before allowing the (default) session to be launched.

Best regards

Pascal Dormeau


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lightdm depends on:
ii  adduser                3.113    
ii  consolekit             0.4.5-1  
ii  dbus                   1.4.16-1 
ii  debconf [debconf-2.0]  1.5.40   
ii  libc6                  2.13-21  
ii  libglib2.0-0           2.28.6-1 
ii  libpam0g               1.1.3-4  
ii  libxcb1                1.7-3    
ii  libxdmcp6              1:1.1.0-3
ii  lightdm-gtk-greeter    1.0.3-1  

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.6+9

Versions of packages lightdm suggests:
pn  accountsservice  <none>

-- Configuration Files:
/etc/lightdm/lightdm.conf changed:
[LightDM]
seats=Seat:0 Seat:1
[SeatDefaults]
xserver-allow-tcp=false
greeter-hide-users=false
user-session=lightdm-xsession
allow-guest=false
session-wrapper=/etc/X11/Xsession
greeter-setup-script=/usr/bin/numlockx on
session-setup-script=/usr/bin/numlockx off
[XDMCPServer]
[VNCServer]
[Seat:0]
vt=7
[Seat:1]
vt=8


-- debconf information:
  lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: lightdm




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#644917; Package lightdm. (Mon, 10 Oct 2011 20:12:07 GMT) (full text, mbox, link).


Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Mon, 10 Oct 2011 20:12:07 GMT) (full text, mbox, link).


Message #10 received at 644917@bugs.debian.org (full text, mbox, reply):

From: Yves-Alexis Perez <corsac@debian.org>
To: Pascal Dormeau <pdormeau@free.fr>, 644917@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#644917: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Mon, 10 Oct 2011 22:08:48 +0200
[Message part 1 (text/plain, inline)]
On lun., 2011-10-10 at 19:45 +0200, Pascal Dormeau wrote:
> This occurs when upgrading lightdm from 1.0.2-1 to 1.0.3-1.
> user-session is set to lightdm-xsession that should pass default
> as argument to /etc/X11/Xsession, but "(null)" argument is passed.
> This can be seen in xsession-errors:
> 
> Xsession: unable to launch "(null)" X session --- "(null)" not found;
> falling back to default session.
> 
> This has no visible drawback except when x11-utils is installed.
> In such case, xmessage exposes the error message and the user has
> to acknowledge it before allowing the (default) session to be
> launched.
> 
> 
Yeah, I experienced that too, I didn't check what is the difference with
previous versions, but will try to investigate when I have time.

Regards,
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#644917; Package lightdm. (Thu, 27 Oct 2011 11:13:27 GMT) (full text, mbox, link).


Acknowledgement sent to jr h <jrhervas@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Thu, 27 Oct 2011 11:13:37 GMT) (full text, mbox, link).


Message #15 received at 644917@bugs.debian.org (full text, mbox, reply):

From: jr h <jrhervas@gmail.com>
To: 644917@bugs.debian.org
Subject: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Thu, 27 Oct 2011 12:35:12 +0200
[Message part 1 (text/plain, inline)]
Hello.

I hope to have the solution.

The problem is in /usr/share/xsessions/lightdm-xsession.desktop.
The key "Exec=default" should be replaced for "Exec=startxfce4", for
example. Now, the default session will be XFCE.

For other window-managers I don't know the key value, but you can search
this value in another file *.desktop into /usr/share/xsessions/.
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#644917; Package lightdm. (Thu, 27 Oct 2011 11:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Thu, 27 Oct 2011 11:27:04 GMT) (full text, mbox, link).


Message #20 received at 644917@bugs.debian.org (full text, mbox, reply):

From: Yves-Alexis Perez <corsac@debian.org>
To: jr h <jrhervas@gmail.com>, 644917@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#644917: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Thu, 27 Oct 2011 13:25:46 +0200
On jeu., 2011-10-27 at 12:35 +0200, jr h wrote:
> Hello.
> 
> I hope to have the solution. 
> 
> The problem is in /usr/share/xsessions/lightdm-xsession.desktop. 
> The key "Exec=default" should be replaced for "Exec=startxfce4", for
> example. Now, the default session will be XFCE. 
> 
> For other window-managers I don't know the key value, but you can
> search this value in another file *.desktop
> into /usr/share/xsessions/.

You seem to have misunderstood what this default session is about. If
you want to start Xfce, use the Xfce session. The default session is
used to run the user .xsession script. To do that, we just use the
default argument so /etc/X11/Xsession will default to use that. I didn't
yet investigate why we had that warning in recent lightdm version but
your workaround is unlikely to fix anything.

Regards,
-- 
Yves-Alexis





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#644917; Package lightdm. (Fri, 04 Nov 2011 11:48:46 GMT) (full text, mbox, link).


Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Fri, 04 Nov 2011 11:48:50 GMT) (full text, mbox, link).


Message #25 received at 644917@bugs.debian.org (full text, mbox, reply):

From: Yves-Alexis Perez <corsac@debian.org>
To: Pascal Dormeau <pdormeau@free.fr>, 644917@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#644917: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Fri, 04 Nov 2011 12:47:09 +0100
On lun., 2011-10-10 at 19:45 +0200, Pascal Dormeau wrote:
> This occurs when upgrading lightdm from 1.0.2-1 to 1.0.3-1.
> user-session is set to lightdm-xsession that should pass default
> as argument to /etc/X11/Xsession, but "(null)" argument is passed.
> This can be seen in xsession-errors: 

By the way, it seems fixed in 1.0.4-1, could you check and report back?

Regards,
-- 
Yves-Alexis





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#644917; Package lightdm. (Sat, 12 Nov 2011 16:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pascal Dormeau <pdormeau@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sat, 12 Nov 2011 16:54:03 GMT) (full text, mbox, link).


Message #30 received at 644917@bugs.debian.org (full text, mbox, reply):

From: Pascal Dormeau <pdormeau@free.fr>
To: 644917@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#644917: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Sat, 12 Nov 2011 17:55:09 +0100
On Fri, 04 Nov 2011 12:47:09 +0100
Yves-Alexis Perez <corsac@debian.org> wrote:
> By the way, it seems fixed in 1.0.4-1, could you check and report
> back?

Hello Yves-Alexis,
I tested 1.0.6-1 version and the problem no more exists.
This bug can be closed now.
Thanks a lot,

Pascal Dormeau




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#644917; Package lightdm. (Sat, 12 Nov 2011 22:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Adam C. Emerson" <azure@umich.edu>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sat, 12 Nov 2011 22:57:04 GMT) (full text, mbox, link).


Message #35 received at 644917@bugs.debian.org (full text, mbox, reply):

From: "Adam C. Emerson" <azure@umich.edu>
To: Debian Bug Tracking System <644917@bugs.debian.org>
Subject: Re: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Sat, 12 Nov 2011 17:54:55 -0500
Package: lightdm
Version: 1.0.6-1
Followup-For: Bug #644917

This bug still exists for me in version 1.0.6-1.  I downloaded the
source package and compared the provided lightdm-xsession.desktop with
the one I have installed, and I'm up to date in that regard.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lightdm depends on:
ii  adduser                3.113    
ii  consolekit             0.4.5-1  
ii  dbus                   1.4.16-1 
ii  debconf [debconf-2.0]  1.5.40   
ii  libc6                  2.13-21  
ii  libglib2.0-0           2.28.8-1 
ii  libpam0g               1.1.3-4  
ii  libxcb1                1.7-3    
ii  libxdmcp6              1:1.1.0-3
ii  lightdm-gtk-greeter    1.0.6-1  

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.6+9

Versions of packages lightdm suggests:
ii  accountsservice  0.6.15-1

-- debconf information:
  lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: lightdm




Reply sent to Yves-Alexis Perez <corsac@debian.org>:
You have taken responsibility. (Sun, 13 Nov 2011 17:21:04 GMT) (full text, mbox, link).


Notification sent to Pascal Dormeau <pdormeau@free.fr>:
Bug acknowledged by developer. (Sun, 13 Nov 2011 17:21:04 GMT) (full text, mbox, link).


Message #40 received at 644917-done@bugs.debian.org (full text, mbox, reply):

From: Yves-Alexis Perez <corsac@debian.org>
To: Pascal Dormeau <pdormeau@free.fr>
Cc: 644917-done@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#644917: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Sun, 13 Nov 2011 18:18:27 +0100
[Message part 1 (text/plain, inline)]
Version: 1.0.6-1
On sam., 2011-11-12 at 17:53 +0100, Pascal Dormeau wrote:
> On Fri, 04 Nov 2011 12:47:09 +0100
> Yves-Alexis Perez <corsac@debian.org> wrote:
> > By the way, it seems fixed in 1.0.4-1, could you check and report
> > back?
> 
> Hello Yves-Alexis,
> I tested 1.0.6-1 version and the problem no more exists.
> This bug can be closed now.
> Thanks a lot,
> 
> Pascal Dormeau

Thanks, closing
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#644917; Package lightdm. (Sat, 25 Feb 2012 13:54:29 GMT) (full text, mbox, link).


Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Sat, 25 Feb 2012 13:54:30 GMT) (full text, mbox, link).


Message #45 received at 644917@bugs.debian.org (full text, mbox, reply):

From: Yves-Alexis Perez <corsac@debian.org>
To: "Adam C. Emerson" <azure@umich.edu>, 644917@bugs.debian.org
Subject: Re: [Pkg-xfce-devel] Bug#644917: lightdm: (null) is passed as argument to /etc/X11/Xsession
Date: Sat, 25 Feb 2012 14:50:17 +0100
[Message part 1 (text/plain, inline)]
On sam., 2011-11-12 at 17:54 -0500, Adam C. Emerson wrote:
> Package: lightdm
> Version: 1.0.6-1
> Followup-For: Bug #644917
> 
> This bug still exists for me in version 1.0.6-1.  I downloaded the
> source package and compared the provided lightdm-xsession.desktop with
> the one I have installed, and I'm up to date in that regard. 

I didn't experience that on any of my boxes so it's unlikely to be the
same thing. Could you be a little more specific?

Regards,
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Bug No longer marked as found in versions lightdm/1.0.6-1. Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Sat, 25 Feb 2012 14:21:07 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 25 Mar 2012 07:34:47 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri May 3 13:41:31 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.