X session in Git Bash on Windows?

后端 未结 6 2005
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-19 13:20

I\'m using Git Bash on Windows. I have used Git Bash to SSH into a UNIX machine and tried to run a program with a GUI. I got the message: LINUX/UNIX system detected, but unable

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-19 13:49

    This Q is rather old, but anyway... I was (at last...) able to get this working using the ssh command from Git for Windows and XMing. All I had to do was to set the DISPLAY environment variable to localhost:0.0 (it was set to only :0.0).

提交回复
热议问题