2011年3月30日星期三

solution to :cannot connect to X server :0.0

try this

"
$ xhost +local:root # where root is the local user you want to grant access to.
"

or

export DISPLAY=:0.0

没有评论:

发表评论