Problem installing Guest Additions in FC2
Problem installing Guest Additions in FC2
Hello,
I am trying to install the guest additions on an FC2 guest using VB 1.5. The two kernel modules compile fine, but then when it tries to load the additions for X it gets the following error:
Could not find X.org or XFree86 on the guest system. The X window drivers will not be installed.
Before everyone blasts me for using FC2, understand that I'm teaching a class and offering remote labs to my students through VRDP, and FC2 is what my book is written around. I tried using the 1.4.0 guest additions and I got the same exact error. Any ideas?
Thanks
I am trying to install the guest additions on an FC2 guest using VB 1.5. The two kernel modules compile fine, but then when it tries to load the additions for X it gets the following error:
Could not find X.org or XFree86 on the guest system. The X window drivers will not be installed.
Before everyone blasts me for using FC2, understand that I'm teaching a class and offering remote labs to my students through VRDP, and FC2 is what my book is written around. I tried using the 1.4.0 guest additions and I got the same exact error. Any ideas?
Thanks
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
FC2 too old
FC2 is only three years old, as opposed to something like XP, which is 6 years old, although in Fedora terms it is old. I personally hate FC2, but as I said, my textbook is written around FC2, and my university has a policy on not teaching software that doesn't match the book, so I am stuck with FC 2.
Interestingly, FC2 uses X.org, so I am not sure where the error is coming from or why. If it is looking for a specific file, I can sym link it if need be, but I need to know how the additions are trying to determine if XF86 or X.org is missing.
Interestingly, FC2 uses X.org, so I am not sure where the error is coming from or why. If it is looking for a specific file, I can sym link it if need be, but I need to know how the additions are trying to determine if XF86 or X.org is missing.
You can unpack the Additions installer using the command (as a normal user)
The checks are done in the file install.sh. If you can spot what is going wrong, do add a comment to this thread to let me know so that I can fix it.
Code: Select all
sh VBoxLinuxAdditions.run --keep --noexec
Fixed!
I did the unpacking as you suggested, and found the problem. When the script tries to find the X version, it runs the command X -version on line 17 and searches for the string
or
before its version number. I edited line 17 to this:
Thanks for the help
X Window System Version
or
unfortunately, FC2 for whatever reason, has the stringXFree86 Version
X Protocol Version 11, Revision 0, Release
before its version number. I edited line 17 to this:
to include all three possibilities, and it installed without a hitch.x_version=$(X -version 2>&1 | sed -n 's/^X Window System Version \([0-9.]\+\)/\1/p')$(X -version 2>&1 | sed -n 's/^XFree86 Version \([0-9.]\+\)/\1/p')$(X -version 2>&1 | sed -n 's/^X Protocol Version 11, Revision 0, Release \([0-9.]\+\)/\1/p')
Thanks for the help
-
- Posts: 5
- Joined: 18. Sep 2007, 07:43
Re: Fixed!
calmond wrote:I did the unpacking as you suggested, and found the problem. When the script tries to find the X version, it runs the command X -version on line 17 and searches for the stringX Window System Version
Hi
I tried to do this as well and it did pass that first check, however, it now fails at line 33.
I looked about and its failing because i'm using a new xserver released on 5 September, for debian anyway, which is now version 1.4.0.
this is my output from running "X -version"
- X.Org X Server 1.4.0
Release date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4-2)
Current Operating System: Linux debian-main 2.6.22-2-486 #1 Thu Aug 30
UTC 2007 i686
Build Date: 16 September 2007
Does the command have anything after the
If you type man X, what is the version number at the very bottom of the man page?
My line 33 of the install.sh script is
Is that where you think yours is failing? Are you in the extracted install directory when you run install.sh? If you aren't, you need to be so it can find the module directory.
line? Specifically a release number, or is what you posted the entire output?X Protocol Version 11, Revision 0
If you type man X, what is the version number at the very bottom of the man page?
My line 33 of the install.sh script is
Code: Select all
test_module="module/test/vboxadd.test.o"
Possible answer
Another possible answer might be here:
-
- Posts: 5
- Joined: 18. Sep 2007, 07:43
No thats pretty much it. Nothing after the "X protocol.." part.calmond wrote:Does the command have anything after theline? Specifically a release number, or is what you posted the entire output?X Protocol Version 11, Revision 0
The version of the server is shown on the first line, namely
and yes that is the output minus the times...X.Org X Server 1.4.0
X version 11, maybe or xorg-doc 1.4.0?If you type man X, what is the version number at the very bottom of the man page?
I'm not sure what you mean here?
Sorry about that i was looking at the wrong part in mc! :SMy line 33 of the install.sh script is...
it was line 296 i had meant to say
Code: Select all
if [ -z "$x_version" -o -z "$modules_dir.......
cheers
X version
Hello,
What version/distro of Linux are you running? What we are looking for is the X release number. X is often refered to as X11, because it is version 11, but there are several releases (updates or revisions) to this version. Almost all systems are using version 6.something or 7.something. For instance, the most current release of X.org is 7.3, according to http://www.x.org/wiki/#head-8fff9fa6d3e ... c884751146
What we are trying to find out is what specific release you have.
The if statement is failing because it is testing if the variable $x_version has a value, and it doesn't. If you tell me the version/distro you are using, I'll install it and mess around a bit and see what I can find, although it may take me a day or two. In a worst case scenario we can hard code the value of $x_version.
What version/distro of Linux are you running? What we are looking for is the X release number. X is often refered to as X11, because it is version 11, but there are several releases (updates or revisions) to this version. Almost all systems are using version 6.something or 7.something. For instance, the most current release of X.org is 7.3, according to http://www.x.org/wiki/#head-8fff9fa6d3e ... c884751146
What we are trying to find out is what specific release you have.
The if statement is failing because it is testing if the variable $x_version has a value, and it doesn't. If you tell me the version/distro you are using, I'll install it and mess around a bit and see what I can find, although it may take me a day or two. In a worst case scenario we can hard code the value of $x_version.
-
- Posts: 5
- Joined: 18. Sep 2007, 07:43
Re: X version
Hicalmond wrote:Hello,
What we are trying to find out is what specific release you have.
I'm running debian 4 and X.org release is 7.3. The Xorg server version, however, is 1.4.0 as reported by "X -version".
http://www.x.org/wiki/Releases/7.3
no $x-version is not getting a value.
I did put the value "7.2" in $x_version and got the drivers installed to the correct locations but X is now failing to load the modules due to a module requirement mismatch in the vboxvideo and a undefined symbol in the vboxmouse. obviously the new X.org release is to quick for VB and it will be fixed when a new release of vboxadditions comes out!
cheers
I have the same problem.
My distro is gentoo.
X -version info:
X.Org X Server 1.4.0
Release date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.22-gentoo-r5 i686
Current Operating System: Linux 2.6.22-gentoo-r5
Build Date: 24 September 2007
I'm sorry I'm not familiar with the gentoo, and I can't give a way to create X Window System startup services on my distribution.
My distro is gentoo.
X -version info:
X.Org X Server 1.4.0
Release date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.22-gentoo-r5 i686
Current Operating System: Linux 2.6.22-gentoo-r5
Build Date: 24 September 2007
I'm sorry I'm not familiar with the gentoo, and I can't give a way to create X Window System startup services on my distribution.
-
- Posts: 5
- Joined: 18. Sep 2007, 07:43