您尚未登录。

#1 2016-06-01 19:38:54

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Virtualbox Arch 装X出现问题

X的基本环境都装好了,然后装Virtualbox的包是出现问题:
sudo pacman -S  virtualbox-guest-dkms
错误图片: http://chuantu.biz/t5/4/1464780135x1035372901.png

再然后:
startx
错误图片: http://chuantu.biz/t5/4/1464780395x1035372881.png
求解决方法~谢谢

离线

#2 2016-06-01 20:38:54

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: Virtualbox Arch 装X出现问题

pacman -S linux-headers

先把 linux-headers 装上

离线

#3 2016-06-01 20:50:52

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Re: Virtualbox Arch 装X出现问题

恩 刚才去wiki上找了找安装了linux-headers linux-lts-headers linux-lts
然后执行
[root@localhost name]# pacman -S virtualbox-guest-utils virtualbox-guest-dkms
没有报错.然后执行
[root@localhost name]# startx
然后 http://chuantu.biz/t5/4/1464784727x1035372881.png

离线

#4 2016-06-01 20:53:59

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Re: Virtualbox Arch 装X出现问题

zsrkmyn 说:
pacman -S linux-headers

先把 linux-headers 装上

结果貌似都一样...但是dkms的确成功安装了,没出现第一次的error.

离线

#5 2016-06-01 21:12:48

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: Virtualbox Arch 装X出现问题

Ashly 说:
zsrkmyn 说:
pacman -S linux-headers

先把 linux-headers 装上

结果貌似都一样...但是dkms的确成功安装了,没出现第一次的error.

装完之后要重启。
如果还出错贴下 /var/log/Xorg.0.log

离线

#6 2016-06-01 21:19:47

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Re: Virtualbox Arch 装X出现问题

zsrkmyn 说:
Ashly 说:
zsrkmyn 说:
pacman -S linux-headers

先把 linux-headers 装上

结果貌似都一样...但是dkms的确成功安装了,没出现第一次的error.

装完之后要重启。
如果还出错贴下 /var/log/Xorg.0.log

恩,重启后还是一样的错误,我看那个文件了....许多EE和WW..我正在想办法给贴出来..再虚拟机里安装的

离线

#7 2016-06-01 22:12:11

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Re: Virtualbox Arch 装X出现问题

zsrkmyn 说:
pacman -S linux-headers

先把 linux-headers 装上

/var/log/Xorg.0.log

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
[   126.142]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[   126.143] X Protocol Version 11, Revision 0
[   126.143] Build Operating System: Linux 4.2.5-1-ARCH x86_64
[   126.143] Current Operating System: Linux Ashly 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64
[   126.143] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=fa1b4002-a2a8-4801-a2f6-b6396d451e49 rw quiet
[   126.145] Build Date: 05 April 2016  05:24:02PM
[   126.146] 
[   126.146] Current version of pixman: 0.34.0
[   126.147]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   126.147] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   126.150] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun  1 21:17:32 2016
[   126.152] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   126.169] (==) No Layout section.  Using the first Screen section.
[   126.169] (==) No screen section available. Using defaults.
[   126.169] (**) |-->Screen "Default Screen Section" (0)
[   126.169] (**) |   |-->Monitor "<default monitor>"
[   126.170] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[   126.170] (==) Automatically adding devices
[   126.170] (==) Automatically enabling devices
[   126.170] (==) Automatically adding GPU devices
[   126.170] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   126.170] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   126.170]     Entry deleted from font path.
[   126.170] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   126.170]     Entry deleted from font path.
[   126.170]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   126.170] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   126.170]     Entry deleted from font path.
[   126.170]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   126.170] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/
[   126.170] (==) ModulePath set to "/usr/lib/xorg/modules"
[   126.170] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[   126.171] (II) Loader magic: 0x819d20
[   126.171] (II) Module ABI versions:
[   126.171]     X.Org ANSI C Emulation: 0.4
[   126.171]     X.Org Video Driver: 20.0
[   126.171]     X.Org XInput driver : 22.1
[   126.171]     X.Org Server Extension : 9.0
[   126.172] (++) using VT number 1

[   126.172] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   126.173] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   126.177] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216
[   126.177] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   126.178] (II) LoadModule: "glx"
[   126.180] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   126.288] (II) Module glx: vendor="X.Org Foundation"
[   126.288]     compiled for 1.18.3, module version = 1.0.0
[   126.288]     ABI class: X.Org Server Extension, version 9.0
[   126.288] (==) AIGLX enabled
[   126.289] (==) Matched vboxvideo as autoconfigured driver 0
[   126.289] (==) Matched modesetting as autoconfigured driver 1
[   126.289] (==) Matched fbdev as autoconfigured driver 2
[   126.289] (==) Matched vesa as autoconfigured driver 3
[   126.289] (==) Assigned the driver to the xf86ConfigLayout
[   126.289] (II) LoadModule: "vboxvideo"
[   126.289] (II) Loading /usr/lib/xorg/modules/drivers/vboxvideo.so
[   126.299] (II) Module vboxvideo: vendor="Oracle Corporation"
[   126.299]     compiled for 1.18.3, module version = 1.0.1
[   126.299]     Module class: X.Org Video Driver
[   126.299]     ABI class: X.Org Video Driver, version 20.0
[   126.299] (**) Load address of symbol "VBOXVIDEO" is 0x7f7e7f966380
[   126.299] (II) LoadModule: "modesetting"
[   126.299] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   126.315] (II) Module modesetting: vendor="X.Org Foundation"
[   126.315]     compiled for 1.18.3, module version = 1.18.3
[   126.315]     Module class: X.Org Video Driver
[   126.315]     ABI class: X.Org Video Driver, version 20.0
[   126.315] (II) LoadModule: "fbdev"
[   126.315] (WW) Warning, couldn't open module fbdev
[   126.315] (II) UnloadModule: "fbdev"
[   126.315] (II) Unloading fbdev
[   126.316] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   126.316] (II) LoadModule: "vesa"
[   126.316] (WW) Warning, couldn't open module vesa
[   126.316] (II) UnloadModule: "vesa"
[   126.316] (II) Unloading vesa
[   126.316] (EE) Failed to load module "vesa" (module does not exist, 0)
[   126.316] (II) VBoxVideo: guest driver for VirtualBox: vbox
[   126.316] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   126.316] (WW) Falling back to old probe method for modesetting
[   126.316] (EE) open /dev/dri/card0: No such file or directory
[   126.316] (II) VBoxVideo(0): VirtualBox guest additions video driver version 5.0.20_OSEr106931
[   126.316] (II) Loading sub module "ramdac"
[   126.316] (II) LoadModule: "ramdac"
[   126.316] (II) Module "ramdac" already built-in
[   126.316] (II) Loading sub module "fb"
[   126.316] (II) LoadModule: "fb"
[   126.316] (II) Loading /usr/lib/xorg/modules/libfb.so
[   126.324] (II) Module fb: vendor="X.Org Foundation"
[   126.324]     compiled for 1.18.3, module version = 1.0.0
[   126.324]     ABI class: X.Org ANSI C Emulation, version 0.4
[   126.324] (II) Loading sub module "shadowfb"
[   126.324] (II) LoadModule: "shadowfb"
[   126.324] (II) Loading /usr/lib/xorg/modules/libshadowfb.so
[   126.325] (II) Module shadowfb: vendor="X.Org Foundation"
[   126.325]     compiled for 1.18.3, module version = 1.0.0
[   126.325]     ABI class: X.Org ANSI C Emulation, version 0.4
[   126.325] (II) Loading sub module "vgahw"
[   126.325] (II) LoadModule: "vgahw"
[   126.325] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[   126.335] (II) Module vgahw: vendor="X.Org Foundation"
[   126.335]     compiled for 1.18.3, module version = 0.1.0
[   126.335]     ABI class: X.Org Video Driver, version 20.0
[   126.335] (II) VBoxVideo(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[   126.335] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
[   126.335] (--) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766)
[   126.335] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[   126.335] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[   126.335] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[   126.335] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[   126.335] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[   126.335] (==) VBoxVideo(0): RGB weight 888
[   126.335] (==) VBoxVideo(0): Default visual is TrueColor
[   126.335] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
[   126.335] (==) VBoxVideo(0): DPI set to (96, 96)
[   126.335] (II) UnloadModule: "modesetting"
[   126.335] (II) Unloading modesetting
[   126.335] (--) Depth 24 pixmap format is 32 bpp
[   126.335] (EE)
Fatal server error:
[   126.335] (EE) AddScreen/ScreenInit failed for driver 0
[   126.335] (EE)
[   126.335] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[   126.335] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   126.335] (EE)
[   126.339] (EE) Server terminated with error (1). Closing log file.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------

最近编辑记录 Ashly (2016-06-01 22:13:16)

离线

#8 2016-06-01 22:14:08

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Re: Virtualbox Arch 装X出现问题

麻烦您给看下~折磨我很久了,也不知如何解决..谢谢啦~

离线

#9 2016-06-01 22:37:20

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

Re: Virtualbox Arch 装X出现问题

最近好像有人发过一样的错误信息。

离线

#10 2016-06-02 06:34:16

poloshiao
会员
注册时间: 2016-01-04
帖子: 16

Re: Virtualbox Arch 装X出现问题

X的基本环境都装好了,然后装Virtualbox的包是出现问题:
sudo pacman -S  virtualbox-guest-dkms

1. virtualbox-guest-dkms 是安裝在 Guest 虛擬機 上面的
2. 你現在的 X 的基本环境是指 Host 還是 Guest ?

离线

#11 2016-06-02 12:02:14

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Re: Virtualbox Arch 装X出现问题

poloshiao 说:

X的基本环境都装好了,然后装Virtualbox的包是出现问题:
sudo pacman -S  virtualbox-guest-dkms

1. virtualbox-guest-dkms 是安裝在 Guest 虛擬機 上面的
2. 你現在的 X 的基本环境是指 Host 還是 Guest ?

是安装在Guest上的,我的host OS是win7.

离线

#12 2016-06-02 12:04:33

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Re: Virtualbox Arch 装X出现问题

依云 说:

最近好像有人发过一样的错误信息。

解决了吗?

离线

#13 2016-06-02 13:18:59

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: Virtualbox Arch 装X出现问题

xf86-video-vesa 有装吗?没装的话先装上。

离线

#14 2016-06-02 13:21:48

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: Virtualbox Arch 装X出现问题

错误不方便贴的话可以用仙子的 cfp:

cat /var/log/Xorg.0.log | curl -F 'vimcn=<-' http://cfp.vim-cn.com/

然后把返回的 URL 贴过来。

离线

#15 2016-06-02 15:47:46

Ashly
会员
注册时间: 2016-05-26
帖子: 24

Re: Virtualbox Arch 装X出现问题

zsrkmyn 说:

错误不方便贴的话可以用仙子的 cfp:

cat /var/log/Xorg.0.log | curl -F 'vimcn=<-' http://cfp.vim-cn.com/

然后把返回的 URL 贴过来。

你说的那个我已经装上了,但是还是不行.
这是错误返回的地址:
http://cfp.vim-cn.com/cbc3T

离线

页脚