solve the Problems with X11 - Can't open display on MAC

how to solve the Problems with X11 - Can’t open display on MAC

how to solve the Problems with X11 - Can’t open display on MAC

  1. do commands on mac:
    defaults write com.apple.x11 nolisten_tcp -boolean false
    defaults write org.X.x11 nolisten_tcp -boolean false
    

2.install xquartz

download and install from https://www.xquartz.org/

  1. open xterm in xquartz and ssh to your target pc
    ssh -X root@x.x.x.x
    firefox #do your commands to start a gui app
    

thanks solution from Robert Jansen’s comments in app discussions

打赏一个呗

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦