• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
X11 boot time startup with openoffice - multiple questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

X11 boot time startup with openoffice - multiple questions


  • Subject: X11 boot time startup with openoffice - multiple questions
  • From: Bob Novak <email@hidden>
  • Date: Tue, 28 Mar 2006 00:02:55 -0500
  • Thread-topic: X11 boot time startup with openoffice - multiple questions

I am trying to start openoffice.org 1.1.2 as a daemon listening on port 8100
on Mac OS X (10.3.9 or 10.4.x) when the system boots.  I can now start X11
up (needed by openoffice) at boot time by using a startupitem and running
Xvfb.  This, and the command to start openoffice, are in a script used by
the StartupItem (for Tomcat actually).

Problem with this approach is that I need to be sure X is up before starting
OpenOffice - any reliable way to do that in a shell script?

Or, should I try using xinit to start the server and open office - e.g.

exec xinit ./sofficeStartup.sh -- /usr/X11R6/bin/Xvfb :0 &

OR

export DISPLAY=:0



export
DYLD_LIBRARY_PATH=/Applications/OpenOffice.org1.1.2/program:/Applications/Op
enOffice.org1.1.2/program/filter



exec xinit /Applications/OpenOffice.org1.1.2/program/soffice
"-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager"
-invisible > ../logs/so.out 2> ../so.err -- /usr/X11R6/bin/Xvfb :0

Note that both of these work when I have logged in; but for some reason will
NOT work from startup.

Any and all help will be appreciated.

Bob Novak


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

  • Prev by Date: Re: X11 Enhancements for Tiger
  • Next by Date: recompiling XServer
  • Previous by thread: Re: X11 Enhancements for Tiger
  • Next by thread: recompiling XServer
  • Index(es):
    • Date
    • Thread