startx error[完结]

其他Linux/Unix/BSD/OSX等发行版讨论
回复
lethe
帖子: 98
注册时间: 2008-04-29 18:59

startx error[完结]

#1

帖子 lethe » 2013-09-16 10:25

#>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
肿么办
上次由 lethe 在 2013-09-16 16:49,总共编辑 1 次。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: startx error

#2

帖子 eexpress » 2013-09-16 10:51

file /usr/bin/startx
看下
head 或者 ls -l 也看下这文件嘛
● 鸣学
lethe
帖子: 98
注册时间: 2008-04-29 18:59

Re: startx error

#3

帖子 lethe » 2013-09-16 14:40

#>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*
文件是没问题的,以前可以,早上不知道更新了什么就进不去了
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: startx error

#4

帖子 eexpress » 2013-09-16 15:54

head 看一行嘛。
● head -n 1 /usr/bin/startx
#!/bin/sh

-rwxr-xr-x 1 root root 4.4K 8月 11 2011 /usr/bin/startx*
● 鸣学
lethe
帖子: 98
注册时间: 2008-04-29 18:59

Re: startx error

#5

帖子 lethe » 2013-09-16 16:48

第一行是空的。。
ee果然是大神
:em09
回复