Page 1 of 1

add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 17. Jul 2014, 23:16
by MarkHedgesLNE
Hi. My Debian Jessie image just upgraded and now I can't do full-screen anymore.

Running VBoxLinuxAdditions.run tells me that it won't install the X plugins because X is an unsupported pre-release version. I tried to trick it but was unsuccessful. I think it would be easy to add a flag to the script to allow installing with a pre-release verision of X anyway. You might as well let people test it for you.

Is there a way to re-pack VBoxLinuxAdditions.run after unpacking it with the -tar argument? Maybe I could modify it to try this out.

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 00:31
by Perryg
What version are they using? Be specific.

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 00:59
by loukingjr
I had mentioned this issue here… viewtopic.php?f=3&t=62629
VB doesn't like the new xserver but Jessie is pre-release afterall.

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 01:13
by Perryg
http://www.virtualbox.org/svn/vbox/trun ... add-x11.sh

Code: Select all

 case $x_version in
        1.*.99.* )
            echo "Warning: unsupported pre-release version of X.Org Server installed.  Not"
            echo "installing the X.Org drivers."
            dox11config=""
            ;;
        1.11.* )
            xserver_version="X.Org Server 1.11"
            vboxvideo_src=vboxvideo_drv_111.so
            test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf=""
If you want to try to work around this you could edit the installer, but this usually does not work as each new release usually requires a new vboxvideo_drv_***.so

Usually you would revert the Xorg and lock apt to not replace it until the additions are built to run the newer version. But any 1.*.99.* will still show as experimental as that is what the 99 is used for.

Moving to Linux guest as this just went to a discussion instead of a suggestion.

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 01:16
by loukingjr
While I'm here speaking of pre-release software. Ubuntu has switched to a 3.16 kernel for 14.10 versions and the GA's won't build with that either.

I think it's only important for those of us who like to play with future releases.

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 01:17
by Perryg
I thought 4.3.14 supported 3.16

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 01:19
by loukingjr
Perryg wrote:I thought 4.3.14 supported 3.16
I thought it did also. Technically it's 3.16.04 but still. I can try again. Maybe I messed something up.

edit: I think I see what's wrong. it may also be an xserver issue but give me a minute. lol

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 01:32
by loukingjr
okay something was installed,.. xserver-xorg-input-synaptics(1.8.0-1-exp2ubuntu1.)

I guess that's it.

other than that, it still seems to be using xserver 1.5.1

edit: that's not it I guess, it was already installed> I wonder why it re-installed it. the versions are the same.

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 01:50
by loukingjr
it updated many packages but the main thing seems to be the switch from the 3.15 kernel to 3.16. beats me.

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 01:54
by loukingjr
well heck. I just reinstalled the GAs again and now it's working. lol
edit: I think the RC1 additions were still installed. perhaps that is why it wasn't working

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 04:09
by biffhero
MarkHedgesLNE wrote:Hi. My Debian Jessie image just upgraded and now I can't do full-screen anymore.

Running VBoxLinuxAdditions.run tells me that it won't install the X plugins because X is an unsupported pre-release version. I tried to trick it but was unsuccessful. I think it would be easy to add a flag to the script to allow installing with a pre-release verision of X anyway. You might as well let people test it for you.

Is there a way to re-pack VBoxLinuxAdditions.run after unpacking it with the -tar argument? Maybe I could modify it to try this out.
Mark, here's what I did to try to work around the script not doing the install.

1. link the drivers in to place
- "ln -s /opt/VBoxGuestAdditions-4.3.12/lib/VBoxGuestAdditions/vboxvideo_drv_115.so /usr/lib/xorg/modules/drivers/vboxvideo_drv.so"

2. X wouldn't start, ABI mismatches

3. cat /usr/share/X11/xorg.conf.d/00-no-abi.conf
Section "Server Flags"
Option "IgnoreABI"
EndSection

This is where X segfaulted on startup and I moved on to trying to find a different solution. So far, I have figured that the best bet is to try to downgrade my X.

Rob

Re: add flag to VBoxLinuxAdditions.sh to allow pre-release X

Posted: 18. Jul 2014, 04:29
by loukingjr
Just so I don't seem absent minded or incompetent I figured out what went wrong earlier today. When I first tried to update Lubuntu 14.04 this morning, the update included linux-image-3.16.0-4 and the guest additions wouldn't build. I tried this afternoon and the same thing happened. The last time I tried there was now a 3.16.0-4.5 image along with a couple 3.16.0-4.9 related packages. So wasn't my fault :shock: :D