7

I am fairly new to Arch linux so I want to install it inside a VM first before replacing my current Linux installation.

I've successfully installed base, base-devel & grub packages inside a virtualbox vm. I can successfully login to the newly installed system.

I am a bit confused as I cannot get the xorg working.
I've installed the following packages:

#pacman -S xorg-server xorg-xinit xorg-server-utils mesa
#pacman -S xorg-twm xorg-xclock xterm

I have selected all the default selection for driver choice.
Following is the error log when I run startx: error

Here is the log: /var/log/Xorg.0.log: enter image description here Is there any specific package which I need to install in order to successfully startx inside a virtualbox guest VM?

7
  • (EE) Fatal server error: (EE) no screens found (EE) Pklease consult the X Org Foundation support xinit: unable to connect to X server: Connection refused Commented Feb 8, 2016 at 10:52
  • I will update the question for more clarity Commented Feb 8, 2016 at 10:54
  • @Mat I've updated the question. Please have a look Commented Feb 8, 2016 at 11:01
  • Please consult the log file at "/var/..." for additional information Commented Feb 8, 2016 at 11:06
  • 2
    did you try this method from Arch Linux wiki? Commented Feb 8, 2016 at 13:29

1 Answer 1

6

Install the full xorg, plus virtualbox support (you might have to reboot after that):
pacman -S xorg virtualbox-guest-utils
If you really want to use startx you need either to change your ~/.xinitrc to start blackbox or install ugly old twm instead.

1
  • 1
    Thanks for your answer. Installing virtualbox-guest-utils fixed the problem for me, however, my situation was a little different from OPs -- I'd run systemctl enable lxdm.service. Because I lacked the guest package, I saw a grainy, blue screen with no indication of the real problem. Commented Dec 1, 2018 at 23:45

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.