X11 problem?

Jeremy Huddleston jeremyhu at macports.org
Mon Feb 9 11:09:56 PST 2009


On Feb 9, 2009, at 08:59, Bee wrote:

> Installed gnumeric from macport
> sudo port install gnumeric
>
> $ which gnumeric
> /opt/local/bin/gnumeric
>
> $ gnumeric
> Cannot open display:
> Run 'gnumeric --help' to see a full list of available command line  
> options.
>
> $ echo $PATH
> /usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/ 
> Bee/bin:/Users/Bee/sbin:/bin:/sbin:/usr/bin:/usr/sbin
>
> I can open X11, add gnumeric -- opt/local/bin/gnumeric to the menu  
> and it runs with a font problem that I posted earlier.
>
> Reading the "X11 problem?" post I get the feeling X11 is not needed  
> and I should be able to run gnumeric straight from the command line.
>
> How to?

If you're on Tiger, you need to run X11.app, then launch gnumeric from  
an xterm (or from the Applications menu).

If you're on Leopard, you can launch it from Terminal.app if you want  
to use Apple's provided X11.app or X11.app from  
xquartz.macosforge.org.  If you want to use X11.app from Macports, the  
method is the same as in Tiger (launch the X11.app, then launch  
gnumeric from within an xterm).

What was the gnumeric solution on the linux box you referenced?



More information about the macports-users mailing list