Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Worked like a charm!I managed to get Parallels Tools working today on my freshly updated Kali system by following the steps at https://kb.parallels.com/123968 but stopping before running ./install. Then follow the steps:
Credit goes to Devries for step 4.
- Move into the kmods directory, where you should see a file called prl_mod.tar.gz. Extract this archive so we can edit it.
- Open the file prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c and add the line "#define segment_eq(a, b) ((a).seg == (b).seg)" to the top.
- Open the file prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c and add the line "#include <linux/blkdev.h>" to the top.
- Open the files prl_fs/SharedFolders/Guest/Linux/prl_fs/Makefile and prl_vid/Video/Guest/Linux/kmod/Makefile, and add the line "KBUILD_EXTRA_SYMBOLS := /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Module.symvers" to the top.
- Re-create the archive with the edited files.
- Now run ./install and it should work.
Hey Maria@Parallels, is the engineering team still "working hard on the issue resolution?"Hi, Parallels Engineering Team works hard on the issue resolution.
Once we get any updates we will let you know.
I follow this but I get the same error, in the log:I managed to get Parallels Tools working today on my freshly updated Kali system by following the steps at https://kb.parallels.com/123968 but stopping before running ./install. Then follow the steps:
Credit goes to Devries for step 4.
- Move into the kmods directory, where you should see a file called prl_mod.tar.gz. Extract this archive so we can edit it.
- Open the file prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c and add the line "#define segment_eq(a, b) ((a).seg == (b).seg)" to the top.
- Open the file prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c and add the line "#include <linux/blkdev.h>" to the top.
- Open the files prl_fs/SharedFolders/Guest/Linux/prl_fs/Makefile and prl_vid/Video/Guest/Linux/kmod/Makefile, and add the line "KBUILD_EXTRA_SYMBOLS := /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Module.symvers" to the top.
- Re-create the archive with the edited files.
- Now run ./install and it should work.
The solution of @electrifeye worked for you?Ignore my previous comment... I see everything I needed to get this working was in the comments once expanded. Thank you all.
Yes, worked for me following his steps. However the only thing I did different was to install the headers using:The solution of @electrifeye worked for you?
I still have the same problem. Was not possible to find the "linux-headers-5.9.0-kali1-amd64".
Thanks for posting this. My desktop is back.The latest dist-upgrade for Kali installs kernel 5.10.0-kali2-amd64.
The instructions from electrifye earlier in the thread say to modify prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c and add the line "#define segment_eq(a, b) ((a).seg == (b).seg)" to the top. This is no longer enough, as the get_fs() and set_fs() macros have been removed in kernel 5.10, and this file uses get_fs to determine whether the thread is running as root or as a user.
Instead, paste this in at the top to kludge around it.
#if (LINUX_VERSION_CODE <= KERNEL_VERSION(5, 10, 0))
#define segment_eq(a,b) ((a).seg == (b).seg)
#define USER_DS ((mm_segment_t) { -0x40000000000UL })
#define get_fs() (current_thread_info()->addr_limit)
#else
// kludge to make the segment_eq call work for non-root threads
#define USER_DS 1
#define segment_eq(a,b) (b)
#endif
If you've already installed Parallels Tools, you can fix this directly in /usr/src/parallels-tools-16.1.1.49141/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c before running apt dist-upgrade.
The instructions worked great for installing Parallels Tools on Kali 2020.4, running on Mac OS Big Sur 11.2 through Parallels Desktop 16.1.3! Thanks for providing the tweaks needed to fix what Parallels should've done. Unfortunately, I had to disable 3D acceleration to avoid getting stuck on a white screen after logging in. Has anyone figured out a way around this issue, except disabling 3D acceleration?
/home/${USER}/.config/xfce4
#if (LINUX_VERSION_CODE <= KERNEL_VERSION(5, 10, 0))[/INDENT]
#define segment_eq(a,b) ((a).seg == (b).seg)
#define USER_DS ((mm_segment_t) { -0x40000000000UL })
#define get_fs() (current_thread_info()->addr_limit)
#else
// kludge to make the segment_eq call work for non-root threads
#define USER_DS 1
#define segment_eq(a,b) (b)
#endif
Hello,
I am not sure if I did everything right.
1. mount the "install parallels tools"
2. copy the whole contents in /media/cdrom0/ to (shomewhere where i can edit prl_mod.tar.gz) so i copied it to /Documents/Parallels Tools
3. extract the prl_mod.tar.gz and edit prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c . I + go to the beggining of the file paste:
Code:#if (LINUX_VERSION_CODE <= KERNEL_VERSION(5, 10, 0))[/INDENT] #define segment_eq(a,b) ((a).seg == (b).seg) #define USER_DS ((mm_segment_t) { -0x40000000000UL }) #define get_fs() (current_thread_info()->addr_limit) #else // kludge to make the segment_eq call work for non-root threads #define USER_DS 1 #define segment_eq(a,b) (b) #endif
without the # (then it would be all commented)
4. save with ESC, :wq, enter
5. go to /Documents/Parallels Tools/kmods/ and here select all files and right clicl and Create archive
6. Then name it prl_mod.tar.gz
7. go to terminal and sudo -i
8. cd to my /Documents/Parallels Tools/
9. in root terminal: sh ./install
I have tried replicate this 3 time and every time i run the install i will be asked about the 5.9 headers.
Side note: When running it in documents when i run install in the Parallels Tools folder there will appear new file 0.
Thanks for Your help
Yes I have installed the 5.10 image and headers already, but the installer from parallels needs 5.9 headers.The 5.9 headers might not be in the repo anymore. Take a snapshot, run apt-get update, apt-get dist-upgrade and try again (this time you'll be installing the 5.10 headers).
I see. After I ran dist-upgrade the installer started requesting the 5.10 headers instead. Let's see what ideas our forum friends have.Yes I have installed the 5.10 image and headers already, but the installer from parallels needs 5.9 headers.
And because the headers are no longer available then even trying to install it on like 2020.1 version of kali won't help.
Anyone any other ideas?