You are not logged in.

#1 2011-08-12 17:02:55

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

[SOLVED] install xorg on Virtualbox's ArchLinux

I'm trying to install xorg on the ArchLinux.(which in a virtualbox's box)

But, when I run 'xinit'.

It display vboxvideo does not exist.
When I use 'lsmod|grep vboxvideo'.  It exist.

After search full directory, I found:

/usr/lib/xorg/modules/dri/vboxvideo_dri.so

and

/lib/modules/3.0-ARCH/misc/vboxvideo.so

[SOLVED solution]
mkdir -p /usr/lib/xorg/modules/drivers
rerun the virtualbox addition

Last edited by dlin (2011-08-13 01:04:50)


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

#2 2011-08-12 17:12:57

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [SOLVED] install xorg on Virtualbox's ArchLinux

Do you have all the modules vboxguest vboxsf vboxvideo loaded?
I installed an Arch Linux guest with Openbox yesterday and it works.

Here you can check you have everything installed for X : https://wiki.archlinux.org/index.php/Be … _Interface

Offline

#3 2011-08-12 17:26:07

thesofty
Member
From: Nuremberg, Germany
Registered: 2011-05-09
Posts: 46

Re: [SOLVED] install xorg on Virtualbox's ArchLinux

You need a VirtualBox Guest installation for your guest system to  get the needed video driver run at your guest system.
Look at this how to do the installation on an Arch system:
https://wiki.archlinux.org/index.php/Ar … lBox_Guest

Alternatively, you can install the drivers with VirtualBox itself. There is a Menu entry 'Install Guest Additions...' under 'Devices'.
After calling the menu item there is a iso image installed wich you can mount in your guest system:

# mount /dev/sr0 /mnt

or something similar

On the CD there is a bash script /mnt/VboxLinuxAdditions.run which you can run to compile the device drivers.
To do this, you need gcc and linux headers installed on your guest system.
For using the compiled drivers, use the wiki article which I have linked above.
This Way has the disadvantage that you need to do the compilation again after every kernel update.

Offline

#4 2011-08-13 01:03:38

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

Re: [SOLVED] install xorg on Virtualbox's ArchLinux

I forgot to mention, I've run the VirtualBox Guest.

I solved the problem by myself.
Before run the VirtualBox Addition, I should make a empty directory.

mkdir -p /usr/lib/xorg/modules/drivers


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

Board footer

Powered by FluxBB