You are not logged in.

#1 2011-11-23 11:52:57

algernonz
Member
Registered: 2011-11-19
Posts: 9

[Solved] Arch Linux in VirtualBox

Hello,

I am a brandnew Arch user, and I have just set up my first Arch installation.
To be specific: I have installed Arch in a VirtualBox (as a guest, on top of a Solaris host).

It all went well (nearly).
During the installation (from CD) I had the option to install "Core", so I did.
After setting up the network, I got myself acquainted with pacman,  I began setting up the X environment.
I do have a primitive X environment running now with FVWM, but I 'd like it a bit more rich.
So I installed the XFCE desktop.

Although they say that XFCE can run on top of the framebuffer,  XFCE just hangs after starting X.
What is the best Linux graphics driver to install in this situation?

Thanks, Algey

Last edited by algernonz (2011-11-28 18:38:58)

Offline

#2 2011-11-23 12:22:20

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Offline

#3 2011-11-23 14:45:05

algernonz
Member
Registered: 2011-11-19
Posts: 9

Re: [Solved] Arch Linux in VirtualBox

Thanks for your reaction.
Arch Linux has a very fine WiKi which I use quite extensively. I followed the directions precisely, including the directions for installation of XFCE.

Still, when I start XFCE it first blinks a bit on and off (long enough to see the Mouse-Logo),  then the display turns to black. /var/log/Xorg.log doesn't show any errors.

Any hints where to go from here?

Offline

#4 2011-11-23 18:23:16

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [Solved] Arch Linux in VirtualBox

algernonz wrote:

Thanks for your reaction.
Arch Linux has a very fine WiKi which I use quite extensively. I followed the directions precisely, including the directions for installation of XFCE.

Still, when I start XFCE it first blinks a bit on and off (long enough to see the Mouse-Logo),  then the display turns to black. /var/log/Xorg.log doesn't show any errors.

Any hints where to go from here?

Two questions (or four within two):


1. How do you start xfce? .xinitrc or using a display manager? If you use .xinitrc please list the command you use.
2. Did the virtualbox guest additions compile correctly?

Offline

#5 2011-11-24 12:35:33

algernonz
Member
Registered: 2011-11-19
Posts: 9

Re: [Solved] Arch Linux in VirtualBox

Ashren wrote:

1. How do you start xfce? .xinitrc or using a display manager? If you use .xinitrc please list the command you use.
2. Did the virtualbox guest additions compile correctly?

1. At the commandline I type "startxfce4" (my preferred way after logon in a shell).
2. Guest additions compiled correctly.

Offline

#6 2011-11-24 13:18:28

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [Solved] Arch Linux in VirtualBox

algernonz wrote:
Ashren wrote:

1. How do you start xfce? .xinitrc or using a display manager? If you use .xinitrc please list the command you use.
2. Did the virtualbox guest additions compile correctly?

1. At the commandline I type "startxfce4" (my preferred way after logon in a shell).
2. Guest additions compiled correctly.

Try entering the following into your .xinitrc:

exec ck-launch-session dbus-launch xfce4-session

and comment out everything else.

Then run startx.

Offline

#7 2011-11-24 22:10:09

algernonz
Member
Registered: 2011-11-19
Posts: 9

Re: [Solved] Arch Linux in VirtualBox

Ashren wrote:

Try entering the following into your .xinitrc:

exec ck-launch-session dbus-launch xfce4-session

and comment out everything else.

Then run startx.

Still no joy. Result is the same as above.
Thanks for y'r efforts.

Offline

#8 2011-11-25 09:37:32

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [Solved] Arch Linux in VirtualBox

Have you tried generating an xorg.conf?

Is dbus running? Can you post your xorg.log?

More (any) information needed.

In virtualbox you shouldn't use framebuffer, you should use vboxvideo driver.

Post output of "lsmod | grep vbox" on guest.

Last edited by Ashren (2011-11-25 09:54:09)

Offline

#9 2011-11-27 21:40:32

algernonz
Member
Registered: 2011-11-19
Posts: 9

Re: [Solved] Arch Linux in VirtualBox

Got it working now.
It all boiled down to not being able to make a software upgrade.

I removed the file /etc/profile.d/locale.sh
Did a "pacman -Syu"
And then "x" started right away.

When you have a brandnew Arch Linux system and at your first upgrade you get something like:

error: failed to commit transaction (conflicting files)
initscripts: /etc/profile.d/locale.sh exists in filesystem
Errors occurred, no packages were upgraded.

..... just remove the mentioned file.

Thanks for inspiring me to go on, Ashren.

Offline

#10 2011-11-27 22:27:10

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [Solved] Arch Linux in VirtualBox

Please mark thread as solved. If you don't know how, directions can be found here. Thanks. smile


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB