Lucila Alvarez Zuzek
Lucila Alvarez Zuzek

Reputation: 23

How can I fix the error in installing xmgrace in Mac Mojave?

I tried to install xmgrace via brew with the command brew install grace, but then following error occurs:

Can't open display Failed initializing GUI, exiting

I operate in the bash shell on a macOS Mojave10.14.6.

How can I fix the error?

Upvotes: 2

Views: 5658

Answers (1)

Arpit Jain
Arpit Jain

Reputation: 1315

You can try below command to solve your issue:

$ DISPLAY=:0.0 xmgrace

if it doesn’t solve the problem, you need to open XQuartz and then enter the following command:

$ DISPLAY=:0.0 xmgrace

Upvotes: 1

Related Questions