首页 > 技术文章 > Unable to initialize gtk, is DISPLAY set properly?

renw 2017-11-07 08:58 原文

设置环境变量:

export DISPLAY=192.168.1.10:0.0
or
export DISPLAY=:0.0

推荐阅读