Search

Language:  

Available article translations:

Parallels Tools installation in Kali Linux Virtual machines

APPLIES TO:
  • Parallels Desktop for Mac Business Edition
  • Parallels Desktop
  • Parallels Desktop for Mac Pro Edition
  • Parallels Desktop Lite

Symptoms

Video artifacts, problems with screens resolution or other issues with Parallels Tools functionality in Kali Linux virtual machine (VM) after installing updates for Linux.

Cause

Kali Linux isn't officially supported under Parallels Desktop

Resolution

IMPORTANT: Before installing Parallels Tools we recommend to create a fresh snapshot for your Kali Linux VM.

alttext

IMPORTANT: Kali Linux is a dedicated Linux distributive. Working with it may require some additional technical background.

  1. Start the virtual machine.
  2. Log into your Kali Linux VM, then go to Terminal in Kali Linux and execute the following command:

    su
    

    (enter root password)

  3. Verify that the repositories for Kali Linux are correct. In Kali Terminal copy and execute the following command:

    nano /etc/apt/sources.list
    

    alttext

    Please make sure that following repository line is present:

    deb http://http.kali.org/kali kali-rolling main contrib non-free

    alttext

  4. Update Kali Linux environment to the latest version. Also make sure that essential packages are installed as well. Copy and execute the following commands one by one:

    apt-get clean
    apt-get update
    apt-get upgrade -y
    apt-get dist-upgrade -y
    apt-get install dkms kpartx printer-driver-postscript-hp
    

    alttext alttext alttext alttext alttext

  5. Restart Kali Linux VM.

  6. Install Parallel Tools by running the installer. Execute following commands in Kali Terminal:

    su
    eject /dev/cdrom
    

    alttext

    Please click on an exclamation icon located in the top right corner of your virtual machine window. Then click on Install Parallels Tools

    alttext

    Continue installing Parallels Tools by executing the commands bellow:

    mkdir /media/pt
    mkdir /root/Desktop/pt
    mount /dev/cdrom /media/pt
    cp -r /media/pt/  /root/Desktop/pt
    cd /root/Desktop/pt/pt
    ./install
    

    alttext
    alttext

    (hit Resume/Enter and proceed with installing Parallels Tools)
    alttext
    alttext

  7. Restart Kali Linux VM

    Parallels Tools should be now installed in your Kali Linux VM. You may experience some graphical issues or glitches (for instance your mouse pointer might be missing). In case of such scenario please refer to the next step.

  8. In Kali Linux Terminal please copy and execute following commands:

    su
    rm -rf /root/Desktop/pt/
    apt-mark unhold xserver-xorg-input-all xserver-xorg-input-libinput
    rm -f /etc/apt/preferences.d/parallels-fix
    mkdir /etc/X11/xorg.conf.d/
    cd /etc/X11/xorg.conf.d/
    ln -s /usr/share/X11/xorg.conf.d/50-prlmouse.conf   
    

    alttext

  9. Restart Kali Linux VM.

  10. That's it. Parallels Tools are now installed for your Kali Linux VM.



f9b6a8d63f3437e0dca35c9704a9033c 385adc52a567cad80fb2f95fb8c393bc 4987860c21de5849bcebfeb0472cfd03 1e5db16426987d561060acdf56d947b4

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No