Posted: Fri Jan 09, 2004 4:56 am Post subject: Ooo and multiusers with panther
Hi all,
I installed Ooo on panther, and it worked fine when I tried it (well, fined except that I can't print directly from it, but that will be another thread).
The problem is when Start openoffice is used by multiusers on this machine : Start openoffice is sticked on display 0:0, and when several users do have X11 launched, Start openofice cannot access their display. And I can't find out where Start openoffice fix the display...
Posted: Sat Jan 10, 2004 1:52 am Post subject: Re: Ooo and multiusers with panther
eric wrote:
I installed Ooo on panther, and it worked fine when I tried it (well, fined except that I can't print directly from it, but that will be another thread).
The problem is when Start openoffice is used by multiusers on this machine : Start openoffice is sticked on display 0:0, and when several users do have X11 launched, Start openofice cannot access their display. And I can't find out where Start openoffice fix the display...
Yes, this is a known problem in the current version of "Start OpenOffice.org" (v1.0b8), which was released before Panther was officially released.
Fortunately, one of my users (Randolph Brown - thanks!) has provided the following patch to the "Application.scpt" AppleScript (assumes you are familiar with an AppleScript Editor - the original lines marked with a leading "-" are to be replaced with the patch lines marked with the leading "+"; I have not tested this patch myself yet. Further instructions on modifying "Start OpenOffice.org" should be in the "Start OpenOffice.org" documentation.) :
-----
This is for 10.3 with the Apple X11.app.
Since the second user gets a different DISPLAY, it's hard to work out what
the variable should be, but open-x11 does this stuff for you. So in my
version I changed ('scuse the wacky formatting; I did the diff with copy and paste):
*** Application.old.txt Mon Nov 10 19:41:47 2003
--- Application.txt Mon Nov 10 19:40:44 2003
***************
*** 396,407 ****
set directToPSEnv to "export OOO_PRINT_PS_DIRECTLY=1;"
end if
- set theEnv to directToPSEnv & ¬
- "export DISPLAY=" & XDISPLAY & "; "
-
if whichXServer = 3 then
-- special case for X11.app
else
set theEnv to theEnv & ¬
"export DYLD_LIBRARY_PATH=\"" & ¬
oooInstallPath & "/program\":\"" & ¬
--- 396,409 ----
set directToPSEnv to "export OOO_PRINT_PS_DIRECTLY=1;"
end if
if whichXServer = 3 then
-- special case for X11.app
+ set theEnv to directToPSEnv
+ set thecmd to "open-x11 " & thecmd
else
+ set theEnv to directToPSEnv & ¬
+ "export DISPLAY=" & XDISPLAY & "; "
+
set theEnv to theEnv & ¬
"export DYLD_LIBRARY_PATH=\"" & ¬
oooInstallPath & "/program\":\"" & ¬
-----
This will be fixed in the next version of "Start OpenOffice.org".
thanks for posting this hack and thanks to Randolph Brown for the hack. I just tested it with one of the 1.1.0 builds and the official 1.0.3 build under panther and it works. OOo gets launched and with it Xfree and the gnome 2.4 desktop. Really nice to have this feature back in action.
I assume you know that a hacked Script doesn't launch OOo under Jaguar.
Posted: Mon Jan 19, 2004 1:50 am Post subject: Re: Mutiple users and OOo on Panther
Maveric wrote:
thanks for posting this hack and thanks to Randolph Brown for the hack. I just tested it with one of the 1.1.0 builds and the official 1.0.3 build under panther and it works. OOo gets launched and with it Xfree and the gnome 2.4 desktop. Really nice to have this feature back in action.
I assume you know that a hacked Script doesn't launch OOo under Jaguar.
I recently integrated the patch into the "Start OpenOffice.org" code, and ironically I had the opposite behaviour - Panther now doesn't work, and I think Jaguar continues to work. I probably screwed up something. Glad that it worked for you.
Posted: Mon Jan 19, 2004 3:46 am Post subject: Re: Mutiple users and OOo on Panther
Terry Teague wrote:
Maveric wrote:
thanks for posting this hack and thanks to Randolph Brown for the hack. I just tested it with one of the 1.1.0 builds and the official 1.0.3 build under panther and it works. OOo gets launched and with it Xfree and the gnome 2.4 desktop. Really nice to have this feature back in action.
I assume you know that a hacked Script doesn't launch OOo under Jaguar.
I recently integrated the patch into the "Start OpenOffice.org" code, and ironically I had the opposite behaviour - Panther now doesn't work, and I think Jaguar continues to work. I probably screwed up something. Glad that it worked for you.
Regards, Terry
Yes but it only worked as long as I had ESP Ghostscript installed. Yesterday after reading on various lists that ESP Ghostscript isn't needed any longer under Panther I downloaded the OS Package Manager and deinstalled ESP Ghostscript.
Now Xfree 4.3.99.901 starts up but OOo doesn't. So you may be right that somethings have to be cleaned out before releasing a Panther Startscript.
Posted: Tue Jan 20, 2004 1:56 am Post subject: Re: Mutiple users and OOo on Panther
Maveric wrote:
Yes but it only worked as long as I had ESP Ghostscript installed. Yesterday after reading on various lists that ESP Ghostscript isn't needed any longer under Panther I downloaded the OS Package Manager and deinstalled ESP Ghostscript.
I read that somewhere also - I don't know if it is true or not, but I certainly haven't removed ESP Ghostscript from my Panther system (then again I haven't tested any printing from that configuration).
Maveric wrote:
Now Xfree 4.3.99.901 starts up but OOo doesn't. So you may be right that somethings have to be cleaned out before releasing a Panther Startscript.
Just to be clear, this problem has nothing to do with "Start OpenOffice.org" - it doesn't know about nor care about ESP Ghostscript. You would have the same problem if you launched OOo from the command line or from the X11.app menus. However it may be an issue for a future OOo for Mac OS X installer
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum