菜鸟笔记---startx执行后显示Only console users are allowed to run the X server

输入startx &后报错信息

/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

意思是需要你在开发板接入的tty上执行startx,而不是用电脑显示的超级终端ttys0

你可能感兴趣的:(菜鸟笔记系列,linux,嵌入式)