您尚未登录。

#1 2015-02-20 23:50:08

lengyue
会员
注册时间: 2015-02-20
帖子: 1

archlinux新手,不能启动X服务

按照教程,安装了基本系统已经Xorg 的一些服务后还是不能启动X服务,没管继续安装了xfce4然后直接startxfce4 可以进入图形界面。但是这时候直接startx还是不能启动
如图
0253bcf87868de1c.png

直接使用startkde启动则提示
069f606ae5c7823b.png

求大神帮忙看看 那里错了
另外我使用的是VBOX虚拟机装的

离线

#2 2015-02-21 19:58:53

管毅
会员
注册时间: 2014-04-08
帖子: 326

Re: archlinux新手,不能启动X服务

.xinitrc文件有么?

离线

#3 2015-02-22 22:21:37

宗师梅川内酷
会员
注册时间: 2015-02-22
帖子: 4

Re: archlinux新手,不能启动X服务

搬运一个arch吧里的解决方案:
安装完毕之后发现不论是root还是普通用户,均无法启动x window。这是由于没有安装vbox的显示驱动程序,不过不要紧,我们依旧可以安装
pacman -S virtualbox-guest-utils
安装完毕之后手动载入vbox的模块
modprobe -a vboxguest vboxsf vboxvideo

离线

#4 2015-02-24 01:13:18

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

Re: archlinux新手,不能启动X服务

startkde 需要在 X 里运行,所以你把它写到 ~/.xinitrc 里去吧:

# 最后一行
exec startkde

离线

#5 2015-02-24 09:30:23

hrar
会员
注册时间: 2015-02-02
帖子: 41

Re: archlinux新手,不能启动X服务

百合仙子 说:

startkde 需要在 X 里运行,所以你把它写到 ~/.xinitrc 里去吧:

# 最后一行
exec startkde

新年好,我现在的问题是普通用户无法登录kde,root可以登录kde,即使按你上面的方法修改了~/.xinitrc 。

离线

#6 2015-02-24 13:59:16

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

Re: archlinux新手,不能启动X服务

hrar 说:
百合仙子 说:

startkde 需要在 X 里运行,所以你把它写到 ~/.xinitrc 里去吧:

# 最后一行
exec startkde

新年好,我现在的问题是普通用户无法登录kde,root可以登录kde,即使按你上面的方法修改了~/.xinitrc 。

报错信息呢?

离线

#7 2015-02-24 19:40:02

hrar
会员
注册时间: 2015-02-02
帖子: 41

Re: archlinux新手,不能启动X服务

请问是这个么#cat /var/log/Xorg.0.log ,剪切了后半部分。

[  2093.716] (II) NVIDIA:     access.
[  2093.719] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[  2093.719] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[  2093.719] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[  2093.719] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[  2093.719] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[  2093.719] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[  2093.719] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[  2093.719] (II) NVIDIA(0):     Config Options in the README.
[  2093.742] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[  2093.844] (==) NVIDIA(0): Disabling shared memory pixmaps
[  2093.845] (==) NVIDIA(0): Backing store enabled
[  2093.845] (==) NVIDIA(0): Silken mouse enabled
[  2093.849] (==) NVIDIA(0): DPMS enabled
[  2093.849] (II) Loading sub module "dri2"
[  2093.849] (II) LoadModule: "dri2"
[  2093.849] (II) Module "dri2" already built-in
[  2093.850] (II) NVIDIA(0): [DRI2] Setup complete
[  2093.850] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  2093.850] (--) RandR disabled
[  2093.866] (II) Initializing extension GLX
[  2093.866] (II) Indirect GLX disabled.(II) config/udev: Adding input device Power Button (/dev/input/event2)
[  2094.534] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  2094.534] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  2094.534] (II) LoadModule: "libinput"
[  2094.534] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  2094.626] (II) Module libinput: vendor="X.Org Foundation"
[  2094.626] 	compiled for 1.17.1, module version = 0.6.0
[  2094.626] 	Module class: X.Org XInput Driver
[  2094.626] 	ABI class: X.Org XInput driver, version 21.0
[  2094.627] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 28 paused 0
[  2094.627] (II) Using input driver 'libinput' for 'Power Button'
[  2094.627] (**) Power Button: always reports core events
[  2094.627] (**) Option "Device" "/dev/input/event2"
[  2094.627] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[  2094.627] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event2"
[  2094.627] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  2094.627] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[  2094.628] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[  2094.628] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  2094.628] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  2094.628] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 31 paused 0
[  2094.628] (II) Using input driver 'libinput' for 'Power Button'
[  2094.628] (**) Power Button: always reports core events
[  2094.628] (**) Option "Device" "/dev/input/event1"
[  2094.628] (II) input device 'Power Button', /dev/input/event1 is a keyboard
[  2094.628] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event1"
[  2094.628] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[  2094.629] (II) input device 'Power Button', /dev/input/event1 is a keyboard
[  2094.629] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event12)
[  2094.629] (II) No input driver specified, ignoring this device.
[  2094.629] (II) This device may have been added with another device file.
[  2094.629] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event13)
[  2094.629] (II) No input driver specified, ignoring this device.
[  2094.629] (II) This device may have been added with another device file.
[  2094.629] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event6)
[  2094.629] (II) No input driver specified, ignoring this device.
[  2094.629] (II) This device may have been added with another device file.
[  2094.629] (II) config/udev: Adding input device HDA Intel Line Out Front (/dev/input/event7)
[  2094.630] (II) No input driver specified, ignoring this device.
[  2094.630] (II) This device may have been added with another device file.
[  2094.630] (II) config/udev: Adding input device HDA Intel Line Out Surround (/dev/input/event8)
[  2094.630] (II) No input driver specified, ignoring this device.
[  2094.630] (II) This device may have been added with another device file.
[  2094.630] (II) config/udev: Adding input device HDA Intel Line Out CLFE (/dev/input/event9)
[  2094.630] (II) No input driver specified, ignoring this device.
[  2094.630] (II) This device may have been added with another device file.
[  2094.630] (II) config/udev: Adding input device HDA Intel Line Out Side (/dev/input/event10)
[  2094.630] (II) No input driver specified, ignoring this device.
[  2094.630] (II) This device may have been added with another device file.
[  2094.630] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event11)
[  2094.630] (II) No input driver specified, ignoring this device.
[  2094.630] (II) This device may have been added with another device file.
[  2094.631] (II) config/udev: Adding input device HDA Intel Front Mic (/dev/input/event4)
[  2094.631] (II) No input driver specified, ignoring this device.
[  2094.631] (II) This device may have been added with another device file.
[  2094.631] (II) config/udev: Adding input device HDA Intel Rear Mic (/dev/input/event5)
[  2094.631] (II) No input driver specified, ignoring this device.
[  2094.631] (II) This device may have been added with another device file.
[  2094.631] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  2094.631] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  2094.631] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  2094.631] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 32 paused 0
[  2094.631] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[  2094.631] (**) AT Translated Set 2 keyboard: always reports core events
[  2094.631] (**) Option "Device" "/dev/input/event0"
[  2094.632] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[  2094.632] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  2094.632] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[  2094.632] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[  2094.632] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event14)
[  2094.632] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[  2094.632] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "libinput pointer catchall"
[  2094.632] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 33 paused 0
[  2094.632] (II) Using input driver 'libinput' for 'ImPS/2 Generic Wheel Mouse'
[  2094.632] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[  2094.632] (**) Option "Device" "/dev/input/event14"
[  2094.633] (II) input device 'ImPS/2 Generic Wheel Mouse', /dev/input/event14 is a pointer caps = relative-motion button
[  2094.633] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input5/event14"
[  2094.633] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 9)
[  2094.646] (**) Option "AccelerationScheme" "none"
[  2094.646] (**) ImPS/2 Generic Wheel Mouse: (accel) selected scheme none/0
[  2094.646] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[  2094.646] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[  2094.646] (II) input device 'ImPS/2 Generic Wheel Mouse', /dev/input/event14 is a pointer caps = relative-motion button
[  2094.646] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[  2094.646] (II) No input driver specified, ignoring this device.
[  2094.646] (II) This device may have been added with another device file.
[  2094.647] (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
[  2094.647] (II) No input driver specified, ignoring this device.
[  2094.647] (II) This device may have been added with another device file.
[  2100.841] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2100.841] (II) NVIDIA(GPU-0):     Vision stereo.
[  2100.841] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2100.841] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2100.841] (**) NVIDIA(0):     been enabled on all display devices.)
[  2109.574] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2109.574] (II) NVIDIA(GPU-0):     Vision stereo.
[  2109.574] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2109.574] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2109.574] (**) NVIDIA(0):     been enabled on all display devices.)
[  2109.594] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2109.594] (II) NVIDIA(GPU-0):     Vision stereo.
[  2109.594] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2109.594] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2109.594] (**) NVIDIA(0):     been enabled on all display devices.)
[  2111.461] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2111.461] (II) NVIDIA(GPU-0):     Vision stereo.
[  2111.461] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2111.461] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2111.461] (**) NVIDIA(0):     been enabled on all display devices.)
[  2111.480] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2111.480] (II) NVIDIA(GPU-0):     Vision stereo.
[  2111.480] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2111.480] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2111.480] (**) NVIDIA(0):     been enabled on all display devices.)
[  2112.263] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2112.263] (II) NVIDIA(GPU-0):     Vision stereo.
[  2112.263] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2112.263] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2112.263] (**) NVIDIA(0):     been enabled on all display devices.)
[  2112.283] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2112.283] (II) NVIDIA(GPU-0):     Vision stereo.
[  2112.283] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2112.283] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2112.283] (**) NVIDIA(0):     been enabled on all display devices.)
[  2114.829] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2114.829] (II) NVIDIA(GPU-0):     Vision stereo.
[  2114.829] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2114.829] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2114.829] (**) NVIDIA(0):     been enabled on all display devices.)
[  2114.849] (II) NVIDIA(GPU-0): Display (Philips 190CW (DFP-0)) does not support NVIDIA 3D
[  2114.849] (II) NVIDIA(GPU-0):     Vision stereo.
[  2114.849] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2114.849] (**) NVIDIA(0):     device Philips 190CW (DFP-0) (Using EDID frequencies has
[  2114.849] (**) NVIDIA(0):     been enabled on all display devices.)
 

最近编辑记录 hrar (2015-02-25 11:20:56)

离线

#8 2015-02-24 20:59:34

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

Re: archlinux新手,不能启动X服务

没报错啊。

离线

#9 2015-02-24 22:33:13

hrar
会员
注册时间: 2015-02-02
帖子: 41

Re: archlinux新手,不能启动X服务

那可能是普通用户权限有哪项没设好,或者是kde哪些选项没设好,kde、xfce4两个桌面都是英文的,有些看不懂。如果确定是普通用户也能登录kde的话等哪天有空再重装,只装kde看看。

离线

#10 2015-03-17 22:05:31

恋风尘
会员
注册时间: 2015-01-18
帖子: 5

Re: archlinux新手,不能启动X服务

http://unix.stackexchange.com/questions … idia-drive
参照这上面的回复吧,就没问题

离线

页脚