Bug 236342
Summary: | Thunderbird fails to start when X is forwarded over SSH | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Underwood <jonathan.underwood> | ||||
Component: | thunderbird | Assignee: | Gecko Maintainer <gecko-bugs-nobody> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | mcepl | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-02-14 14:46:49 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jonathan Underwood
2007-04-13 11:04:15 UTC
Created attachment 152533 [details]
Output of strace -o strace.out thunderbird
Output of strace -o strace.out thunderbird
Is thunderbird already running on the box on the local console? Can you run "sh -x thunderbird" as well? Aha, Thunderbird was indeed running on the local box. Shutting down the local thunderbird allows the remote one to run. This is rather odd behaviour, very counterintuitive to the naive user (me :) )... is this by design? If it is by design, some sort of message explaining what is going on would be useful. With local thunderbird running, sh -x thunderbird gives: $ sh -x thunderbird + MOZ_LIB_DIR=/usr/lib + '[' -x /usr/lib64/thunderbird-1.5.0.10/thunderbird-bin ']' + MOZ_LIB_DIR=/usr/lib64 + MOZILLA_FIVE_HOME=/usr/lib64/thunderbird-1.5.0.10 + MRE_HOME=/usr/lib64/thunderbird-1.5.0.10 + export MOZILLA_FIVE_HOME MRE_HOME + MOZ_PROGRAM=/usr/lib64/thunderbird-1.5.0.10/thunderbird + MOZ_CLIENT_PROGRAM='/usr/lib64/thunderbird-1.5.0.10/thunderbird -remote' + MOZARGS= ++ check_running ++ /usr/lib64/thunderbird-1.5.0.10/thunderbird -remote 'ping()' ++ RETURN_VAL=0 ++ '[' 0 -eq 2 ']' ++ echo 1 ++ return 1 + ALREADY_RUNNING=1 + '[' -z '' ']' + '[' 1 -eq 1 ']' + exec /usr/lib64/thunderbird-1.5.0.10/thunderbird -remote 'xfeDoCommand(openInbox)' And without local thunderbird running: sh -x thunderbird + MOZ_LIB_DIR=/usr/lib + '[' -x /usr/lib64/thunderbird-1.5.0.10/thunderbird-bin ']' + MOZ_LIB_DIR=/usr/lib64 + MOZILLA_FIVE_HOME=/usr/lib64/thunderbird-1.5.0.10 + MRE_HOME=/usr/lib64/thunderbird-1.5.0.10 + export MOZILLA_FIVE_HOME MRE_HOME + MOZ_PROGRAM=/usr/lib64/thunderbird-1.5.0.10/thunderbird + MOZ_CLIENT_PROGRAM='/usr/lib64/thunderbird-1.5.0.10/thunderbird -remote' + MOZARGS= ++ check_running ++ /usr/lib64/thunderbird-1.5.0.10/thunderbird -remote 'ping()' ++ RETURN_VAL=2 ++ '[' 2 -eq 2 ']' ++ echo 0 ++ return 0 + ALREADY_RUNNING=0 + '[' -z '' ']' + '[' 0 -eq 1 ']' + rm_shit + find /home/jgu/.thunderbird -name XUL.mfasl + xargs rm -f + exec /usr/lib64/thunderbird-1.5.0.10/thunderbird Fedora Core 6 is no longer supported, could you please reproduce this with the updated version of the currently supported distribution (Fedora 7, 8, or Rawhide)? If this issue turns out to still be reproducible, please let us know in this bug report. If after a month's time we have not heard back from you, we will have to close this bug as CANTFIX. Setting status to NEEDINFO, and awaiting information from the reporter. [This is mass-filed message to all open Fedora Core 6 bugs related to Xorg or Gecko. If you see any other reason, why this bug shouldn't be closed, please, comment on it here.] Yes this problem is still present - I personally regard it as a design flaw rather than a bug - it's actually working as the packager intended, but I think that is misguided. Basically the thunderbird and firefox scripts have logic in them which says "If i am being asked to run on a remote X server, and there is a localinstance of thunderbird/firefox running on that machine, don't start". No other application behaves in this way, so why on earth would we want thunderbird/firefox to do this? With thunderbird 2.0, try: thunderbird -no-remote Although I personally don't like this behavior myself, Firefox/TB here behaves as documented, so this is not a bug in technical meaning of the word. Closing as NOTABUG |