标题: 用ubuntu 文件系统,运行QT程序时会报错X-SERVER [打印本页] 作者: miaotouyang 时间: 2017-6-22 14:59 标题: 用ubuntu 文件系统,运行QT程序时会报错X-SERVER cannot connect to X server
root@myimx6ek200:/opt# startx
hostname: Name or service not known
xauth: (stdin):1: bad display name "myimx6ek200:0" in "add" command
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
ddxSigGiveUp: Closing log
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyxinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
xauth: (argv):1: bad display name "myimx6ek200:0" in "remove" command