3/23/2023 0 Comments Opencv for mac eclipseMacBook-Pro:opencv-gui csaftoiu$ DISPLAY=127.0.0.1:0 xterm The following do not work though, not sure why based on the answer here: xterm: Xt error: Can't open display: localhost:0 This value works from a regular OSX too: $ DISPLAY=:0 xterm Srw-rw-rw- 1 csaftoiu wheel 0B May 6 21:12 /private/tmp/.3wncZULdXC/:0 MacBook-Pro:opencv-gui csaftoiu$ ls -alh $DISPLAY The pseudo-file exists, though: MacBook-Pro:opencv-gui csaftoiu$ echo $DISPLAY Xterm: Xt error: Can't open display: /private/tmp/.3wncZULdXC/:0 Testing it out, if I try to open an xterm, it does not work: MacBook-Pro:opencv-gui csaftoiu$ xterm I’ve installed it via homebrew, via brew cask install xquartz. I believe my question may be answered by just the first part, but just in case (to avoid the XY problem), I’ve provided the second part as well. I’m attempting to get XQuartz to work on OSX so I can do X11 forwarding via Docker.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |