当前位置: 技术问答>linux和unix
为什么cygwin下不能用XWINDOWS
来源: 互联网 发布时间:2015-08-08
本文导语: 我已经下载安装了完整的cygwin,一共2g多 但是还是不能用startx,系统提示如下: $ startx xinit: No such file or directory (errno 2): no server "X" in PATH Use the -- option, or make sure that /usr/X11R6/bin is in your path a...
我已经下载安装了完整的cygwin,一共2g多
但是还是不能用startx,系统提示如下:
$ startx
xinit: No such file or directory (errno 2): no server "X" in PATH
Use the -- option, or make sure that /usr/X11R6/bin is in your path and
that "X" is a program or a link to the right type of server
for your display. Possible server names include:
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
我在profile文件里加了路径,还是不对
PATH="/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:$PATH"
忘高手赐教!必给分!!!!
但是还是不能用startx,系统提示如下:
$ startx
xinit: No such file or directory (errno 2): no server "X" in PATH
Use the -- option, or make sure that /usr/X11R6/bin is in your path and
that "X" is a program or a link to the right type of server
for your display. Possible server names include:
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
我在profile文件里加了路径,还是不对
PATH="/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:$PATH"
忘高手赐教!必给分!!!!
|
到X的目录里运行,看看可以吗? 不可以的话,把出错信息贴出来
|
locate X
|
/etc/X11
|
xinit: No such file or directory (errno 2): no server "X" in PATH
|
去找个vmware之类的虚拟机吧