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 - Using OO with simple finder/ x11 (Mac OS 10.2.6)
Using OO with simple finder/ x11 (Mac OS 10.2.6)
 
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support
View previous topic :: View next topic  
Author Message
march123
Guest





PostPosted: Mon Sep 29, 2003 12:32 pm    Post subject: Using OO with simple finder/ x11 (Mac OS 10.2.6)

I'm trying to configure some stock 1books with 256 mg ram for use by some junior high students. I do not want them to have system access and prefer the simple finder. Can this work? So far I've been able to get OpenOffice startup to open X11, but have not been able to get OO to start. Any help would be greatly appreciated.

By the way, OO works fine when I have full access as administrator.

Thanks in advance!
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Mon Sep 29, 2003 11:39 pm    Post subject:

Hmm...there are two possibilities I can think of. First, are you using Apple X11, or XFree86? I recall there being a lock file with Apple X11 that can be an issue for multiple users, but if X11 is launching OK that's hopefully not the issue.

I suspect you're running into difficulties with user accounts that weren't part of the initial installation. The OOo X11 GM received the majority of testing under single user accounts and there are some errors in how it handles multiple user accounts.

What error message, if any, is Start OOo giving you? Are you getting a "Could not find OpenOffice.org" error? If so, are the user accounts in /Users and not network mounted or on a different partition? If they are in /Users, you may be running into a difficulty with the startup script. Try running OpenOffice.org first from a Terminal. You can do this in a Terminal with the following incantation after launching XDarwin/X11.app (each individual command is separated by a line of whitespace...there are no explicit line breaks in any of the commands that you type):


setenv DISPLAY localhost:0.0

setenv DYLD_LIBRARY_PATH /Applications/OpenOffice.org1.0.3/program:/Applications/OpenOffice.org1.0.3/program/filter

cd /Applications/OpenOffice.org1.0.3/program

sh soffice


See if that will start OpenOffice.org, or report back any error messages that you might get. That'll narrow the problem down to whether it's a ".sversionrc" file problem (the magic file OOo needs in every user's home directory to tell it where OOo is) or whether it's some type of permissions problem elsewhere in the install.

ed
Back to top
Guest






PostPosted: Tue Sep 30, 2003 10:04 am    Post subject:

First, answers to your questions. I am using Apple X11. It does seem to launch without problems.

Yes, I think you are right with your solution. This is a user account that was not the installation account during the installation of OO. I was not getting any error message prior to running your unix commands. The start application would launch and would launch x11, but then no OO.

I have entered your script and have received the following error message:

Application cannot be started. The configuration file "/User/student4/.sversionrc" was not found. Do you want to start the setup application to check your installation?

I believe this is as you thought....an error in the script execution. I decided to try yes on the answer....I'm not sure this is what I want to do. It seems to be heading toward installing the program again?

Thanks for any further help that you can lend......thank for getting me this far.

Best wishes
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Tue Sep 30, 2003 10:34 pm    Post subject:

OK...are you using OOo 1.0.3 GM? If so, please open the "/Applications/OpenOffice.org1.0.3/program/soffice" script in TextEdit. Can you do a search for the text "create .sversionrc if necessary". This is just checking to see if your install has the multiuser support. If not, then chances are you're not on 1.0.3 GM Sad

If it is there, however, please do the following in a Terminal opened under that student4 account after you try starting soffice as before and report what you find:


ls ~/.sversionrc

cat ~/.sversionrc


Hopefully you should have a ~/.sversionrc file created by the multiuser support. The second line will then dump the contents of that file out to the Terminal. It'll be a URL with file:/// starting it. Can you check to see if the directory it points to exists? Checking for it in the finder should do. Theoretically it should be "/Users/student4/Library/Preferences/OpenOffice.org1.0.3".

If the .sversionrc file exists but that directory doesn't, then it'll nail down where the problem is. If the directory exists, can you check where the symbolic links are pointing to?

I'm thinking offhand that you may need to replace the "sh soffice &" in the series of steps with "./soffice &" looking at the regular expressions that are attempting to extract a full path to the script...that may be the source of the error in the script. I don't think the auto-installation may be able to handle the "sh" style invocation properly.

Sorry if this seems so technical...the automatic multiple user support is known to have definite issues in GM, but I've not encountered a complete failure of it like this yet Sad

ed
Back to top
Terry Teague
Guest





PostPosted: Wed Oct 01, 2003 1:05 am    Post subject: Re: Using OO with simple finder/ x11 (Mac OS 10.2.6)

march123 wrote:
I'm trying to configure some stock 1books with 256 mg ram for use by some junior high students. I do not want them to have system access and prefer the simple finder. Can this work? So far I've been able to get OpenOffice startup to open X11, but have not been able to get OO to start. Any help would be greatly appreciated.

By the way, OO works fine when I have full access as administrator.

Just curious how long you waited for OOo to start.

As an experiment I took a working confuguration (iBook 128MB RAM, Mac OS X 10.2.6, X11.app Beta 3, window-maker Window Manager, OOo 1.0.3GM installed with Admin account, later running OOo from a different non-Admin account), and changed the user's capabilities to use the Simple Finder.

In this Simple Finder mode, I launched "Start OpenOffice.org" (alias), and I did get one error message as X11.app launched, but I think this was related to my Window Manager.

After waiting a usual amount of time 30-60 secs, nothing seemed to be happening, so I was about to confirm your problem.

But after some more time, the OOo splash screen finally displayed, and OOo loaded correctly.

I was able to successfully load a previously saved document that was in the "/Users/Shared" folder.

This was definitely most odd - it appeared to take a lot more time to launch OOo than I remember - I suspect the Simple Finder interface has something to do with it - perhaps it was rebuilding a font cache or something.

I will keep an eye on things, and wait for your answers to Ed's questions before investigating further - i.e. "it works for me".

Regards, Terry
Back to top
march123
Guest





PostPosted: Wed Oct 01, 2003 4:15 pm    Post subject: Success

Hi guys, I believe we have success. It turns out to be both of your last comments that forced me to look again. First, I didn't realize till today that what I was running was 1.0.1.3beta. I logged onto the Indiana website a few days back and downloaded what I thought was 1.0.3. I even burned a CD and wrote 1.0.3 on the side of it. I should have caught this yesterday when I had to change Ed's commands to 1.0.1, but just thought it was the folder that was wrong. I did manage to download (from another site) the 1.0.3 gold master and load it. In the simple finder I saw the same slowdown that Terry referred to in his comments, but it does work without Ed's wonderful commands. I'm wondering if this might be pushing pretty hard on the 256mb of ram. I did notice the suggestion of 512mb.

Thanks again.....I feel like such a dunce....., but one last question for Terry. What is the "window-maker Window Manager" that you referred to in your settings? As I said earlier, I'm looking for a solution that will make OO as simple as possible for some Jr. High students (maybe for me too if I can't read version numbers) Very Happy Surprised

I was trying to use the COOOOL Application launcher, but it doesn't seem to like the simple finder at all. I have not been able to get it to appear as an application under simple finder. I guess I need to address this to the author.

Thanks many times over and best wishes
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Wed Oct 01, 2003 10:35 pm    Post subject:

Dude, glad to hear that the version was the problem. Phew! Otherwise something would have *really* been wrong...not that you may notice some little unusual things going wrong as is, but still... Wink

The "window-maker" style manager to which Terry is referring is called WindowMaker:

http://www.windowmaker.org/

I use it by default if I'm not using Apple X11. Basically, it makes an environment that's similar to OPENSTEP, and it's actually a part of GNUSTEP. It's really lightweight, which is why I like it, and I actually am still partial to OPENSTEP myself (thus my handle...) and just wish I had the skills to patch an 060 into my turbo cube. Anyway...

For junior high students, if you've got Apple X11 working it'll at least give you window borders that look like the regular OS X environment. That means you won't have to "train" them as to what is the close button for the window, what is the minimize/collapse button, etc. The user experience of OOo will already be somewhat confusing as it is if they're being trained in OS X applications, but at least having the tri-color chicklet buttons will help them.

Using windowmaker or another Unix window manager would cause the windows themselves to look different. The only application offhand I can think of in OS X that demonstrates this is the Stickies application. In a Stickies note, the close box, resize box, titlebar, etc., look nothing like any other OS X application. For those who used classic Mac OS or old stickies, it's easy to discern...but if you're looking for the red X it's nowhere to be found in stickies.

To preserve the red X for OOo windows, you'll need to stick either with Apple X11 or with the XFree86/OroborOSX combination that also mimics the Aqua look for window titlebars and grow-boxes in the lower right hand corner. Windowmaker also might confuse students with its second independent NeXTish Dock.

ed
Back to top
march123
Guest





PostPosted: Thu Oct 02, 2003 9:25 am    Post subject: chicklets and stuff

Sounds as if Apple X11 is my best choice.....stick with the chicklets. Let me say you're doing a great job helping those of us that of the newbie persuasion. All your comments are greatly appreciated.

Later

Dude....I mean Don Laughing
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.