Global "X11/Xsession" script is not sourced in "kdm/Xsession" script

Bug #688393 reported by MyXelf
56
This bug affects 15 people
Affects Status Importance Assigned to Milestone
kdebase-workspace (Ubuntu)
Fix Released
High
Felix Geyer
Natty
Fix Released
High
Felix Geyer

Bug Description

Binary package hint: kdebase-workspace

Hi:

kdebase-workspace (4:4.5.85-0ubuntu1~maverick1~ppa1) -> kdm (4:4.5.85-0ubuntu1~maverick1~ppa1)

This is happening since I upgraded from KDE 4.5.4 to KDE 4.6 beta1. Today I upgraded to KDE 4.6 beta2, and the problem persists.

The script located in /etc/X11/Xsession is not sourced from /etc/kde4/kdm/Xsession. I checked a previous version of the kdm/Xsession file and at the end was the following lines:

# invoke global X session script
. /etc/X11/Xsession

Due to the new nature of the script, I suspect a lot of things are changing, and maybe the global Xsession file should be sourced from some other point, but for sure that place doesn't exist right now.

By not running the global script you lose some functionalities (i.e. SSH agent)

I thought this could be directly related to KDE beta versions, so I reported here (https://bugs.kde.org/show_bug.cgi?id=259368) but the answer was it's Ubuntu's changes.

I hope this helps

MyXelf

Revision history for this message
zigi (ziegleka) wrote :

I can confirm this bug in KDE 4.6 beta 2 in Ubuntu natty.

tags: added: natty
Revision history for this message
gabrimonfa (gabrimonfa) wrote :

It seems to be an Ubuntu specific bug
https://bugs.kde.org/show_bug.cgi?id=259368#c1

What is the reason to use a different script from upstream?

Revision history for this message
Anton Piatek (anton-piatek) wrote :

I am also seeing this on Natty after recent updates - has anyone tried to locate the changed file in launchpad bzr?

Revision history for this message
Anton Piatek (anton-piatek) wrote :

The file seems to be stored as a static const char[] in kdm/kfrontend/genkdmconf.c in the source package.

None of the patches in debian/patches seem to change this area of the file. I can't find any source control for the source package, so I assume that these patches are not in any.

The attached patch should fix the issue

Revision history for this message
Anton Piatek (anton-piatek) wrote :
tags: added: patch
Felix Geyer (debfx)
Changed in kdebase-workspace (Ubuntu):
assignee: nobody → Felix Geyer (debfx)
status: New → In Progress
importance: Undecided → High
milestone: none → natty-alpha-2
tags: added: kubuntu
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase-workspace - 4:4.6.0a-0ubuntu1

---------------
kdebase-workspace (4:4.6.0a-0ubuntu1) natty; urgency=low

  [ Jonathan Riddell ]
  * New upstream release
  * Update kubuntu_103_kdm_theme.diff for 4.6 horos theme
  * Move ethais kdm theme to kdebase-workspace-wallpapers
  * Add link usr/share/wallpapers/kde-default.png into kdebase-workspace-data.links
    so we don't have to update Ubiquity and other bits each release

  [ Felix Geyer ]
  * Invoke global X session scripts on startup. (LP: #688393)
  * Don't remove the kdm upstart job when the package is purged as config
    files are already removed by dpkg. This made it impossible to purge kdm.
    (LP: #634707)
 -- Felix Geyer <email address hidden> Sat, 22 Jan 2011 17:36:22 +0100

Changed in kdebase-workspace (Ubuntu Natty):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.