您尚未登录。

#1 2017-02-19 11:46:31

Ac
会员
注册时间: 2017-02-19
帖子: 15

求助:启动archlinux时报错,和log out xfce4时报错

我是用双显卡笔记本双系统装archlinux,已安装xf86-video-intel

能成功登陆,但启动时时报错如下:

nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid

能成功启动和log out xfce4,但log out后报错如下:

xf86EnableIOPorts: failed to set IOPL for I/O (Operation no permitted)
/usr/bin/startxfce4: X server already running on display :0
xfce4-session: No SSH authentication agent found
gpy-agent[366]: WARNING: "--write-env=file" is an obsolete option - it has no effect
gpy-agent[367]: gpg-agent (GnuPG) 2.1.18 started
(xfce4-session:353): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
(xfce4-session:353): xfce4-session-WARNING **: xfsm_manager_load_session: Something wrong with /home/ac/.cache/session/xfce4-session-ENIAC:0, Does it exist? Permission issue?
(xfsettingsd:379): xfsettingsd-WARNING **:Failed to get the _NET_NUMBER_OF_DESKTOPS property.
(xfce4-session:353): Gtk-CRITICAL **: IA_gtk_widget_set_visible: assertion 'GTK_IS_WIDGET(widget)' failed
(xfce4-session:353): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

离线

#2 2017-02-19 11:57:55

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

/Xorg.0.log 中WW和EE内容如下:

(WW) The directory "usr/share/fonts/Type1/" does not exist.
(WW) 'fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/"
(WW) 'fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/"
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Warning, couldn't open module nouveau
(EE) Failed to load module "nouvear" (module does not exist, 0)
(WW) Warning, couldn't open module nv
(EE) Failed to load module "nv" (module does not exist, 0)
(WW) Warning, couldn't open module fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
(WW) Warning, couldn't open module vesa
(EE) Failed to load module "vesa" (module does not exist, 0)
(WW) Failing back to old probe method for modesetting

离线

#3 2017-02-19 11:58:48

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

貌似是跟nv的显卡有关?

离线

#4 2017-02-19 18:17:47

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

但是我没安装nv驱动也会有影响?

离线

#5 2017-02-19 20:47:49

luxni
会员
注册时间: 2014-06-08
帖子: 280

Re: 求助:启动archlinux时报错,和log out xfce4时报错

内核检测到你有这个硬件,但你没有安装这些驱动,Xorg就报个warning,没啥大不了的。

X已经起来了。

你可以把它们列入blacklist里,看看它们还出现不。


虽然人菜菜的,但也想做个有趣的人。

离线

#6 2017-02-19 23:09:05

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

luxni 说:

内核检测到你有这个硬件,但你没有安装这些驱动,Xorg就报个warning,没啥大不了的。

X已经起来了。

你可以把它们列入blacklist里,看看它们还出现不。

我一直很在意

xf86EnableIOPorts: failed to set IOPL for I/O (Operation no permitted)

这个不管也不会有影响??

离线

#7 2017-02-20 16:12:09

luxni
会员
注册时间: 2014-06-08
帖子: 280

Re: 求助:启动archlinux时报错,和log out xfce4时报错

额,这个我还真不清楚,查了下baidu,

http://www.linuxquestions.org/questions … -o-520854/

该位兄弟说,要在ROOT权限下运行Xorg。


虽然人菜菜的,但也想做个有趣的人。

离线

#8 2017-02-20 19:16:38

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

luxni 说:

额,这个我还真不清楚,查了下baidu,

http://www.linuxquestions.org/questions … -o-520854/

该位兄弟说,要在ROOT权限下运行Xorg。

root敢死队。。。不过用root startxfce4居然真的没有报错。。。服了

离线

#9 2017-02-20 19:25:35

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

luxni 说:

额,这个我还真不清楚,查了下baidu,

http://www.linuxquestions.org/questions … -o-520854/

该位兄弟说,要在ROOT权限下运行Xorg。

不过依然有gpg-agent warning,查了一下是这货跟gnugp(用于文件加密??)有关,但我貌似没搞相关的东西,怎么就有这个wanrning?

离线

#10 2017-02-20 20:08:25

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 求助:启动archlinux时报错,和log out xfce4时报错

用 root 跑 Xorg,不是用 root 跑 xfce。

离线

#11 2017-02-20 20:59:13

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

依云 说:

用 root 跑 Xorg,不是用 root 跑 xfce。

仙子大大,如果不用root启动Xorg会有什么影响吗

离线

#12 2017-02-20 21:35:13

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 求助:启动archlinux时报错,和log out xfce4时报错

Ac 说:

仙子大大,如果不用root启动Xorg会有什么影响吗

别那样叫我。我也不知道。

离线

#13 2017-02-21 11:19:48

luxni
会员
注册时间: 2014-06-08
帖子: 280

Re: 求助:启动archlinux时报错,和log out xfce4时报错

Ac 说:
luxni 说:

额,这个我还真不清楚,查了下baidu,

http://www.linuxquestions.org/questions … -o-520854/

该位兄弟说,要在ROOT权限下运行Xorg。

root敢死队。。。不过用root startxfce4居然真的没有报错。。。服了

首先,我想说的是,要用root启动X服务,

如果不用ROOT权限启动的话,你的X配置文件就生成不了,有些与Xorg相关的程序也启动不了(没有权限运行,当然X也是可以运行的,只是用不了)

你root startxfce4 其实是用了root用户启动xfce4 ,xfce4默认是不推荐用root启动的,所以报了个warning。

虽然说我也是个菜鸟,但我个人希望你自己能好好折腾下,久了就明白了。


虽然人菜菜的,但也想做个有趣的人。

离线

#14 2017-02-21 18:26:29

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

luxni 说:

首先,我想说的是,要用root启动X服务,
如果不用ROOT权限启动的话,你的X配置文件就生成不了,有些与Xorg相关的程序也启动不了(没有权限运行,当然X也是可以运行的,只是用不了)

我用chmod u+s xinit Xorg 后重新启动xfce 再退出依然会出现那个错误,略头疼,虽然暂时不影响使用

luxni 说:

你root startxfce4 其实是用了root用户启动xfce4 ,xfce4默认是不推荐用root启动的,所以报了个warning。

warning貌似与root无关,普通用户金xfce也会包这个warning

luxni 说:

虽然说我也是个菜鸟,但我个人希望你自己能好好折腾下,久了就明白了。

刚碰linux两天的我更是菜鸟中的菜鸟,不过我会继续折腾

离线

#15 2017-02-21 18:27:55

Ac
会员
注册时间: 2017-02-19
帖子: 15

Re: 求助:启动archlinux时报错,和log out xfce4时报错

依云 说:
Ac 说:

仙子大大,如果不用root启动Xorg会有什么影响吗

别那样叫我。我也不知道。

对更碰linux两天的我来说,能给别人解答的都很nb

离线

页脚