Page 1 of 1

Guest additions without X

PostPosted: 22. Feb 2011, 03:09
by robagar
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 :(

Re: Guest additions without X

PostPosted: 22. Feb 2011, 05:01
by Perryg
./VBoxLinuxAdditions.run --nox11

Re: Guest additions without X

PostPosted: 22. Feb 2011, 09:30
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.

Re: Guest additions without X

PostPosted: 22. Feb 2011, 16:04
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 13220 times

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

And VBoxService
VBoxService.png
VBoxService.png (5.33 KiB) Viewed 13223 times

Re: Guest additions without X

PostPosted: 22. Feb 2011, 22:55
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.

Re: Guest additions without X

PostPosted: 24. Feb 2011, 02:16
by robagar
You're quite right - the other GAs have installed. Cheers guys!