VirtualBox

Changeset 60933 in vbox


Ignore:
Timestamp:
May 10, 2016 6:50:49 PM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: prevent the kernel module from loading if the X server version is less than 1.17.

Location:
trunk/src/VBox/Additions/linux/installer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh

    r60350 r60933  
    373373            dox11config=""
    374374            ;;
     375    esac
     376    case "${x_version}" in
     377    4.* | 6.* | 7.* | 1.?.* | 1.1[0-6].* )
     378        echo "blacklist vboxvideo" > /etc/modprobe.d/blacklist-vboxvideo.conf
     379        ;;
     380    *)
     381        if test -f /etc/modprobe.d/blacklist-vboxvideo.conf; then
     382            rm -f /etc/modprobe.d/blacklist-vboxvideo.conf
     383            ${MODPROBE} vboxvideo
     384        fi
     385        ;;
    375386    esac
    376387    test -n "${dox11config}" &&
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r60317 r60933  
    210210        }
    211211    }
    212     # Load the kernel video driver if we can.
    213     $MODPROBE vboxvideo > /dev/null 2>&1
    214212
    215213    # Put the X.Org driver in place.  This is harmless if it is not needed.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette