windows10通过putty连接ubuntu16.04运行python程序时出现问题:GtkWarning: could not open display
问题如标题所写
这个python程序需要打开ubuntu的浏览器界面, 可是通过putty遥控ubuntu时,程序显示/usr/lib/python2.7/dist-package/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display.
我在网上找了很多解决方法,有一个还算靠谱点儿,说我在打开putty session之前要选择SSH里的X11选项,把那个enable了才可以,然后我就试了试,我把这个enable之后再在putty上运行那个python程序,又多出来一条Warning: PuTTY X11 proxy: Unspported authorisation protocol。 这个出来之后我就觉得蒙圈了
请大神们指点