Maybe we can code up a way to detect this? Something akin to the .xinitrc warning? On Apr 2, 2008, at 3:07 PM, Jeremy Huddleston wrote:
Don't set DISPLAY in your .bashrc ... that's your problem.
On Apr 2, 2008, at 14:32, Shawn Protsman wrote:
Hi Jeremy,
Thanks for the reply. I tried your suggestion.
- Installed 2.2.0_rc2. Rebooted. - X11 is not running.
- @naiad ~] OOo [1] 18477
- (spawns a new Terminal window):
Last login: Wed Apr 2 14:19:02 on ttys006 @naiad ~] /Applications/OpenOffice.org\ 2.3.app/Contents/MacOS/ soffice ; exit; javaldx: Could not find a Java Runtime Environment! /Applications/OpenOffice.org 2.3.app/Contents/MacOS/soffice.bin X11 error: Can't open display: :0 Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details) logout
[Process completed]
- @naiad ~] grep "DISPLAY*" .bashrc export DISPLAY=:0
There were no new messages in Console.app. However, system.log displayed the following:
Apr 2 14:27:57 naiad login[18532]: USER_PROCESS: 18532 ttys008 Apr 2 14:28:26 naiad login[18532]: DEAD_PROCESS: 18532 ttys008
--Shawn
On Apr 1, 2008, at 9:08 AM, Jeremy Huddleston wrote:
You shouldn't need to have X11 already running for this to work. It should just connect to your $DISPLAY (which you aren't setting manually, right?).
I just run this:
/Applications/OpenOffice.org\ 2.3.app/Contents/MacOS/soffice
which should be the same as what you're doing. Can you please install 2.2.0_rc2 and try. This shouldn't "fix" the issue, but it will hopefully give a helpful message in Console.app that will indicate what is going on. So please look through Console.app's output and report the associated messages.
Thanks, Jeremy
On Apr 1, 2008, at 08:40, Shawn Protsman wrote:
I have a hunch this has been discussed in the past ... to overcome a few problems with XQuartz and OpenOffice.org I'm starting 'soffice' from the command line (from my .bash_aliases):
alias OOo='open /Applications/OpenOffice.org\ 2.3.app/Contents/ MacOS/soffice &'
This requires me to have X11 already running. I end up with two X11 icons in my dock. Is this normal behavior with XQuartz 2.1.4? Any suggestions? Tips?
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (X11-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/bbyer%40apple.com
This email sent to bbyer@apple.com