fix travis build Failed in XopenDisplay

Signed-off-by: coldnew <coldnew.tw@gmail.com>