Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Ooo and multiusers with panther
Ooo and multiusers with panther
 
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support
View previous topic :: View next topic  
Author Message
eric
Guest





PostPosted: 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...

Thanks in advance for you help
Back to top
jimlaurent
Captain


Joined: Jun 23, 2003
Posts: 55

PostPosted: Fri Jan 09, 2004 12:13 pm    Post subject:

Perhaps a good reason to try NeoOffice/Java since it doesn't use X11.
Back to top
Terry Teague
Guest





PostPosted: 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".

Regards, Terry
[author of "Start OpenOffice.org"]
Back to top
Maveric
Guest





PostPosted: Sat Jan 17, 2004 5:58 am    Post subject:

Hi Terry,

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.

Eric Hoch
Back to top
Terry Teague
Guest





PostPosted: 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.

Regards, Terry
Back to top
Maveric
Guest





PostPosted: 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.

HTH

Eric
Back to top
Terry Teague
Guest





PostPosted: 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 Smile

Regards, Terry
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support All times are GMT - 7 Hours
Page 1 of 1

 
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

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.