Opening X applications from terminal.app
Brandon Allbery
allbery.b at gmail.com
Wed May 27 20:26:43 PDT 2015
On Wed, May 27, 2015 at 11:23 PM, Gustavo Seabra <gustavo.seabra at gmail.com>
wrote:
> From terminal.app:
> ~]$ xmgrace
> Can't open display
> Failed initializing GUI, exiting
> $ echo $DISPLAY
> (==> just a blank line)
> ~]$
>
> From XQuartz xterm application:
> ~]$ echo $DISPLAY
> :0
> ~]$ xmgrace
> (opens Grace normally)
>
Both of those are wrong --- they should both show the launchd socket. Which
makes me think one of your shell dotfiles (.profile .bash_profile .bashrc)
is doing something with $DISPLAY, possibly in ways that only make sense on
e.g. Linux.
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150527/42db4a8f/attachment.html>
More information about the macports-users
mailing list