Apache OpenOffice (AOO) Bugzilla – Issue 62847
OOo (OS X, X11 version) doesn't start if Lexmark X1100 printer installed
Last modified: 2008-05-16 03:33:17 UTC
When running OpenOffice 2.0.0 (X11 version) on Mac OS X (10.4.2), the startup script (main.applescript) doesn't start X11 if the Lexmark X1100 printer software is running. This happens because the script assumes that no other process will contain the string "X11" while it is checking to see if X11 is already running. As a temporary fix I was able to get OpenOffice running by changed the line, set now_running to do shell script "INX=`ps -wcx | grep \"" & whichserver & "\"`; echo $INX" in the method "startXServer()" to, set now_running to do shell script "INX=`ps -wcx | grep \"" & whichserver & "$\"`; echo $INX"
As the X11 process name doesnot contain anything other than X11, then there shouldn't be a problem integrating this fix.
Issue has been confirmed and a fix proposed. Changing issue status to new. James
ericb@all Thank you for the workaroound, because this sort of issue is not easy to track. FYI, main.applescript will change when macosxfondu will be integrated ericb->obr What is your opinion ?
The fix looks good to me. IMO we should not wait for macosxfondu to integrate it (but surely make sure macosxfondu doesn't break it again ;-)).
Lets create cws for this and the other ~"X11" issue now, please. Do we have to test for the already running X11 at all? Can't we use open-x11 mentioned at http://developer.apple.com/opensource/tools/runningX11.html?
I think the (current) macosxfondu cws will fix this issue also. using open-X11 would be elegant, but it is not currently possible, because we want to manually load keyboard extension while opening X11. I don't know if this could be a setting to com.apple.x11 preferences, but maybe we do not want to load this extension all the time, just for OpenOffice.org
mox: yes, but we can sometimes start when X11 is already opened, so _kb doesn't apply anyway... Yes, X11 is mess on Macs ;-)
Yes, but that is a different issue. The current scripts do not try to open X11 if it is already running. And it is impossible to close X11 without killing all current programs running on X11. Current situation is not the best, but I don't know how to make it better.
*** Issue 63605 has been marked as a duplicate of this issue. ***
Is the original problem now fixed with macosxfondu2?
This issue is curretnly not fixed with macosxfondu2, but will in a next cws Removing the dependency
set target to 2.0.4
fixed in macosxkbd
Verified, fixed in cws macosxkbd
This Issue is 'Verified' and not updated in 1yr+, so Closing. A Closed Issue is a Happy Issue (TM). Regards, Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, pre v3 ~