crontab 打开GUI export DISPLAY=:0 设定输出位置 /usr/bin/guicommand 命令 2>&1 >/dev/null & 将所有的消息置空 确保XWINDOW已起动!!