- Notes of a Programmer
- Monday, November 7, 2016
- VMWare Unity Mode on Ubuntu 16.04 LTS
- Docs
- VMware Workstation 12 discards unity support for Linux
- Unity mode missing in VMware 15 Workstation Player [Ubuntu 18.04 LTS]
- 1 Answer 1
- Используйте режим бесшовного режима VirtualBox или режим Unity VMware для беспрепятственного запуска программ с виртуальной машины
- Как это устроено
- Использование бесшовного режима VirtualBox
- Использование режима Unity Unity
- Режим Windows XP
Notes of a Programmer
Monday, November 7, 2016
VMWare Unity Mode on Ubuntu 16.04 LTS
Some users want to run Linux desktop guests «seamlessly» within host operating systems, for which, VMWare Hypervisors provides a functionality called VMware «Unity» mode.
This post is about how we can enable the Unity mode on Linux desktop guests running Ubuntu 16.04, well, if you are willing to settle on an older version of WMware Workstation or Player.
In fact, it becomes difficult to enable the «Unity» mode for Linux guests. If you visit my older post on enabling VMware Unity mode on Ubuntu 14.04, you can see many have encountered difficulties, myself included. In particular, it is getting more difficult to enable the Unity mode on recent releases of desktop editions of Linux distributions. In my opinion, the difficulties come form the following three sources,
- Apparently, VMWare has recently dropped the support of Unity mode for Linux guests. You can infer this by comparing the documentation of VMware Workstation Player 12 with that of the previous version of the player, the VMware Player 7. VMware’s Workstation Player 12 documentation now states,
»
Use Unity Mode
You can switch virtual machines that have Windows XP or later guest operating systems to Unity mode to display applications directly on the host system desktop.
«
»
Use Unity Mode
You can switch virtual machines that have Linux or Windows 2000 or later guest operating systems to Unity mode to display applications directly on the host system desktop.
«
It is clearly that Linux support has been dropped.
Unity mode requiresMetaCity or KDE, which does not appear to be the default and optimization objective for major Linux distributions.
However, having observed the above, we actually have a solution.
- Hypervisor. We need to stick to the version of VMware Workstation or Player that supports the Unity mode. The newest version of Player that supports the Unity mode is actually VMWare Player 7.1.4. You can download it from VMware
- Linux Guest Dekstop Environment. We need to stick to Gnome 2 MetaCity or KDE.
For Ubuntu 16.04, we can enable Unity mode using VMware Player by following the steps below,
- Download and install VMware Player 7.1.4. Note that neither any version older than 7.1.4 nor any version newer than VMware Player, such as VMware Workstation 12 will work.
- In Ubuntu 16.04, install Gnome Flashback as follows,
- From the menu of VMware Player, choose «Player», «Manage», and «Install VMware Tools» (or Reinstall VMware Tools»). Make sure that you are installing VMwareTools 9.9.5. Earlier version would crash the vmtools library at the Ubuntu guest when you attempt to switch to Unity mode.
In the Ubuntu Linux guest, extract the mounted VMwareTools image, and run «vmware-install.pl» to install the VMware Tools.
- Upon successfully installation of the VMware Tools, log out.
- When you log in, on the screen of the Display Manager, make sure that you select «GNOME Flashback (Metacity)» as shown below.
- Upon log in, you should be able to switch to the VMware Unity mode.
Источник
Docs
—> share-line
—> —> —> —> plus
You can switch virtual machines that have Windows XP or later guest operating systems to Unity mode to display applications directly on the host system desktop.
In Unity mode, virtual machine applications appear on the host system desktop, you can use the virtual machine Start or Applications menu from the host system, and the virtual machine console view is hidden. Items for open virtual machine applications appear on the host system taskbar in the same way as open host applications.
On host system and virtual machine applications that are displayed in Unity mode, you can use keyboard shortcuts to copy, cut, and paste images, plain text, formatted text, and email attachments between applications. You can also drag and drop and copy and paste files between the host system and the guest operating system.
If you save a file or attempt to open a file from an application in Unity mode, the file system you see is the file system inside the virtual machine. You cannot open a file from the host operating system or save a file to the host operating system.
For some guest operating systems, application windows in Unity mode can appear only on the monitor that is set as the primary display when you have multiple monitors. If the host and guest operating systems are Windows XP or later, the application windows can appear on additional monitors.
Unity mode is not available in full screen mode on Windows.
Источник
VMware Workstation 12 discards unity support for Linux
As of VMware Workstation 12.0 unity support for Linux has been removed. Whereas unity support for Windows 10 is one of the few areas where there is actually additional support for Windows 10, that same feature has been ripped out for Linux hosts and guests.
Here’s the excerpt from the release notes:
The following features have reached end of life in Workstation 12 Pro and have been removed:
Unity mode on Linux guest and host operating systems
Integrated Virtual Debugger Visual Studio
Connection to the VMware vCloud Air subscription service (The VMware vCloud Air OnDemand service is still fully supported)
Wow.. as just wow. That is a huge blow for Linux desktop users.
Guess it is not broken anymore in Fusion 8 / Workstation 12 / Player 12 as it simply does not exist anymore.
A VMware developer mentions at VMTN that the feature was removed because it wasn’t used much according to feedback.
Yes, we’ve dropped support for Unity for Linux guests only. It’s sad to see the feature go, but our feedback indicates that Linux Unity was rarely used, and it was exceedingly difficult to maintain it at a level of quality our customers expect, so we took the tough decision to remove it.
I wonder where they get the feedback from? Is that the telemetry options that I disable by default? Have they contacted Linux users?
Note that the feature is removed for both Linux hosts as well as Linux guests , the VMware developer there – who clearly is not involved with the development of this feature – wasn’t aware of that at the time of his reply.
Did I use unity myself often? No, but I mostly use the command line, for desktop use I have Windows and OS X. The few times I did use it lately for Linux guests, it was not behaving well, I consider the feature broken with a recent Linux desktop and VMware Workstation 11 / Fusion 7 so yes it was unusable and hence not used.
What strikes me as odd even more is that the feature is available at the competition.
Parallels and VirtualBox support it just fine. So if you need this feature … then log a support request at VMware so that they know you depend on the feature or complain at the forums if you don’t currently have support.
Источник
Unity mode missing in VMware 15 Workstation Player [Ubuntu 18.04 LTS]
I have recently installed VMware Workstation 15 Player on my Ubuntu 18.04 laptop and and installed Windows 7 as the guest OS in VMware. I have installed VMware Tools and everything seems fine. I wanted to try out Unity mode, but can’t seem to find it under Virtual Machine -> Virtual Machine Settings -> Options. The documentation repeatedly shows that Unity mode can be found in the Options menu. Why am I not seeing it? What am I missing?
Settings
Hardware»/>
VM Settings -> Hardware
Options»/>
VM Settings -> Options
1 Answer 1
The following features have reached end of life in Workstation 12 Player [. and later] and have been removed:
- Unity mode on Linux guest and host operating systems
Unity mode on Linux guest and host operating systems has also been removed from VMware Workstation 12 and later.
Источник
Используйте режим бесшовного режима VirtualBox или режим Unity VMware для беспрепятственного запуска программ с виртуальной машины
Виртуальные машины обычно запускают гостевые операционные системы и их программы в одном окне. Тем не менее, как VirtualBox, так и VMware имеют функции, позволяющие вам освобождать виртуализированные программы из своей тюрьмы, запуская их на рабочем столе вашего хоста.
Это означает, что вы можете использовать программы без окна виртуальной машины и настольной операционной системы гостевой операционной системы. Если вы используете несколько мониторов, вы можете разместить разные окна с виртуальной машины на разных мониторах.
Как это устроено
Все эти функции работают аналогичным образом. Вы запускаете свою виртуальную машину, запускаете программы, которые хотите использовать, а затем включаете «Бесшовный режим» или «Режим Unity». Окно гостевой операционной системы и окно виртуальной машины исчезнут, оставив окна гостевой операционной системы на вашем рабочем столе , Они будут работать, как если бы они работали на вашей операционной системе хоста, но виртуальная машина все еще работает в фоновом режиме. Программы по-прежнему изолированы, поэтому у них не будет доступа к файлам вашей операционной системы хоста — они просто работают в операционной системе хоста.
Эти трюки работают независимо от того, используете ли вы Windows, Linux или Mac. Вы можете легко запускать программы Windows на рабочем столе Linux или запускать программное обеспечение Linux на одном из Windows.
Использование бесшовного режима VirtualBox
Обратите внимание, что VirtualBox позволяет использовать эту функцию только для пользователей Windows, Linux и Solaris. Если вам удастся запустить Mac OS X на виртуальной машине VirtualBox или вы используете нишу, такую как Haiku, вы не сможете использовать эту функцию.
Прежде чем использовать эту функцию, вы должны установить пакет программ VirtualBox Guest Additions внутри гостевой виртуальной машины, с которой вы хотите это сделать. Если вы еще этого не сделали, загрузите виртуальную машину, откройте меню «Устройства» и выберите «Установить гостевые дополнения». Вам будет предложено установить программное обеспечение.
Чтобы использовать эту функцию, нажмите «Хост-ключ» — обычно правая клавиша Ctrl, но она отображается в нижнем правом углу окна виртуальной машины — и L одновременно. Вы также можете просто щелкнуть меню «Вид» и выбрать «Переключиться в бесшовном режиме».
VirtualBox скроет фон рабочего стола гостевой операционной системы, создавая впечатление, что программы гостевой операционной системы работают на рабочем столе операционной системы хоста. Однако запущенные приложения не будут отображаться на стандартной панели задач вашей операционной системы.
Чтобы выйти из режима бесшовного режима, просто нажмите клавишу хоста и L снова. Вы также найдете меню VirtualBox над панелью задач, которое вы можете навести на просмотр. Нажмите «Просмотр» и снова выберите «Переключиться в режим бесшовной», чтобы отключить бесшовный режим.
Использование режима Unity Unity
У VMware аналогичная функция называется режимом Unity. Он доступен на бесплатном VMware Player, а также на VMware Workstation и других платных приложениях VMware. Как и в VirtualBox, режим Unity VMware работает как для гостевых машин Windows, так и для Linux.
Как и в режиме бесшовного режима VirtualBox, для режима Unity для VMware требуется, чтобы собственный виртуальный компьютер VMware был установлен на гостевой виртуальной машине. Прежде чем пытаться это сделать, убедитесь, что VMware Tools установлен на гостевой виртуальной машине. Вы можете сделать это, выбрав опцию «Установить инструменты VMware» в меню программы VMware.
Чтобы войти в режим Unity, нажмите кнопку Unity в меню программы VMware.
В отличие от VirtualBox, программы, запущенные на виртуальной машине, появятся на панели задач, как если бы они работали в вашей операционной системе хоста. У вас будет доступ к меню «Пуск» или «Приложения», которое позволяет запускать приложения на виртуальной машине.
Чтобы отобразить меню «Пуск» на хосте Windows, укажите кнопку «Пуск». Чтобы отобразить меню «Приложения» на хосте Linux, укажите на верхний левый угол экрана. Выберите «Выход из Unity» в этом меню, чтобы отключить режим Unity.
VMware также позволяет создавать ярлыки непосредственно для приложений внутри виртуальной машины. Просто щелкните приложение правой кнопкой мыши в меню и выберите «Создать ярлык на рабочем столе». Вы получите ярлык на рабочем столе операционной системы хоста, который запустит программу, запущенную на виртуальной машине при ее запуске.
Режим Windows XP
Режим Windows XP Windows 7 фактически функционирует аналогичным образом, запустив виртуальную машину Windows XP на виртуальном ПК в фоновом режиме. Затем Windows отображает программы, которые вы хотите запустить на стандартном рабочем столе, интегрируя их с операционной системой Windows 7.
Режим Windows XP больше не присутствует в Windows 8, вероятно, из-за того, что Microsoft скоро перестанет поддерживать Windows XP, но вы можете использовать режим «Безликий» или «Единство», чтобы получить аналогичную функцию Windows XP в Windows 8, если хотите.
Если вы используете Parallels на Mac, вы можете выбрать параметр «Ввести когерентность» в меню «Вид», чтобы отобразить окна виртуальной машины таким же образом.
Источник