Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118878 - Two instances of thunderbird-1.5 with different profiles
Summary: Two instances of thunderbird-1.5 with different profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-13 06:49 UTC by Uwe Klosa
Modified: 2006-12-06 04:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Klosa 2006-01-13 06:49:55 UTC
With thunderbird-1.5 it isn't possible anymore to start two instance of thunderbird with two different profiles.

"thunderbird -p job" starts, but then a "thunderbird -p private" does not start. Could this be related to the -ProfileManager bug?


=======================

Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-suspend2 i686)
=================================================================
System uname: 2.6.15-suspend2 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.0_pre13
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="Yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en sv it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.ub.uu.se/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dba directfb divx4linux dts eds emboss encode esd exif expat fam ffmpeg firefox flac fommaticdb foomaticdb fortran gd gdbm gif gimpprint glut gmp gpm gstreamer gtk gtk2 guile hal idn imagemagick imlib ipv6 java jce jikes jpeg junit kde lcms ldap libg libg++ libwww lua mad mikmod mmx mmxext mng motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl oss other_var1 other_var2 pam pcre pda pdflib perl png postgres ppds python qt quicktime radeon readline samba scanner sdl spell sse ssl svg tcltk tcpd tetex thunderbird tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wavelan webdav xine xml xml2 xmms xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_sv linguas_it userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-13 06:51:30 UTC
Profiles must die... :X
Comment 2 Uwe Klosa 2006-01-13 07:06:52 UTC
When I try to start thunderbird the second time without a profile I get these messages:

/usr/lib/mozilla-thunderbird/mozilla-xremote-client: Error: Failed to send command: 500 command not parseable
/usr/lib/mozilla-thunderbird/mozilla-xremote-client: Error: Failed to find a running server.
Comment 3 slynn@granite-mtn.net 2006-02-01 11:04:25 UTC
I have been having the same problem too, and _unfortunately_ I must keep multiple profiles for the clients I have.

Fortunately I found how to launch multiple profiles in T-Bird 1.5. 

The key is to set the environment variable:

    MOZ_NO_REMOTE=1

as described in (there's probably a Linux URL too, but this works...):

    http://developer.mozilla.org/en/docs/Debugging_Mozilla_on_Windows_FAQ#twomoz

You can run this in several different ways, listed in order of increasing effects on the system:

1. Xfce4, Gnome, KDE, etc... launcher - either put the var in your .bash_profile or on the launcher line (MOZ_NO_REMOTE=1 /usr/bin/thunderbird -P <myprofile> ).  Sometimes the launchers dont' like this, sometimes they do.  Affects only the user and only the single launcher.

2. local .bash_profile - put export MOZ_NO_REMOTE in your .bash_profile and run thunderbird -P <myprofile>.  Affects only the user.

3. Edit /usr/bin/thunderbird and add the var to the variables list.  Affects all T-Bird users on the system, but is per-T-Bird install.

4. Edit /usr/libexec/mozilla-launcher and add the variable either as a whole or to just the T-Bird section.

I've tested all these and they "work for me".  I would recommend putting this variable in (my favorite) /usr/bin/thunderbird.  This affects system-wide, but isolates the change and (I think) makes it more managable wrt T-Bird future changes.

Does anybody know of side effects of this variable?
Comment 4 Uwe Klosa 2006-02-02 01:04:25 UTC
Tanks for this solution. Works for me.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2006-03-09 13:00:31 UTC
Fixed in mozilla-launcher-1.50 until upstream breaks it again
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2006-12-06 04:57:50 UTC
(In reply to comment #0)
> "thunderbird -p job" starts, but then a "thunderbird -p private" does not

note that you should use big p: 'P' instead of small 'p'.
( thunderbird --help )

With 1.5, I can run two different profiles under the same X cession (thus same UNIX user):
thunderbird -ProfileManager
then choose in the list ... of course, no more than one cession per profile at the time :)

I never use -P, only -ProfileManager .