分页: 1 / 1

startx error[完结]

发表于 : 2013-09-16 10:25
lethe
#>startx
Failed to execute process '/usr/bin/startx'. Reason:
exec: Exec format error
The file 'usr/bin/startx' is marked as an executable but could not be run by the operating system
肿么办

Re: startx error

发表于 : 2013-09-16 10:51
eexpress
file /usr/bin/startx
看下
head 或者 ls -l 也看下这文件嘛

Re: startx error

发表于 : 2013-09-16 14:40
lethe
#>file /usr/bin/startx
/usr/bin/startx: ASCII text
#>ls -l /usr/bin/startx
-rwxr-xr-x 1 root root 4857 [time] /usr/bin/startx*
文件是没问题的,以前可以,早上不知道更新了什么就进不去了

Re: startx error

发表于 : 2013-09-16 15:54
eexpress
head 看一行嘛。
● head -n 1 /usr/bin/startx
#!/bin/sh

-rwxr-xr-x 1 root root 4.4K 8月 11 2011 /usr/bin/startx*

Re: startx error

发表于 : 2013-09-16 16:48
lethe
第一行是空的。。
ee果然是大神
:em09