Guest additions without X

Discussions about using Linux guests in VirtualBox.

Guest additions without X

Postby robagar » 22. Feb 2011, 03:09

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

Code: Select all   Expand viewCollapse view
:: 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 :(
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

Postby Perryg » 22. Feb 2011, 05:01

./VBoxLinuxAdditions.run --nox11
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest additions without X

Postby robagar » 22. Feb 2011, 09:30

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.
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

Postby Perryg » 22. Feb 2011, 16:04

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 13512 times

But the guest additions do work (TimeSync). See /var/log/VBoxGuestAdditions.log
VBoxGuestAdditions.log.png
VBoxGuestAdditions.log.png (1.29 KiB) Viewed 13511 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 13512 times

And VBoxService
VBoxService.png
VBoxService.png (5.33 KiB) Viewed 13515 times
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest additions without X

Postby Sasquatch » 22. Feb 2011, 22:55

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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Guest additions without X

Postby robagar » 24. Feb 2011, 02:16

You're quite right - the other GAs have installed. Cheers guys!
robagar
 
Posts: 4
Joined: 17. Feb 2011, 04:13
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Arch Linux


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 6 guests