Mozilla Thunderbird doesn't restart when Kubuntu session is reloaded

Bug #49534 reported by Manuel McLure
12
Affects Status Importance Assigned to Milestone
mozilla-thunderbird (Ubuntu)
Fix Released
Undecided
Unassigned
thunderbird (Ubuntu)
Fix Released
Medium
Mozilla Bugs

Bug Description

Binary package hint: mozilla-thunderbird

Kubuntu Dapper Drake (6.06)

Install mozilla-thunderbird on Kubuntu.
Bring up a Thunderbird window in your KDE session, and then save the session (or allow it to be auto-saved when logging off KDE.)
Log in again - no Thunderbird.

Examination shows that although the executable for thunderbird is mozilla-thunderbird, KDE saves "thunderbird" in ~/.kde/share/config/ksmserverrc.
Hand-editing ksmserverrc and switching this to "mozilla-thunderbird" makes Thunderbird start on login (until the next session save.)

Revision history for this message
Rich Johnson (nixternal) wrote :

Is this issue still occurring? Have you completed all of the updates to recent? Does this bug appear in Edgy?

Changed in mozilla-thunderbird:
status: Unconfirmed → Needs Info
Revision history for this message
Manuel McLure (manuel-mclure) wrote :

I haven't tested with Edgy, but this is still an issue with the latest updates to Dapper.

The following shows up in the .kde/share/config/session/kwin_* file:

desktop5=2
fsrestore5=0,0,0,0
fullscreen5=0
geometry5=0,0,1600,1174
iconified5=false
keepBelow5=false
maximize5=3
resourceClass5=mozilla-thunderbird-bin
resourceName5=gecko
restore5=0,0,1287,959
sessionId5=
shaded5=false
shortcut5=
skipPager5=false
skipTaskbar5=false
staysOnTop5=false
sticky5=false
userNoBorder5=false
windowRole5=
windowType5=Normal
wmClientMachine5=localhost
wmCommand5=mozilla-thunderbird-bin

and I see the following in .xsession-errors:

...
kio (KLauncher): KLauncher: Got exec_blind('firefox', ...)
kdecore (KLibLoader): The KLibLoader contains the library kcm_nsplugins (0x81c6c60)
kdecore (KLibLoader): The KLibLoader contains the library kcm_khotkeys_init (0x81c0ad0)
kdecore (KLibLoader): The KLibLoader contains the library kcm_keyboard (0x81caf48)
kdecore (KLibLoader): The KLibLoader contains the library kcm_access (0x81db670)
kdecore (KLibLoader): The KLibLoader contains the library kcm_style (0x81ce220)
kdecore (KLibLoader): The KLibLoader contains the library kcm_bell (0x81c6348)
kdecore (KLibLoader): The KLibLoader contains the library kcm_laptop (0x81cb8b0)
kdecore (KLibLoader): The KLibLoader contains the library kcm_keys (0x81ca1a0)
kdecore (KLibLoader): The KLibLoader contains the library kcm_arts (0x81dd098)
kdecore (KLibLoader): The KLibLoader contains the library kcm_energy (0x81c5f70)
kdecore (KLibLoader): The KLibLoader contains the library kcm_input (0x81c1318)
DCOP: unregister 'kcminit'
kdeinit: Got EXEC_NEW 'firefox' from launcher.
Could not load library! Trying exec....
kio (KLauncher): firefox (pid 15820) up and running.
kio (KLauncher): KLauncher: Got exec_blind('thunderbird', ...)
kdeinit: Got EXEC_NEW 'thunderbird' from launcher.
Could not find 'thunderbird' executable.
kdeinit: PID 15822 terminated.
...

I've attached the complete kwin_* file and the complete xsession-errors.

Revision history for this message
Manuel McLure (manuel-mclure) wrote :
Revision history for this message
Manuel McLure (manuel-mclure) wrote :
Revision history for this message
Andrés Cirugeda (andres-cirugeda) wrote :

The bug also appears in Edgy.

As Manuel in Dapper, I get 'thunderbird' in ~/.kde/share/config/ksmserverrc and after a session restart I can see the same error line in ~/.xsession-errors:

Could not find 'thunderbird' executable.

I played a bit with the problem. If a 'thunderbird' executable is not found, I created one. I added a symlink in /usr/local/bin

ln -s /usr/bin/mozilla-thunderbird /usr/local/bin/thunderbird

After another session restart, there was still no thunderbird, but the error in ~/.xsession-errors had changed:

run-mozilla.sh: Cannot execute /usr/lib/mozilla-thunderbird/thunderbird-bin.

So, another symlink to create it

ln -s /usr/lib/mozilla-thunderbird/mozilla-thunderbird-bin /usr/lib/mozilla-thunderbird/thunderbird-bin

Now thunderbird is run with every session reload.

Hope this helps.

Revision history for this message
RobertBrunhuber (ubuntu-rbrunhuber) wrote :

Thanks for your bugreport. However this bugreport is marked as "needs info" at least for 3 months now but no further information was requested or provided.

If the problem persists please add a comment with updated information.
If the bug is fixed please close it.

Changed in mozilla-thunderbird:
importance: Undecided → Medium
Revision history for this message
Hilario J. Montoliu (hjmf) (hmontoliu) wrote :

Assigned to Mozilla Team

Changed in mozilla-thunderbird:
assignee: nobody → mozilla-bugs
Revision history for this message
Joerg Delker (ubuntu-delker) wrote :

I'm suffering from the same problem in Edgy and now as well in Feisty.

If there is any more information needed to fix this bug, please request it.

Revision history for this message
Someone (s4910321931-deactivatedaccount) wrote :

I have compiled thundebird 2.0 source package from gutsy on edgy and now thunderbird properly shows up on login.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

This is fixed in gutsy, where thunderbird is called as thunderbird, not as mozilla-thunderbird.

Changed in mozilla-thunderbird:
status: New → Fix Released
Changed in thunderbird:
status: Incomplete → Fix Released
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.