Duplicate config files are sourced by Xsession

Bug #63981 reported by mannheim
This bug report is a duplicate of:  Bug #52685: x11-common installs dup files. Edit Remove
8
Affects Status Importance Assigned to Milestone
xinit (Ubuntu)
New
Undecided
Unassigned
xorg (Ubuntu)
New
Undecided
Unassigned

Bug Description

The Xsession script in /etc/X11/Xsession sources all the configuration files in the directory /etc/X11/Xsession.d. After upgrading dapper to edgy, that directory contains two differently-named versions (not exact duplicates) of several files. For example, the directory contains:

20x11-common_process-args
20xorg-common_process-args

30x11-common_xresources
30xorg-common_xresources

50x11-common_determine-startup
50xorg-common_determine-startup

90x11-common_ssh-agent
90xorg-common_ssh-agent

99x11-common_start
99xorg-common_start

The ones with "x11" in their names are from the package "x11-common" I believe, while the ones with "xorg" in their names are from the package "xinit".

The duplication of the ssh-agent script means (I think ...) that the $STARTUP command becomes

$SSHAGENT $SSHAGENT $STARTUP

which is not what is intended.

I do not know if this duplication occurs with a clean installation of edgy.

Revision history for this message
mannheim (kronheim) wrote :

I just tried the edgy Knot 3 live CD.

In the livecd filesystem, the above duplication does not occur: only the conf files with "x11" in their name appear in the directory /etc/X11/Xsession.d.

I guess that the duplicate "xorg" files were placed their by an earlier version of the package xinit (?) and were not removed by the edgy update.

At any rate, I have the following:

   dapper ----- has only the "xorg" named files
   Knot 3 ----- has only the "x11" named files
   upgrade ----- leaves both "xorg' and "x11"

Revision history for this message
kmwakak8 (kmwittig) wrote :

I have many X11 files. There is nothing in them, and certain programs I want to install require the X11 display...I can open up at least 1/6 dozen or more if I kept clicking.

I ran some older commands earlier, and it seemed to help, until I went to change my theme in Thunderbird, and the bird is dead. I click on it, the little envelope bounces around, then **poof** its gone. I get a screen of errors that appear so fast I don't think I'd be able to copy the errors.

I tried to un-install and reinstall to no avail; reinstall from synaptic to no avail, download from online with gwet- nada, nilch, zero, nothing.

I thought I'd try kmail. It had other plans....I will have working e-mail again, I just don't know which one...maybe one that WORKS. This is my 8th reinstallation. Knot # wouldn't install at all, so I went back to 2, and have run the updates.
I can only reconfig my entire system and network so many times....if I have to I will, but I'm pretty sure I'll be grumpy about it. :p

Revision history for this message
mannheim (kronheim) wrote :

I can confirm now this is reproducible with a default upgrade. Steps to reproduce:

1. install Ubuntu 6.06 (dapper) from the live CD.
2. Update daper to latest dapper packages and reboot.
3. Upgrade to edgy using "update-manager -c -d".
4. Reboot.
5. Start a gnome session, open a terminal and type:

   pgrep -c ssh-agent

Actual result: 2
Expected result: 1

The cause is the duplicate file in Xsession.d.

Revision history for this message
Brian Fallik (bfallik) wrote :

Does this bug cause your ssh-add to stop working? I'm trying to debug that problem on my laptop, and the symptoms sounds similar (recent upgrade to edgy, duplicate files, and 2 ssh-aggents running).

I'm wondering if this is the same bug, or I need to open a new one.

Revision history for this message
kmwakak8 (kmwittig) wrote :

actually I've reinstalled twice since then.

so far so good...I don't trust Xserver yet...I've stayed with KDE in edgy eft

Revision history for this message
Max Bowsher (maxb) wrote :

I'd like to add further confirmation of the issue.

The problem seems to be that a "Replaces: xinit (<= 1.0.2-0ubuntu3)" was added to x11-common, in an attempt to take care of the issue, but this did not work, because the files had also changed name.

Because of this name change, I think it is necessary for there to be a new version of xinit without the Xsession.d files released, and then a new version of x11-config which can then conflict with xinit less than the new version.

I'll add xinit to the 'affected' list of this bug, since I think fixing it will require action in both packages.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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