I was able to install parallels tools by doing the instructions included above and doing the following
- Downgrading from X-Server 1.16 to 1.15.2
- mkdir /usr/lib/systemd/scripts && mkdir /usr/lib/systemd/system
- ln -sf /usr/lib/systemd/system /etc/init.d
- export def_sysconfdir=/etc/init.d as described in 'preparing dependencies' on https://wiki.archlinux.org/index.php/Parallels
- export kernel_source_dir=/lib/modules/3.16.2/build
- export kernelver=3.16.2
- mount /dev/cdrom /media/cdrom
- cd /media/cdrom
- ./install
- cp /usr/lib/parallels-tools/tools/prltools.x64/xorg.1.15/x-server/modules/{drivers/prlvideo_drv.so,input/prlmouse_drv.so} /opt/lib/xorg/modules/drivers this step was necessary because I built X with --prefix=/opt
- sudo vi /usr/lib/parallels-tools/installer/detect-xserver.h and edit line 15 to be PATH=${PATH:+$PATH:}/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin while still editing detect-xserver.h edit line 35 to be XORG_MODULES_DIRS64="/opt/lib/xorg /opt/lib64/xorg/modules /opt/lib64/X11/modules /usr/lib64/modules"
- Now run /usr/lib/parallels-tools/tools/prltools.x64/sbin/prl-opengl-switcher.sh --on
- cp /usr/lib/parallels-tools/tools/prlmouse.conf /etc/X11/xorg.conf.d/
- cp /usr/lib/parallels-tools/tools/{prlcc.desktop,prl_wmouse_d.desktop,ptiagent.desktop} /usr/share/applications
- cp /usr/lib/parallels-tools/tools/{parallels-cpu-hotplug.rules,parallels-memory-hotplug.rules,xorg-prlmouse.rules} /etc/udev/rules.d
- cat > /usr/lib/systemd/system/parallels-tools.service << "EOF"
[Unit]
Description=Parallels Tools
[Service]
Type=oneshot
ExecStart=/usr/lib/systemd/scripts/prltoolsd start
ExecStop=/usr/lib/systemd/scripts/prltoolsd stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
EOF
then run systemctl enable parallels-tools.service
Repeat for prl-x11
cat > /usr/lib/systemd/system/prl-x11.service << "EOF"
[Unit]
Description=prl-x11 opengl swapper
[Service]
Type=oneshot
ExecStart=/usr/lib/parallels-tools/installer/prl-x11.sh start
ExecStop=/usr/lib/parallels-tools/installer/prl-x11.sh stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
EOF
run systemctl enable prl-x11.service
/usr/lib/parallels-tools/installer/xserver-config.py xorg 1.15 /etc/X11/xorg.conf /etc/X11/xorg.conf.new
then mv /etc/X11/xorg.conf{,.old}
mv /etc/X11/xorg.conf{.new,}
startx should boot right up after that