12-21-2016, 08:56 AM | #1 |
Junior Member
Join Date: Dec 2016
Posts: 1
|
DisplayLink Kali and Dell laptop
Hello everyone,
I have Dell XPS with Kali has the main operation system and 2 external Dell screens. Yesterday I got my DisplayLink, when trying to install the Ubuntu drivers I got this: Code:
Verifying archive integrity... All good. Uncompressing DisplayLink Linux Driver 1.2.65 100% DisplayLink Linux Software 1.2.65 install script called: install Distribution discovered: Kali GNU/Linux Rolling Unsatisfied dependencies. Missing component: Linux headers for running kernel, 4.8.0-kali2-amd64. This is a fatal error, cannot install DisplayLink Linux Software. https://adangel.org/2016/09/26/displ...-intel-debian/ When it said: Code:
It’s time to dissect the displaylink download. The downloaded archive “DisplayLink USB Graphics Software for Ubuntu 1.2.zip” contains the binary “displaylink-driver-1.2.58.run”. This in turn is itself an archive which contains the install script that checks for the kernel headers. With ./displaylink-driver-1.2.58.run --help you can find out that with ./displaylink-driver-1.2.58.run --keep --noexec --target displaylink-driver-1.2.58 the install scripts will be extracted to the subdirectory displaylink-driver-1.2.58/ without executing the script. Now you can modify the install script displaylink-driver-1.2.58/displaylink-installer.sh. In the function “check_requirements()” you see, that the script checks for the existence of the file /lib/modules/4.6.0-1-amd64/build/Kconfig. If it doesn’t exist, it spits out “Unsatisfied dependencies. Missing component: Linux headers for running kernel, 4.6.0-1-amd64”. I simply commented out this line as I know, I have the kernel headers installed. Now I can run the install script manually with ./displaylink-installer.sh install. Now it doesn't even try to install: Code:
DisplayLink Linux Software 1.2.65 install script called: Distribution discovered: Kali GNU/Linux Rolling I saw this git: https://github.com/AdnanHodzic/displaylink-debian I download it and tried to install got this: Code:
------------------------------------------------------------------- Preparing for install Archive: DisplayLink_Ubuntu_1.2.65.zip inflating: 1.2.65/displaylink-driver-1.2.65.run inflating: 1.2.65/LICENSE Creating directory displaylink-driver-1.2.65 Verifying archive integrity... All good. Uncompressing DisplayLink Linux Driver 1.2.65 100% ------------------------------------------------------------------- Installing driver version: 1.2.65 DisplayLink Linux Software 1.2.65 install script called: install Distribution discovered: Kali GNU/Linux Rolling Unsatisfied dependencies. Missing component: Linux headers for running kernel, 4.8.0-kali2-amd64. This is a fatal error, cannot install DisplayLink Linux Software. ------------------------------------------------------------------- Performing post install steps ln: failed to create symbolic link '/opt/displaylink/libstdc++.so.6': No such file or directory sed: can't read /lib/systemd/system/dlm.service: No such file or directory Failed to enable unit: File dlm.service: No such file or directory ------------------------------------------------------------------- Performing clean-up Removing redundant: "DisplayLink_Ubuntu_1.2.65.zip" file Removing redundant: "1.2.65" directory ------------------------------------------------------------------- Install complete, please reboot to apply the changes Code:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 294mm x 165mm 1920x1080 59.93*+ 1680x1050 59.95 59.88 1600x1024 60.17 1400x1050 59.98 1280x1024 60.02 1440x900 59.89 1280x960 60.00 1360x768 59.80 59.96 1152x864 60.00 1024x768 60.04 60.00 960x720 60.00 928x696 60.05 896x672 60.01 960x600 60.00 960x540 59.99 800x600 60.00 60.32 56.25 840x525 60.01 59.88 800x512 60.17 700x525 59.98 640x512 60.02 720x450 59.89 640x480 60.00 59.94 680x384 59.80 59.96 576x432 60.06 512x384 60.00 400x300 60.32 56.34 320x240 60.05 DP-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) Last edited by Placbeo; 12-21-2016 at 08:58 AM. Reason: adding xrandr |
|
|