最近网络安装Arch有个问题

其他Linux/Unix/BSD/OSX等发行版讨论
回复
头像
chenjietao
帖子: 130
注册时间: 2010-09-21 1:50

最近网络安装Arch有个问题

#1

帖子 chenjietao » 2012-06-30 14:11

这几天在Vbox上安装Arch,并搭建openbox+tint2+pcmanfm+slim的桌面,但安装遇到了一个问题:
若选择从Archboot-2012.06的cdrom源安装好base,再更新,然后安装其它的,重启后一切正常,能从slim进入桌面,能挂载,托盘有显示nm-applet并能添加网络连接。

若选择从网络镜像源安装好base,按照之前的方法安装好其它软件,重启后不能从slim进入桌面(输入用户名和密码登录后又回到slim),从tty登录后能进入桌面,但不能挂载,托盘不显示nm-applet,不能添加网络连接。/var/log/Consolekit/history 显示几行这样的信息:
1340999236.481 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0


后来发现最新的的base组里不再包含linux-headers了,如果从网络镜像源安装时选上linux-headers,然后再安装其它的后来也一切正常。
如果等其它软件都安装好了,再去安装linux-headers,就还是不能解决问题。
可能是因为没装linux-headers时Consolekit不能识别系统会话,导致的打不开各种需要权限的功能。
所以为了避免安装好X后不能正常运行,最好在安装好基本系统后先装上linux-headers,再装桌面。

昨晚安装时突然就好了,看了一下旧系统发现更新了sysvinit。
:em11
上次由 chenjietao 在 2012-07-01 18:32,总共编辑 1 次。
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: 最近网络安装Arch有个问题

#2

帖子 cuihao » 2012-06-30 14:18

这不科学,linux-headers都是些文本文件……

比如我就没安装:

代码: 全选

cuihao@cuihao-arch ~ $ pacman -Ss linux-headers
core/linux-headers 3.4.4-2
    Header files and scripts for building modules for linux kernel
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
头像
chenjietao
帖子: 130
注册时间: 2010-09-21 1:50

Re: 最近网络安装Arch有个问题

#3

帖子 chenjietao » 2012-06-30 14:36

最近安装的才会这样,可能上个星期装的都还不会这样。
也有可能只有在Vbox中才会这样,因为我目前只能在VBox中安装了。
等过几天回家看看家里的电脑有没有装linux-headers,家里的也是上周才装的Arch。
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 最近网络安装Arch有个问题

#4

帖子 枫叶饭团 » 2012-06-30 16:19

不编译的话不要header也行吧,我因为要编译驱动所以必装的
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: 最近网络安装Arch有个问题

#5

帖子 cuihao » 2012-06-30 16:24

“1340999236.481 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0” 这句本来也不像什么错误输出。
我只能说,LZ碰上小概率事件…… 和header没有联系。
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
头像
jmw778s
帖子: 994
注册时间: 2009-10-16 11:13
来自: 福安
联系:

Re: 最近网络安装Arch有个问题

#6

帖子 jmw778s » 2012-06-30 19:27

你的桌面搭配与Archbang是一样的,不如换Archbang 安装吧
Acer 4738ZG-P22G50Mnkk 笔记本电脑
我用Windows 7 来这里装13的
晨★梦一柯南
帖子: 335
注册时间: 2010-12-28 17:03

Re: 最近网络安装Arch有个问题

#7

帖子 晨★梦一柯南 » 2012-06-30 20:26

http://log4d.com/2012/05/networkmanager ... onsolekit/

关于 NetworkManager / PolicyKit / ConsoleKit 的那些屌事
这篇文章有解决办法
头像
chenjietao
帖子: 130
注册时间: 2010-09-21 1:50

Re: 最近网络安装Arch有个问题

#8

帖子 chenjietao » 2012-06-30 23:10

cuihao 写了:“1340999236.481 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0” 这句本来也不像什么错误输出。
我只能说,LZ碰上小概率事件…… 和header没有联系。
如果只有一条那还不是错误输出,比如我现在正常启动的系统上这个文件是:
1340999236.481 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1340999236.643 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session1' session-type='x11' session-x11-display=':0.0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 session-creation-time='2012-06-29T19:47:16.546840Z'
1340999236.671 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session1'
1340999474.751 type=SEAT_SESSION_REMOVED : seat-id='Seat1' session-id='Session1' session-type='x11' session-x11-display=':0.0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 session-creation-time='2012-06-29T19:47:16.546840Z'
1340999474.817 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1340999484.071 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session2' session-type='x11' session-x11-display=':0.0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 session-creation-time='2012-06-29T19:51:24.017556Z'
1340999484.097 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session2'
1341003331.564 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1341003336.751 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session2'
1341003360.079 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1341003360.489 type=SEAT_SESSION_REMOVED : seat-id='Seat1' session-id='Session2' session-type='x11' session-x11-display=':0.0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 session-creation-time='2012-06-29T19:51:24.017556Z'
1341003402.947 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1341003403.093 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session1' session-type='' session-x11-display='' session-x11-display-device='' session-display-device='/dev/tty1' session-remote-host-name='' session-is-local=TRUE session-unix-user=0 session-creation-time='2012-06-29T20:56:43.023402Z'
1341003403.118 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session1'
1341003597.720 type=SEAT_SESSION_REMOVED : seat-id='Seat1' session-id='Session1' session-type='' session-x11-display='' session-x11-display-device='' session-display-device='/dev/tty1' session-remote-host-name='' session-is-local=TRUE session-unix-user=0 session-creation-time='2012-06-29T20:56:43.023402Z'
1341003597.747 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1341003631.581 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1341003631.732 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session1' session-type='x11' session-x11-display=':0.0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 session-creation-time='2012-06-29T21:00:31.643327Z'
1341003631.756 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session1'
1341010843.600 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1341010843.907 type=SEAT_SESSION_REMOVED : seat-id='Seat1' session-id='Session1' session-type='x11' session-x11-display=':0.0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 session-creation-time='2012-06-29T21:00:31.643327Z'
1341033893.422 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1341033893.669 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session1' session-type='x11' session-x11-display=':0.0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 session-creation-time='2012-06-30T05:24:53.532312Z'
1341033893.696 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session1'
1341042445.016 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1341042445.237 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session1' session-type='x11' session-x11-display=':0.0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 session-creation-time='2012-06-30T07:47:25.081837Z'
1341042445.263 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session1'
而我那些不能启动的系统,这个文件的输出就是类似于:
1340999236.481 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1340999236.481 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1340999237.498 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1340999246.542 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1340999252.771 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1340999687.011 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1340999962.231 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1341000235.437 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1341001296.485 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
这不是小概率事件,这两天我在virtualbox上已经装了7、8次系统了,每次都是这样,只要先把linux-headers先装上就没事,能正常从slim进入桌面。如果没先装linux-headers,就死活过不了slim,此时再装上linux-headers也不管用。
头像
qy117121
论坛版主
帖子: 50587
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 最近网络安装Arch有个问题

#9

帖子 qy117121 » 2012-06-30 23:11

我会说我安装的是archbang么 :em01
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 chuan@ubuntu.org.cn
头像
chenjietao
帖子: 130
注册时间: 2010-09-21 1:50

Re: 最近网络安装Arch有个问题

#10

帖子 chenjietao » 2012-06-30 23:13

jmw778s 写了:你的桌面搭配与Archbang是一样的,不如换Archbang 安装吧
我就是自己构建Archbang,Archbang里面有些东西我不喜欢的我要去掉,加上自己喜欢的。 :em05
我是洁癖党 :em06
头像
chenjietao
帖子: 130
注册时间: 2010-09-21 1:50

Re: 最近网络安装Arch有个问题

#11

帖子 chenjietao » 2012-06-30 23:16

晨★梦一柯南 写了:http://log4d.com/2012/05/networkmanager ... onsolekit/

关于 NetworkManager / PolicyKit / ConsoleKit 的那些屌事
这篇文章有解决办法
我的~/.xinitrc是

代码: 全选

exec dbus-launch openbox-session
前几天就知道不用加ck-launch-session了,这篇文章难道连dbus-launch也不用加了吗?
晨★梦一柯南
帖子: 335
注册时间: 2010-12-28 17:03

Re: 最近网络安装Arch有个问题

#12

帖子 晨★梦一柯南 » 2012-06-30 23:25

我的这个问题直接把slim去掉就好了
回复