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
    – SMR
    Feb 8, 2016 at 10:52
  • I will update the question for more clarity
    – SMR
    Feb 8, 2016 at 10:54
  • @Mat I've updated the question. Please have a look
    – SMR
    Feb 8, 2016 at 11:01
  • Please consult the log file at "/var/..." for additional information
    – Mat
    Feb 8, 2016 at 11:06
  • 2
    did you try this method from Arch Linux wiki?
    – Alex Jones
    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.
    – progfan
    Dec 1, 2018 at 23:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.