Jacob Fugal wrote:
I've been using Mozilla Thunderbird as my mail client for some time now and for the most part enjoying it. The only real problem I've had is that it won't launch for a regular user -- it only works as root.

I'm using version 0.3 (the latest gentoo gives me, just barely upgraded from 0.2 yesterday hoping it would fix it, but it didn't). I type 'MozillaThunderbird' at the prompt to launch the application, and 'which MozillaThunderbird' gives me /usr/bin/MozillaThunderbird either as myself or as root. Am I launching Thunderbird the wrong way, or might something else be wrong with my system? When I try to launch it as non-root there are no error messages, no core, nuthin'.

Ok, I've tracked the problem down some. /usr/bin/MozillaThunderbird is simply a bash script which invokes /usr/lib/MozillaThunderbird/thunderbird, itself yet another bash script which in turn invokes:


/usr/lib/MozillaThunderbird/run-mozilla.sh \
   /usr/lib/MozillaThunderbird/thunderbird-bin

Ok, so hunting through run-mozilla.sh I see it's pretty much a wrapper that sets up the environment then invokes its argument (thunderbird-bin in this case). Right after invoking /usr/lib/MozillaThunderbird/thunderbird-bin, the bash script catches the exit code, so I can handily echo that. As root, the exit code isn't echoed until I exit Thunderbird and has a value of zero, as expected. But as a regular user, the exit code for thunderbird-bin is 1. So thunderbird-bin is the one that's dying -- but how do I know *why* it's dying? I tried modifying the line in run-mozilla.sh where it invokes the program to catch any output:

"$prog" ${1+"$@"}

becomes

"$prog" ${1+"$@"} >> /path/error_text 2>> /path/error_text

But /path/error_text remains empty no matter how many times I try to run Thunderbird as myself. Is this just because thunderbird-bin is dying without explanation?

Jacob


____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to