You are not logged in.

#1 2015-06-24 22:38:29

Sebi
Member
Registered: 2015-06-24
Posts: 26

[SOLVED] Installing X server on arch

I've been trying to install X server for a number of hours now with no luck. I've also posted a question here:

http://unix.stackexchange.com/questions … -archlinux

but haven't yet received a comprehensive answer. How may I install the "glx" module? And why are the default xorg.conf files invalid?

Last edited by Sebi (2015-06-25 15:55:11)

Offline

#2 2015-06-24 23:11:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,556
Website

Re: [SOLVED] Installing X server on arch

Welcome to the forums.  Please make it easy for us to help you by posting the information here rather than expecting us to go elsewhere to hunt down what your problem is.

When you do post that here, keep the images as links, or better yet post them as text: pictures of text is a waste.

A couple obvious problems: 1) you are running in virtualbox, so you have virtualized hardware.  I highly doubt the nvidia (or nouveau) driver would be the right one.  2) Xorg ran properly.  It clearly said it exited successfully: it did everything you told it to do.  Something must be wrong in your ~/.xinitrc.  Post that file so we can help.

Other notes - I have no idea what you mean by the default xorg.conf files being invalid.  There are no default xorg.conf files.  Generally you will not need to create any in arch.

EDIT: See  this page for vbox guest configuration.

Last edited by Trilby (2015-06-24 23:15:20)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-06-25 10:23:54

Sebi
Member
Registered: 2015-06-24
Posts: 26

Re: [SOLVED] Installing X server on arch

Trilby wrote:

Welcome to the forums.  Please make it easy for us to help you by posting the information here rather than expecting us to go elsewhere to hunt down what your problem is.

When you do post that here, keep the images as links, or better yet post them as text: pictures of text is a waste.

A couple obvious problems: 1) you are running in virtualbox, so you have virtualized hardware.  I highly doubt the nvidia (or nouveau) driver would be the right one.  2) Xorg ran properly.  It clearly said it exited successfully: it did everything you told it to do.  Something must be wrong in your ~/.xinitrc.  Post that file so we can help.

Other notes - I have no idea what you mean by the default xorg.conf files being invalid.  There are no default xorg.conf files.  Generally you will not need to create any in arch.

EDIT: See  this page for vbox guest configuration.

thank you for your post.  The contents of ~/.xinitrc are:

/usr/bin/VBoxClient-all

The contents of /etc/X11/xinit/xinitrc are:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

The current logs /var/log/Xorg.0.log are:

[  3478.080] 
X.Org X Server 1.17.2
Release Date: 2015-06-16
[  3478.081] X Protocol Version 11, Revision 0
[  3478.081] Build Operating System: Linux 4.0.4-2-ARCH x86_64 
[  3478.081] Current Operating System: Linux kiara 4.0.5-1-ARCH #1 SMP PREEMPT Sat Jun 6 18:37:49 CEST 2015 x86_64
[  3478.081] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=db396acf-552a-4395-a783-3ac03a676331 rw quiet
[  3478.081] Build Date: 16 June 2015  05:24:27PM
[  3478.081]  
[  3478.081] Current version of pixman: 0.32.6
[  3478.081] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  3478.081] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3478.082] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 25 02:46:14 2015
[  3478.082] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3478.082] (==) No Layout section.  Using the first Screen section.
[  3478.082] (==) No screen section available. Using defaults.
[  3478.082] (**) |-->Screen "Default Screen Section" (0)
[  3478.082] (**) |   |-->Monitor "<default monitor>"
[  3478.082] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  3478.082] (==) Automatically adding devices
[  3478.082] (==) Automatically enabling devices
[  3478.082] (==) Automatically adding GPU devices
[  3478.082] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  3478.082] 	Entry deleted from font path.
[  3478.082] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  3478.082] 	Entry deleted from font path.
[  3478.082] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  3478.082] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  3478.082] 	Entry deleted from font path.
[  3478.082] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  3478.082] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[  3478.082] (==) ModulePath set to "/usr/lib/xorg/modules"
[  3478.082] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3478.082] (II) Loader magic: 0x816d60
[  3478.082] (II) Module ABI versions:
[  3478.082] 	X.Org ANSI C Emulation: 0.4
[  3478.082] 	X.Org Video Driver: 19.0
[  3478.082] 	X.Org XInput driver : 21.1
[  3478.082] 	X.Org Server Extension : 9.0
[  3478.083] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  3478.083] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3478.083] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[  3478.087] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216
[  3478.087] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3478.087] (II) LoadModule: "glx"
[  3478.088] (WW) Warning, couldn't open module glx
[  3478.088] (II) UnloadModule: "glx"
[  3478.088] (II) Unloading glx
[  3478.088] (EE) Failed to load module "glx" (module does not exist, 0)
[  3478.088] (==) Matched vboxvideo as autoconfigured driver 0
[  3478.088] (==) Matched vboxvideo as autoconfigured driver 1
[  3478.088] (==) Matched modesetting as autoconfigured driver 2
[  3478.088] (==) Matched fbdev as autoconfigured driver 3
[  3478.088] (==) Matched vesa as autoconfigured driver 4
[  3478.088] (==) Assigned the driver to the xf86ConfigLayout
[  3478.088] (II) LoadModule: "vboxvideo"
[  3478.088] (II) Loading /usr/lib/xorg/modules/drivers/vboxvideo.so
[  3478.088] (II) Module vboxvideo: vendor="Oracle Corporation"
[  3478.088] 	compiled for 1.6.99, module version = 1.0.1
[  3478.088] 	Module class: X.Org Video Driver
[  3478.088] 	ABI class: X.Org Video Driver, version 19.0
[  3478.088] (**) Load address of symbol "VBOXVIDEO" is 0x7f955dcb2c80
[  3478.088] (II) LoadModule: "modesetting"
[  3478.088] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  3478.088] (II) Module modesetting: vendor="X.Org Foundation"
[  3478.088] 	compiled for 1.17.2, module version = 1.17.2
[  3478.088] 	Module class: X.Org Video Driver
[  3478.088] 	ABI class: X.Org Video Driver, version 19.0
[  3478.088] (II) LoadModule: "fbdev"
[  3478.088] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  3478.088] (II) Module fbdev: vendor="X.Org Foundation"
[  3478.088] 	compiled for 1.17.0, module version = 0.4.4
[  3478.088] 	Module class: X.Org Video Driver
[  3478.088] 	ABI class: X.Org Video Driver, version 19.0
[  3478.088] (II) LoadModule: "vesa"
[  3478.089] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  3478.089] (II) Module vesa: vendor="X.Org Foundation"
[  3478.089] 	compiled for 1.17.2, module version = 2.3.4
[  3478.089] 	Module class: X.Org Video Driver
[  3478.089] 	ABI class: X.Org Video Driver, version 19.0
[  3478.089] (II) VBoxVideo: guest driver for VirtualBox: vbox
[  3478.089] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3478.089] (II) FBDEV: driver for framebuffer: fbdev
[  3478.089] (II) VESA: driver for VESA chipsets: vesa
[  3478.089] (++) using VT number 1

[  3478.089] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  3478.089] (WW) Falling back to old probe method for modesetting
[  3478.089] (WW) Falling back to old probe method for fbdev
[  3478.089] (II) Loading sub module "fbdevhw"
[  3478.089] (II) LoadModule: "fbdevhw"
[  3478.089] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  3478.089] (II) Module fbdevhw: vendor="X.Org Foundation"
[  3478.089] 	compiled for 1.17.2, module version = 0.0.2
[  3478.089] 	ABI class: X.Org Video Driver, version 19.0
[  3478.089] (WW) Falling back to old probe method for vesa
[  3478.089] (II) VBoxVideo(0): VirtualBox guest additions video driver version 4.3.28_OSEr100309
[  3478.089] (II) Loading sub module "ramdac"
[  3478.089] (II) LoadModule: "ramdac"
[  3478.089] (II) Module "ramdac" already built-in
[  3478.089] (II) Loading sub module "fb"
[  3478.089] (II) LoadModule: "fb"
[  3478.089] (II) Loading /usr/lib/xorg/modules/libfb.so
[  3478.089] (II) Module fb: vendor="X.Org Foundation"
[  3478.089] 	compiled for 1.17.2, module version = 1.0.0
[  3478.089] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3478.089] (II) Loading sub module "shadowfb"
[  3478.089] (II) LoadModule: "shadowfb"
[  3478.089] (II) Loading /usr/lib/xorg/modules/libshadowfb.so
[  3478.089] (II) Module shadowfb: vendor="X.Org Foundation"
[  3478.089] 	compiled for 1.17.2, module version = 1.0.0
[  3478.089] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3478.089] (II) Loading sub module "vgahw"
[  3478.089] (II) LoadModule: "vgahw"
[  3478.089] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[  3478.089] (II) Module vgahw: vendor="X.Org Foundation"
[  3478.089] 	compiled for 1.17.2, module version = 0.1.0
[  3478.089] 	ABI class: X.Org Video Driver, version 19.0
[  3478.089] (II) Loading sub module "dri2"
[  3478.089] (II) LoadModule: "dri2"
[  3478.089] (II) Module "dri2" already built-in
[  3478.090] (II) VBoxVideo(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  3478.090] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
[  3478.090] (--) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766)
[  3478.090] (**) VBoxVideo(0):  Built-in mode "1024x768": 47.8 MHz (scaled from 0.0 MHz), 46.4 kHz, 60.0 Hz
[  3478.090] (II) VBoxVideo(0): Modeline "1024x768"x0.0   47.83  1024 1026 1028 1030  768 770 772 774 (46.4 kHz b)
[  3478.090] (**) VBoxVideo(0):  Built-in mode "1024x768": 47.8 MHz (scaled from 0.0 MHz), 46.4 kHz, 60.0 Hz
[  3478.090] (II) VBoxVideo(0): Modeline "1024x768"x0.0   47.83  1024 1026 1028 1030  768 770 772 774 (46.4 kHz b)
[  3478.090] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[  3478.090] (==) VBoxVideo(0): RGB weight 888
[  3478.090] (==) VBoxVideo(0): Default visual is TrueColor
[  3478.090] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
[  3478.090] (==) VBoxVideo(0): DPI set to (96, 96)
[  3478.090] (II) UnloadModule: "modesetting"
[  3478.090] (II) Unloading modesetting
[  3478.090] (II) UnloadModule: "fbdev"
[  3478.090] (II) Unloading fbdev
[  3478.090] (II) UnloadSubModule: "fbdevhw"
[  3478.090] (II) Unloading fbdevhw
[  3478.090] (II) UnloadModule: "vesa"
[  3478.090] (II) Unloading vesa
[  3478.090] (--) Depth 24 pixmap format is 32 bpp
[  3478.453] (II) VBoxVideo(0): Requested monitor count: 1
[  3478.453] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[  3478.453] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[  3478.453] (II) VBoxVideo(0): Printing probed modes for output VGA-0
[  3478.453] (II) VBoxVideo(0): Modeline "1024x768"x60.0   47.83  1024 1026 1028 1030  768 770 772 774 (46.4 kHz Pb)
[  3478.453] (II) VBoxVideo(0): Output VGA-0 connected
[  3478.453] (II) VBoxVideo(0): Using exact sizes for initial modes
[  3478.453] (II) VBoxVideo(0): Output VGA-0 using initial mode 1024x768
[  3478.453] (II) VBoxVideo(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  3478.453] (II) VBoxVideo(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  3478.453] (==) VBoxVideo(0): DPMS enabled
[  3478.453] (--) RandR disabled
[  3478.457] (II) VBoxVideo(0): Setting screen physical size to 270 x 203
[  3478.494] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  3478.494] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  3478.494] (II) LoadModule: "evdev"
[  3478.494] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  3478.494] (II) Module evdev: vendor="X.Org Foundation"
[  3478.494] 	compiled for 1.17.1, module version = 2.9.2
[  3478.494] 	Module class: X.Org XInput Driver
[  3478.494] 	ABI class: X.Org XInput driver, version 21.0
[  3478.495] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 13 paused 0
[  3478.495] (II) Using input driver 'evdev' for 'Power Button'
[  3478.495] (**) Power Button: always reports core events
[  3478.495] (**) evdev: Power Button: Device: "/dev/input/event3"
[  3478.495] (--) evdev: Power Button: Vendor 0 Product 0x1
[  3478.495] (--) evdev: Power Button: Found keys
[  3478.495] (II) evdev: Power Button: Configuring as keyboard
[  3478.495] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
[  3478.495] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  3478.495] (**) Option "xkb_rules" "evdev"
[  3478.495] (**) Option "xkb_model" "pc104"
[  3478.495] (**) Option "xkb_layout" "us"
[  3478.510] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[  3478.510] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  3478.510] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 14 paused 0
[  3478.510] (II) Using input driver 'evdev' for 'Sleep Button'
[  3478.510] (**) Sleep Button: always reports core events
[  3478.510] (**) evdev: Sleep Button: Device: "/dev/input/event4"
[  3478.510] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[  3478.510] (--) evdev: Sleep Button: Found keys
[  3478.510] (II) evdev: Sleep Button: Configuring as keyboard
[  3478.510] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input5/event4"
[  3478.510] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[  3478.510] (**) Option "xkb_rules" "evdev"
[  3478.510] (**) Option "xkb_model" "pc104"
[  3478.510] (**) Option "xkb_layout" "us"
[  3478.511] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/event2)
[  3478.511] (**) VirtualBox mouse integration: Applying InputClass "evdev pointer catchall"
[  3478.511] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 15 paused 0
[  3478.511] (II) Using input driver 'evdev' for 'VirtualBox mouse integration'
[  3478.511] (**) VirtualBox mouse integration: always reports core events
[  3478.511] (**) evdev: VirtualBox mouse integration: Device: "/dev/input/event2"
[  3478.511] (--) evdev: VirtualBox mouse integration: Vendor 0x80ee Product 0xcafe
[  3478.511] (--) evdev: VirtualBox mouse integration: Found 1 mouse buttons
[  3478.511] (--) evdev: VirtualBox mouse integration: Found absolute axes
[  3478.511] (--) evdev: VirtualBox mouse integration: Found x and y absolute axes
[  3478.511] (--) evdev: VirtualBox mouse integration: Found absolute touchscreen
[  3478.511] (II) evdev: VirtualBox mouse integration: Configuring as touchscreen
[  3478.511] (**) evdev: VirtualBox mouse integration: YAxisMapping: buttons 4 and 5
[  3478.511] (**) evdev: VirtualBox mouse integration: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3478.511] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/input/input3/event2"
[  3478.511] (II) XINPUT: Adding extended input device "VirtualBox mouse integration" (type: TOUCHSCREEN, id 8)
[  3478.512] (II) evdev: VirtualBox mouse integration: initialized for absolute axes.
[  3478.512] (**) VirtualBox mouse integration: (accel) keeping acceleration scheme 1
[  3478.512] (**) VirtualBox mouse integration: (accel) acceleration profile 0
[  3478.512] (**) VirtualBox mouse integration: (accel) acceleration factor: 2.000
[  3478.512] (**) VirtualBox mouse integration: (accel) acceleration threshold: 4
[  3478.512] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/js1)
[  3478.512] (II) No input driver specified, ignoring this device.
[  3478.512] (II) This device may have been added with another device file.
[  3478.512] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/mouse1)
[  3478.512] (II) No input driver specified, ignoring this device.
[  3478.512] (II) This device may have been added with another device file.
[  3478.513] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event1)
[  3478.513] (**) VirtualBox USB Tablet: Applying InputClass "evdev pointer catchall"
[  3478.566] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 16 paused 0
[  3478.566] (II) Using input driver 'evdev' for 'VirtualBox USB Tablet'
[  3478.566] (**) VirtualBox USB Tablet: always reports core events
[  3478.566] (**) evdev: VirtualBox USB Tablet: Device: "/dev/input/event1"
[  3478.566] (--) evdev: VirtualBox USB Tablet: Vendor 0x80ee Product 0x21
[  3478.566] (--) evdev: VirtualBox USB Tablet: Found 9 mouse buttons
[  3478.566] (--) evdev: VirtualBox USB Tablet: Found scroll wheel(s)
[  3478.566] (--) evdev: VirtualBox USB Tablet: Found relative axes
[  3478.566] (--) evdev: VirtualBox USB Tablet: Found absolute axes
[  3478.566] (--) evdev: VirtualBox USB Tablet: Found x and y absolute axes
[  3478.566] (--) evdev: VirtualBox USB Tablet: Found absolute touchscreen
[  3478.566] (II) evdev: VirtualBox USB Tablet: Configuring as touchscreen
[  3478.566] (II) evdev: VirtualBox USB Tablet: Adding scrollwheel support
[  3478.566] (**) evdev: VirtualBox USB Tablet: YAxisMapping: buttons 4 and 5
[  3478.566] (**) evdev: VirtualBox USB Tablet: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3478.566] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input2/event1"
[  3478.566] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: TOUCHSCREEN, id 9)
[  3478.566] (WW) evdev: VirtualBox USB Tablet: touchpads, tablets and touchscreens ignore relative axes.
[  3478.566] (II) evdev: VirtualBox USB Tablet: initialized for absolute axes.
[  3478.567] (**) VirtualBox USB Tablet: (accel) keeping acceleration scheme 1
[  3478.567] (**) VirtualBox USB Tablet: (accel) acceleration profile 0
[  3478.567] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[  3478.567] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[  3478.567] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/js0)
[  3478.567] (II) No input driver specified, ignoring this device.
[  3478.567] (II) This device may have been added with another device file.
[  3478.567] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/mouse0)
[  3478.567] (II) No input driver specified, ignoring this device.
[  3478.567] (II) This device may have been added with another device file.
[  3478.568] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  3478.568] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  3478.568] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 17 paused 0
[  3478.568] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  3478.568] (**) AT Translated Set 2 keyboard: always reports core events
[  3478.568] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[  3478.568] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[  3478.568] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  3478.568] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  3478.568] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  3478.568] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[  3478.568] (**) Option "xkb_rules" "evdev"
[  3478.568] (**) Option "xkb_model" "pc104"
[  3478.568] (**) Option "xkb_layout" "us"
[  3478.568] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event6)
[  3478.568] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[  3478.569] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 18 paused 0
[  3478.569] (II) Using input driver 'evdev' for 'ImExPS/2 Generic Explorer Mouse'
[  3478.569] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[  3478.569] (**) evdev: ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event6"
[  3478.569] (--) evdev: ImExPS/2 Generic Explorer Mouse: Vendor 0x2 Product 0x6
[  3478.569] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
[  3478.569] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
[  3478.569] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found relative axes
[  3478.569] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
[  3478.569] (II) evdev: ImExPS/2 Generic Explorer Mouse: Configuring as mouse
[  3478.569] (II) evdev: ImExPS/2 Generic Explorer Mouse: Adding scrollwheel support
[  3478.569] (**) evdev: ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
[  3478.569] (**) evdev: ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3478.569] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event6"
[  3478.569] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 11)
[  3478.569] (II) evdev: ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
[  3478.569] (**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
[  3478.569] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profile 0
[  3478.569] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[  3478.569] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[  3478.569] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse2)
[  3478.569] (II) No input driver specified, ignoring this device.
[  3478.569] (II) This device may have been added with another device file.
[  3478.571] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[  3478.571] (II) No input driver specified, ignoring this device.
[  3478.571] (II) This device may have been added with another device file.
[  3478.616] (II) evdev: ImExPS/2 Generic Explorer Mouse: Close
[  3478.618] (II) UnloadModule: "evdev"
[  3478.618] (II) systemd-logind: releasing fd for 13:70
[  3478.656] (II) evdev: AT Translated Set 2 keyboard: Close
[  3478.656] (II) UnloadModule: "evdev"
[  3478.656] (II) systemd-logind: releasing fd for 13:64
[  3478.719] (II) evdev: VirtualBox USB Tablet: Close
[  3478.719] (II) UnloadModule: "evdev"
[  3478.719] (II) systemd-logind: releasing fd for 13:65
[  3478.786] (II) evdev: VirtualBox mouse integration: Close
[  3478.786] (II) UnloadModule: "evdev"
[  3478.786] (II) systemd-logind: releasing fd for 13:66
[  3478.826] (II) evdev: Sleep Button: Close
[  3478.826] (II) UnloadModule: "evdev"
[  3478.826] (II) systemd-logind: releasing fd for 13:68
[  3478.843] (II) evdev: Power Button: Close
[  3478.843] (II) UnloadModule: "evdev"
[  3478.843] (II) systemd-logind: releasing fd for 13:67
[  3478.892] (II) Server terminated successfully (0). Closing log file.

I've followed this guide in order to install arch as a guest on virtualbox:

https://wiki.archlinux.org/index.php/Beginners%27_guide

After the installation was successful I went through the steps described here:

https://wiki.archlinux.org/index.php/Xorg

I've installed the video drivers:

pacman -Ss xf86-video

There, mistakenly I have picked the nvidia suite and ended up having:

#pacman -Q | grep nvidia
nvidia-340xx-libgl 340.76-2
nvidia-340xx-utils 340.76-2

on my box. Running lspci in the guest gives:

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)

Afterwards, I installed xorg server and utils:

pacman -S  xorg-server  xorg-server-utils

startx wouldn't launch so I followed the steps described here:

https://wiki.archlinux.org/index.php/Vi … nux_guests

installed  virtualbox and the its respective modules:

pacman -S  virtualbox virtualbox-host-modules

and added the virtual box kernel module to startup:

vi /etc/modules-load.d/virtualbox.conf
vboxdrv

Then, I installed virtualbox-guest-modules and virtualbox-guest-utils:

pacman -S virtualbox-guest-modules virtualbox-guest-utils

and added the kernel modules to startup:

vi /etc/modules-load.d/virtualbox.conf
vboxguest
vboxsf
vboxvideo

X created a file in my home directory ~/.xorg.conf.new:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "AccelMethod"        	# <str>
	Identifier  "Card0"
	Driver      "modesetting"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Module"
	Disable "glx"
EndSection

Last edited by Sebi (2015-06-25 10:26:12)

Offline

#4 2015-06-25 11:09:03

p0x8
Member
Registered: 2012-09-20
Posts: 70

Re: [SOLVED] Installing X server on arch

I'll echo Trilby: according to the log, your X is already working properly. However, it has nothing to do when it finishes loading, so it just quits.

To test this, install xterm and add an "exec xterm" line to your ~/.xinitrc. This will run xterm without a window manager, but it will allow you to check that X is indeed working.

If you installed KDE you can add a "exec startkde" to ~/.xinitrc. This will run the KDE environment.

On a side note, the basic setup under VirtualBox is quite simple. You just need to install virtualbox-guest-utils (which pulls virtualbox-guest-modules). The modules will load automatically, and there's no need for an xorg.conf. It just works. Also, inside the guest you don't need to install virtualbox or virtualbox-host-modules.

Offline

#5 2015-06-25 11:48:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,556
Website

Re: [SOLVED] Installing X server on arch

Yup, the glx error is not important,  Xorg successfully loads the vboxvideo driver and that's what is being used.

There is no fatal error - but there is nothing in your xinitrc for X to do - other than set up the vbox guest.  So it does this, then exits succesfully.

What WM/DE or xorg client(s) do you want to run?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2015-06-25 13:37:54

Sebi
Member
Registered: 2015-06-24
Posts: 26

Re: [SOLVED] Installing X server on arch

p0x8 wrote:

I'll echo Trilby: according to the log, your X is already working properly. However, it has nothing to do when it finishes loading, so it just quits.

To test this, install xterm and add an "exec xterm" line to your ~/.xinitrc. This will run xterm without a window manager, but it will allow you to check that X is indeed working.

If you installed KDE you can add a "exec startkde" to ~/.xinitrc. This will run the KDE environment.

On a side note, the basic setup under VirtualBox is quite simple. You just need to install virtualbox-guest-utils (which pulls virtualbox-guest-modules). The modules will load automatically, and there's no need for an xorg.conf. It just works. Also, inside the guest you don't need to install virtualbox or virtualbox-host-modules.

I've added an "exec xterm" line to your ~/.xinitrc and X started(only a console has been displayed). Then I've installed KDE as described here:

https://wiki.archlinux.org/index.php/KDE

Afterwards, I added "exec startkde" to "~/.xinitrc" and run startx and KDE started. A million thanks to you and Trilby smile

http://i61.tinypic.com/rt2i5c.jpg

-- mod edit: converted img to url tags.  Trilby --

Last edited by Trilby (2015-06-25 14:29:20)

Offline

#7 2015-06-25 14:30:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,556
Website

Re: [SOLVED] Installing X server on arch

Glad it worked.  Please mark your thread as solved by editing your first post.  Also please see the sticked threads and forum guidelines to learn about our rules for image sizes and other posting guidelines (I replaced your image with a link).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2015-06-25 16:05:06

Sebi
Member
Registered: 2015-06-24
Posts: 26

Re: [SOLVED] Installing X server on arch

Trilby wrote:

Glad it worked.  Please mark your thread as solved by editing your first post.  Also please see the sticked threads and forum guidelines to learn about our rules for image sizes and other posting guidelines (I replaced your image with a link).

Done. Will do.

Offline

Board footer

Powered by FluxBB