- Parallels Desktop
- Contents
- Installation of Arch as a guest
- Parallels Tools
- Overview
- Required Kernel & Xorg versions
- Configuring Xorg
- Preparing dependencies
- Installing Parallels tools
- Parallels tools with kernel v5.9+
- Systemd Configuration
- Using the Tools
- Sharing Folders
- Dynamic Display Resolution
- Future work
- Parallels Client
- Доступ к приложениям Windows, рабочим столам и данным с любого устройства
- Как тюнинговать Parallels Desktop
- Улучшение производительности виртуальной машины
- Управление обновлениями Windows
- Режим поездки
- Автоматическая видео память
- Интеграция Mac и Windows
- Parallel windows and linux
- Installation Procedures — CLI
- DEB Version
- RPM Version
- .TAR.BZ2 Version
- SSO (Single Sign On) Installation Procedures
- Manual installation procedure (RPM Required)
- Была ли эта статья полезной?
Parallels Desktop
This article or section needs language, wiki syntax or style improvements. See Help:Style for reference.
Parallels Desktop is a hypervisor for macOS which allows users to install a variety of operating systems as «virtual machines» (guests) on the host system, reducing the need for managing multiple physical machines. A more complete description on virtualization can be found at Wikipedia.
Contents
Installation of Arch as a guest
Parallels Desktop supports Linux guests out of the box, but only offers support for a few Linux distributions — excluding Arch Linux. This means the installation of Parallels tools have not been tested by the vendor, and requires some manual intervention to work under Arch. If you do not wish to use Parallels tools, installation is as simple as choosing «other linux» when creating a new virtual machine and proceeding as you would on any real machine.
In addition to the instructions below, there is an installation guide for Arch Linux in Parallels Knowledgebase [1].
Parallels Tools
Overview
To improve interoperability between the host and the guest operating systems, Parallels provides a package called «Parallels tools» which contains kernel modules and userspace utilities. See Parallels Tools Overview for a list of its features.
This article assumes users want to make full use of the tools, including Xorg configuration. If you are running a headless server, you can skip over the sections relating to X.
When referring to the version of parallel tools the form is
. . For example: 9.0.24237.1028877 corresponds to Parallels version 9.0.24237 with tools version 1028877
Required Kernel & Xorg versions
The tools installer uses binaries which can sometimes be incompatible with the latest version of Xorg or kernels in the Arch repository.
Different versions have different software requirements:
- 9.0.24229.991745 needs 3.13.8 (or possibly a later 3.13.y) (3.14 is known to show a black screen and freeze the system) and Xorg 1.15.y or earlier
- 9.0.24237.1028877 works on Arch 3.14.15-1-lts (newer versions may work) and Xorg 1.15.y or earlier
- 11.0.0.31193 works on Arch 4.1.6-1 and Xorg 1.17.2-4
- 12.1.0.41489 works on Arch 4.8.7-1 and Xorg 1.18.4, after removing the PATH statement in the install script (cdrom//Parallels Tools//install), and adding «iomem=relaxed» to kernel boot parameters.
- 14.1.3.45485 works on Arch 5.1.16-1 and Xorg 1.20.5 when following this guide
- 15.0.0.46967 works on Arch 5.3.1-1 and Xorg 1.20.5 (Parallels 15)
And there are different ways to obtain them:
- linux 3.13.8 can be obtained from the Arch Linux Archive
- linux 3.14.15 is the current linux-lts, so just install that and regenerate your grub config.
Configuring Xorg
The Parallels tools installer will take care of configuring Xorg, so just follow the instructions at Xorg to install the relevant packages on your system. Install the xf86-video-vesa package to use the vesa driver.
Preparing dependencies
The installation script expects to find your init-scripts in /etc/init.d/ and will fail if it is not present. Since Arch uses systemd, create a symlink to the systemd scripts directory and set the def_sysconfdir variable:
The installation script also expects the file /etc/X11/xorg.conf . We can just create an empty file, as it will automatically be configured by the installer:
Then, you need to install standard build utilities, python2, and kernel headers: < depends on your Parallels version, you may have to install linux-lts-headers instead of linux-headers . Finally, create a temporary symbolic link to python 2. Remove this link after the installation process. Choose «install Parallels Tools» from the «Virtual Machine» menu. Parallels Tools are located on a cd-image, which will be connected to your virtual machine. You have to mount it first: Now you can proceed to install Parallels tools using the installation script as follows: Parallels tools currently requires to be patched to work with kernel v5.9 or newer. In case the installation step above failed, try and follow the instructions here: The Parallels tools daemon should be started at boot, so create a service file like the following: Enable the parallels-tools.service service. Reboot the system and Parallels tools should now be installed and working. You can specify which folders on your hosts system you would like to share with your guests under «virtual machine > configuration > sharing». Then you mount a shared folder like this: A very helpful tool is prlcc . It changes the resolution of the display (in the guest — not the host) automatically when your resize your window. If this tool is not running, the contents of the window gets stretched or shrunken. prlcc is usually started automatically and runs in the background. If not, run the following (or place it in a configuration file like /etc/X11/xinit/xinitrc.d/90-prlcc): In general, updating system packages like the linux kernel or Xorg can break Parallels tools and you will need to re-install them. In some cases, new packages will be incompatible with the tools and they will stop working — in that case you will need to roll back the newly installed packages and wait until Parallels releases a new product build before updating your guest (in the hope they have resolved any previous incompatibilities). Источник Parallels Client — простое и удобное приложение, с помощью которого пользователи могут работать с приложениями и рабочими столами, опубликованными посредством Parallels ® Remote Application Server (RAS). Parallels Client предоставляет пользователям безопасный доступ к удаленным приложениям и рабочим столам в средах Windows, Linux, Mac ® , iOS/iPadOS, Android ™ , Google Chromebook ™ и во всех веб-браузерах с поддержкой HTML5. Quickly enroll new users and enable access to published applications and desktops—all with a single click on the autoconfiguration link. Every Parallels Client setting, including printing, network, bandwidth, security and clipboard can be centrally configured on an individual or group level based on different criteria set within the Parallels RAS Client Policies. The Parallels Client can be distributed to end point devices, such as knowledge worker devices, providing a seamless experience wherever they are, regardless of the connection or device. Improve applications’ performance with built-in Parallels Client policies such as compression and fast file retrieval. Parallels ® RAS incorporates RemoteFX graphical enhancements, delivering a superior graphics experience for employees. Parallels Client provides a local workspace-like experience on any device, keeping employees’ productivity high no matter the device they use. Employees ‘on the go’ may use the native touch gestures they know—swipe, drag, tap to click, zoom in—with any Windows application on their mobile devices. And, with Session Pre-launch, Parallels ® artificial intelligence (AI) analyzes user login habits to pre-launch sessions, significantly reducing login times and improving UX. Источник С Parallels Desktop пользователи знакомы более 10 лет. До сих пор потребность в работе с Windows (у кого-то Linux) на Mac не теряет свою актуальность. Дизайнеры, бухгалтеры, геймеры, разработчики, музыканты, полицейские, список пользователей можно продолжать бесконечно. С каждой новой версией Parallels Desktop разработчики стремятся сделать свой продукт лучше предшественников. Как говорится, нет предела совершенству. Мысли о том, как сделать свою машинку быстрее, выше, сильнее, не покидают пытливые пользовательские умы ни на минуту. Делимся с вами полезными фишками, которые помогут выжать из вашего яблочного помощника все соки. За минувшие годы дизайн продукта и настройки виртуальной машины претерпели значительные изменения. Разработчики частично убрали возможность для пользователей крутить всевозможные ручки индивидуальных настроек, поскольку это не только не нужно 90% людей, но и порой вредит производительности ПО. Очень часто, в погоне за улучшением производительности виртуальной машины (ВМ) пользователи Parallels Desktop выделяют ей слишком много ресурсов. Разработчики не рекомендуют выделять более 50 % всех ресурсов Mac: ЦПУ и оперативной памяти. В ситуациях, когда виртуальная машина имеет больше ресурсов, чем сам Mac, начинаются проблемы с производительностью самого Mac, что в свою очередь негативно влияет на производительность виртуальной машины. Также на производительность влияет количество процессов, работающих внутри виртуальной машины и на стороне Mac. Особенно, если эти операции затрагивают диск. Поэтому, при недостаточной производительности виртуальной машины попробуйте использовать только Parallels Desktop и виртуальную машину, не запуская других ресурсоемких приложений. Так же, рекомендуется попробовать «чистую загрузку» Windows. Parallels рекомендует использование SSD, т.к. от скорости диска напрямую зависит производительность Mac и виртуальной машины в результате. Альтернативой, при отсутствии внутреннего SSD диска, может быть использование внешнего высокоскоростного SSD накопителя при условии наличия у Mac высокоскоростного порта передачи данных (USB 3.0, Thunderbolt). Все знают, что процесс загрузки и установки обновлений Windows является ресурсоемким и длительным процессом. Обновление Windows может негативно сказаться на производительности виртуальной машины и повлиять на работу пользователя. Parallels Desktop позволяет настроить время, когда Windows будет выполнять собственное обслуживание, проверять обновления и устанавливать их. Пользователь может настроить выполнение данных действий на определённое время и день, а также запустить обслуживание Windows вручную. Если вам предстоит использовать Mac долгое время без доступа к зарядке, можно активировать «Режим Поездки». В данной конфигурации производительность Windows, конечно, немного снизится, но при этом система будет работать в энергосберегающем режиме, увеличив жизнь батарейки. Если вам необходима производительность даже тогда, когда Mac не подключен к зарядке, рекомендуем отключить данную функциональность. Начиная с Parallels Desktop 14 для виртуальных машин Windows 8 и выше, в данном ПО появилась возможность использования автоматического режима для определения размера видеопамяти. С этим изменением размер видеопамяти определяется самой Windows исходя из собственных нужд и берется из оперативной памяти, выделенной на виртуальную машину. Это позволяет увеличить максимальный размер видео памяти более 2 Гб. В стандартных ситуациях размер видеопамяти равен примерно половине оперативной памяти виртуальной машины. Изменение данного режима, как и большинства других настроек виртуальной машины, требует ее полного выключения. Это обусловлено тем, что Parallels Desktop весьма точно эмулирует физический ПК, а там для изменения конфигурации железа требуется его выключение. При использовании виртуальной машины Windows границы между ней и Mac начинают мгновенно стираться, благодаря многочисленным возможностям объединения ОС. При установленных Parallels Tools, любой пользователь сразу же имеет доступ к своим файлам на Mac из виртуальной машины. На самом деле папки Рабочий Стол, Документы, Загрузки и прочее, доступные в Windows, являются ссылками на соответствующие папки Mac. Таким образом, не нужно копировать файлы в виртуальную машину, вы работаете с ними напрямую. То же самое касается и удаления файлов. Если Общий Профиль включен (настройка по умолчанию) то удаляя файл в папках Общего профиля в виртуальной машине вы удалите файл на Mac. Так же, Parallels Desktop позволяет использовать программы установленные и на Mac и в Windows для открытия файлов на обеих сторонах. Т.е. вы можете использовать iTunes на Mac для воспроизведения музыки в Windows, щелкнув по файлу в Windows, и наоборот, начать смотреть видео используя Windows Media Player, щелкнув по файлу в Finder. Совсем скоро нас ждет очередное обновление Parallels Desktop. Вероятнее всего, любимый миллионами пользователей продукт станет еще быстрее, умнее и проще! Источник Installation via GUI is only valid on DEB and RPM versions. Download package from parallels.com/products/ras/download/links/ and store it locally. Download the deb package from parallels.com/products/ras/download/links/ and store it locally. Switch to the root user. To install type: Note — If the installation fails because of missing dependencies, try installing these dependencies using the following command : Client for Linux binaries are now installed under: Run the following command to launch Client: You can also run the following commands to obtain a list of all usage parameters for Client session: Download the rpm package from parallels.com/products/ras/download/links/ and store it locally. Switch to the root user. Input command as per below example depending on Client version you would like to install: yum install RASClient-xx.xx.xxxx_x86_x64.rpm Client for Linux binaries are now installed under: Run the following command to launch Client: You can also run the following commands to obtain a list of all usage parameters for Client session: Download the tar package from parallels.com/products/ras/download/links/ and store it locally. Switch to the root user. Switch to the directory containing Parallels Client, e.g.: To install type: Parallels Client for Linux binaries are now installed under: It is recommended that the post install script is launched in order to register icons, mimetypes, url schema and databases configurations. This script is located under: /opt/2X/Client/scripts/install.sh Run the following command to launch Client: You can also run the following commands to obtain a list of all usage parameters for Client session: Note: To unregister the components registered during installation it is recommended to launch the uninstall script located under: /opt/2X/Client/scripts/uninstall.sh Depending on the package used to install the Client, the SSO installation procedure may vary: Already available with Client package: Separate package to Client: Install pam_2xclient.so module to have Single Sign On for Client. Note — this file is located under /opt/2X/Client/lib/security/pam_2xclient.so no matter the package used. The module always returns true and will use an authentication token that will be provided by a higher authentication module. Note: When a higher authentication module has been configured to SUFFICIENT, it will return on success immediately and pam_2Xclient.so won’t be called. Please change SUFFICIENT TO REQUIRED. To install Client PAM module, add two lines to your session manage service (eg. /etc/pam d/gdm): Debug: Debug trace will be written to /tmp/pam_2xclient.log . If the file cannot be opened, then syslog will be used. You can use debug argument with all module types. EG. Session optional pam_2xclient.so debug The module will create an SSO cookie only for well known session services. Как, по вашему мнению, можно улучшить эту статью? ИсточникInstalling Parallels tools
Parallels tools with kernel v5.9+
Systemd Configuration
Using the Tools
Sharing Folders
Dynamic Display Resolution
Future work
Parallels Client
Доступ к приложениям Windows, рабочим столам и данным с любого устройства
Как тюнинговать Parallels Desktop
Улучшение производительности виртуальной машины
Управление обновлениями Windows
Режим поездки
Автоматическая видео память
Интеграция Mac и Windows
Parallel windows and linux
Installation Procedures — CLI
DEB Version
RPM Version
.TAR.BZ2 Version
SSO (Single Sign On) Installation Procedures
Manual installation procedure (RPM Required)
Была ли эта статья полезной?