Guest additions without X

Discussions about using Linux guests in VirtualBox.
Post Reply
robagar
Posts: 4
Joined: 17. Feb 2011, 04:13
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Arch Linux

Guest additions without X

Post by robagar »

When I run VBoxLinuxAdditions.run, I get this error:

Code: Select all

:: Installing the Window System drivers                                  [FAIL]
(Could not find the X.Org or XFree86 Window System.)
... which is fair enough since the guest is a LAMP server with no GUI. Is there a way to intall everything but the X stuff? Or at a pinch, to just install the time sync part? VBoxLinuxAdditions.run --help wasn't much help :(
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest additions without X

Post by Perryg »

./VBoxLinuxAdditions.run --nox11
robagar
Posts: 4
Joined: 17. Feb 2011, 04:13
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Arch Linux

Re: Guest additions without X

Post by robagar »

No, that just prevents the installer script itself from spawning an xterm AFAICS. You still get the "Could not find the X.Org or XFree86 Window System" error.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest additions without X

Post by Perryg »

Funny. I just ran the command and it worked. It did say that it failed with the x windows but since there are none it would.
nox11.png
nox11.png (7.96 KiB) Viewed 17866 times
But the guest additions do work (TimeSync). See /var/log/VBoxGuestAdditions.log
VBoxGuestAdditions.log.png
VBoxGuestAdditions.log.png (1.29 KiB) Viewed 17865 times
Run VBoxControl --help and VBoxService --help from the guest to see if the services is installed.
Run VBoxControl
VBoxControl.png
VBoxControl.png (12.3 KiB) Viewed 17866 times
And VBoxService
VBoxService.png
VBoxService.png (5.33 KiB) Viewed 17869 times
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Guest additions without X

Post by Sasquatch »

The error is noted in my Howto: Install Linux Guest Additions + Xorg config. It's a simple if [ X ] ; then install X modules; else echo FAIL situation. It will just continue with the rest.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
robagar
Posts: 4
Joined: 17. Feb 2011, 04:13
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Arch Linux

Re: Guest additions without X

Post by robagar »

You're quite right - the other GAs have installed. Cheers guys!
Post Reply