Conky-for-macOS / conky-for-macOS

macOS port of the Light-weight system monitor for X.
https://github.com/Conky-for-macOS/conky-for-macOS/wiki
GNU General Public License v3.0
152 stars 9 forks source link

Conky can't open display #38

Closed matmunn closed 6 years ago

matmunn commented 6 years ago

The last couple of times I've built conky and tried to run it it always fails to start with conky: can't open display:

On a 15" MBP with fresh install of macOS 10.13.6 it doesn't show any device that it failed to open: image

On a 13" MBP that I've previously run conky for macOS on it shows a path to Xquartz, I'll attach to this issue when I next use it.

matmunn commented 6 years ago

13" MBP that has previously run Conky for macOS fails to open Xquartz:

 $ conky
conky: can't open display: /private/tmp/com.apple.launchd.pWK9XHRw5z/org.macosforge.xquartz:0

I've also tried reinstalling Xquartz on this machine with no difference

npyl commented 6 years ago

This is really weird, on my macbook 13'' it works fine. Could you please tell me the output of the command:

echo $DISPLAY

matmunn commented 6 years ago

It's blank

npyl commented 6 years ago

Do you have any other software using XQuartz? Does it run fine? An example would be InkScape

matmunn commented 6 years ago

I just built and installed InkScape, it started fine. After quitting conky still didn't start and $DISPLAY is still blank

matmunn commented 6 years ago

Ok weird, after building InkScape I had to reboot for an unrelated problem and now conky is starting. I'll close this for now, and try again on the 13" MBP later on

npyl commented 6 years ago

the first time you install xquartz you need to reboot (re-login suffices i think) in order for the DISPLAY to be set correctly and other things. Maybe that was the case?

matmunn commented 6 years ago

I've probably done something dumb like that, cheers for the help