0

Arch startx shows error(1)

Setup Arch Linux on VirtualBox but unable to startx. Also i cant reboot without using sudo as it says failed to talk to init daemon. Using cat on the log file shows this: Cat on log file

4
  • 1
    The X server failed to start. Look into the mentioned log file (/var/log/Xorg.0.log) to find out why.
    – mik
    Apr 27, 2016 at 13:05
  • I did less /var/log/Xorg.0.log but it just shows ~ symbols all over the file and nothing else. Apr 28, 2016 at 0:44
  • What version of VirtualBox and ArchLinux are you using?
    – mik
    Apr 28, 2016 at 10:06
  • Both are the latest versions respectively. Apr 28, 2016 at 10:09

2 Answers 2

2

Before using Xorg on archlinux, it need to be configured. One way to do it is to run:

Xorg :0 -configure
cp ~/xorg.conf.new /etc/X11/xorg.conf
10
  • Server terminated with error 2. To test the server run X -config /root/xorg.conf.new. Apr 28, 2016 at 11:39
  • And when using cp it cannot find home/username/xorg.conf.new Apr 28, 2016 at 11:42
  • Please append the X server error log file contents to your question. (/var/log/Xorg.0.log)
    – jlliagre
    Apr 28, 2016 at 11:47
  • The second image is the log file which says screen init failed for driver. Apr 28, 2016 at 11:49
  • Gave up on the installation. Deleted the arch iso Apr 29, 2016 at 12:02
1

The problem may be related to https://www.virtualbox.org/ticket/14732. In such a case you would need to use the newest VirtualBox (5.0.18), and also install guest additions before starting X.

3
  • I have the 5.0.18 installed Apr 28, 2016 at 10:13
  • Did you install VirtualBox Guest Additions in the ArchLinux?
    – mik
    Apr 28, 2016 at 10:36
  • The virtualbox guest utils are up to date. Apr 28, 2016 at 10:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .