How to install xorg inside virtualbox guest?
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.
Related videos on Youtube
![SMR](https://i.stack.imgur.com/9yJeA.jpg?s=256&g=1)
SMR
Updated on September 18, 2022Comments
-
SMR almost 2 years
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 runstartx
:Here is the log:
/var/log/Xorg.0.log
:Is there any specific package which I need to install in order to successfully
startx
inside a virtualbox guest VM?-
SMR over 8 years
(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 over 8 years@Mat I've updated the question. Please have a look
-
Mat over 8 years
Please consult the log file at "/var/..." for additional information
-
schaiba over 8 yearsWhat video card do you have?
-
Edward Torvalds over 8 yearsdid you try this method from Arch Linux wiki?
-
-
progfan over 5 yearsThanks for your answer. Installing
virtualbox-guest-utils
fixed the problem for me, however, my situation was a little different from OPs -- I'd runsystemctl enable lxdm.service
. Because I lacked the guest package, I saw a grainy, blue screen with no indication of the real problem.