Vmware клиент для удаленного подключения
VMware ESXi and vCenter have a flash-based web UI, which may no longer work on the latest web browsers. VMware Workstation can connect to ESXi and vCenter servers but getting it is not cheap. What other option is there to manage virtual machines? VMware Remote Console (VMRC) is the answer!
In this tutorial, you’ll learn about what VMRC is, how to install it on supported platforms, and ultimately how to use it to connect and manage virtual machines on remote hosts.
Table of Contents
Настройка
Во-первых, нужно настроить пересылку удаленных запросов на IP-адрес, используемый виртуальной машиной.
В VMware перейдите в меню «Виртуальная машина» и выберете пункт «Параметры».
На вкладке «Оборудование» выберете «Сетевой адаптер», а затем укажите NAT в качестве типа соединения.
В гостевой операционной системе запустите командную строку. Введите команду ipconfig, нажмите Enter и найдите значение IPv4-адреса. В моем случае это 192.168.80.128.
В VMware выберете меню «Правка» и далее нажмите «Редактор виртуальной сети».
Выберете тип сети NAT, а затем нажмите на кнопку «Параметры NAT».
В следующем окне нажмите «Добавить».
Введите следующую информацию:
Порт узла: 9997
Это просто номер открытого порта. Если вы не уверены, какой порт использовать, просто укажите тот, который предлагаем мы.
Тип: TCP
IP-адрес виртуальной машины: введите IP-адрес, который вам показала командная строка.
Порт виртуальной машины: 3389
Это номер порта по умолчанию.
Теперь сохраните внесенные изменения. Для этого просто нажмите на кнопку «OK».
Далее нужно разрешить удаленные подключения в гостевой ОС.
Нажмите Win + R, в окне «Выполнить» введите SystemPropertiesRemote и нажмите Enter.
У вас должно будет открыться окно с параметрами удаленного доступа. В этом окне активируйте опцию «Разрешить удаленные подключения к этому компьютеру».
Installing and Using VMware Remote Console on Linux
Installing VMRC on Linux involves entering a few commands into the terminal and responding to prompts. And afterward, connecting to a VM would require invoking VMRC using the terminal as well.
Connecting to a VM using a Web Browser
One way to use VMRC is by launching it from the vSphere or ESXi web clients. To do so:
1. On your web client, navigate to the Virtual Machines view.
2. Right click the virtual machine you want to connect to and click on Console —> Launch remote console.
Right Clicking a virtual machine to launch VRMC
3. On the pop-up box saying This site is trying to open VMware Remote Console, put a check on the Always allow to open links of this type in the associated app box. Click Open.
Browser pop-up message
4. Next, the VMRC application will launch using the connection settings for the virtual machine you. If you receive a certificate message, check the Always trust this host with this certificate box and click Connect Anyway.
Security Certificate Warning
5. When prompted for login credentials, enter your virtual machine host root account or your vSphere user account with access rights to the virtual machine guest.
Connecting to remote VM host (not guest)
You have successfully connected to the remote virtual machine console.
Remote virtual machine console
At this point, you can close the browser. The VMRC will stay open, and you can continue working on the virtual machine.
Архитектура
Красной линией на Рис. 1 выделена схема подключения, которая должна быть реализована для организации простейшего удаленного доступа к физическому ПК пользователя.
Рис. 1 Удаленный доступ. Архитектура
У пользователя на его устройстве должен быть установлена программа клиент, в котором необходимо ввести адрес сервера подключения. Ввести свой логин и пароль, после чего откроется рабочий стол рабочего компьютера.
Managing Virtual Machine Settings in VMRC
Suppose you need to adjust a few settings for a virtual machine guest, but you don’t want to connect to ESXi or vSphere. Instead, you connect to a single virtual machine using VMRC and manage the VM settings from there.
To access the virtual machine settings in VMRC, click the VMRC dropdown menu —> Manage — Virtual Machine Settings. Or, while on the VMRC window, press CTRL+D . Either method opens the Virtual Machine Settings window.
Opening the Virtual Machine Settings window
The Virtual Machine Settings window should be familiar if you’ve managed virtual machines in the web UI before. Here you can change the memory, processors, add additional hard disks, optical drives, network adapters, USB controllers, video cards, and more.
Virtual Machine Settings
Предварительные требования
За один рабочий день системный администратор, вполне, может настроить простейшую систему удаленного доступа на базе VMware Horiozon и предоставить доступ первым пользователям. Для этого ему потребуется:
- скачать необходимые дистрибутивы VMware
- установить и настроить сервер управления
- установить и настроить сервер подключений
- установить на ПК пользователя ПО агента
- предоставить учетной записи пользователя удаленный доступ к конкретному ПК
- выслать пользователю инструкцию для получения удаленного доступа
Добавить комментарий Отменить ответ
Статьи помечены: "Статья прислана читателем бложика".
Можно в следующий раз помечать статьи автора, чтобы не тратить время на эту графоманию? Своебразную подачу можно терпеть при наличии…
Автор дал мне пару пояснений по жаргону: Все работники разного рода девяток / десяток / линксов и прочих ЦПД/ЛАЦ, и…
Заметки о 3.0.1 забыл сюда кинуть What's New in 3.0.2, March 2022 Release Software Update NGINX server has been updated…
Если что - odbc и сейчас никуда не делся из Windows 10/11. И драйвер для Excel есть (правда 32-битный только).…
Удаленное подключение к виртуальной машине в VMware возможно несколькими способами. К примеру, вы можете просто установить TeamViewer, LogMeIn или любое другое программное обеспечение для удаленного доступа. А еще можно использовать стандартный инструмент для подключения к удаленным рабочим столам. Вот о нем мы сегодня и поговорим.
Включение удаленного рабочего стола в VMware осуществляется через гостевую операционную систему. Кроме того, в VMware необходимо настроить переадресацию портов, чтобы программа знала, что ей делать, когда мы запрашиваем доступ через удаленный рабочий стол.
Installing VMRC using Chocolatey
Chocolatey brings the convenience of installing software (packages) in Windows from online repositories. If you don’t want to download the VMRC installer manually, VMRC is also available as a Chocolatey package.
To install VMRC using Chocolatey, open PowerShell as admin and copy the code below and it in PowerShell. cinst is the command to install a package, followed by the package name vmrc . The -y option confirms all prompts, which, in this example, accepts the license agreement.
You have now installed the latest VMRC client.
Now that you’ve installed VMRC, your next step is to test that it works. And what better way to test VMRC than connecting to a VM. There are two methods to connect to a VM with VMRC. Let’s explore those methods next.
Get Paid to Write!
ATA Learning is always seeking instructors of all experience levels. Regardless if you’re a junior admin or system architect, you have something to share. Why not write on a platform with an existing audience and share your knowledge with the world?
Conclusion
In this article, you learned about what VMware Remote Console (VMRC) is—a free tool for accessing and managing virtual machines in a standalone interface. You’ve learned how to download and install VMRC on both Linux and Windows machines using different methods.
Additionally, you’ve learned the different ways to use VMRC to connect to virtual machines on remote hosts. Now that you know how to install and connect to VMs with the VMRC, would you consider using VMRC in your daily management tasks?
Hate ads? Want to support the writer? Get many of our tutorials packaged as an ATA Guidebook.
Recommended Resources!
Recommended Resources for Training, Information Security, Automation, and more!
Prerequisites
If you plan on following along with the examples below, here’s what you will need:
- A modern web browser such as Edge, Chrome, and Firefox. The examples in this article will use Microsoft Edge.
- An ESXi or vCenter server. This article uses ESXi 7.0.
- A computer running on Windows 10 or Linux. There will be examples in this article for VMRC in Windows and Linux.
-
for your computer’s operating system (Windows and/or Linux). As of this writing, the latest VMRC version is 12.0, which this tutorial will use.
Downloading from VMWare requires you to log in with a VMWare Customer Connect account. If you don’t have an account, you can register for free.
- Install the Chocolatey package manager on your computer only if you plan to install VMRC on Windows without downloading the installer from VMware.
Удаленное подключение к ПК через VMware Horizon Direct Connection: 7 комментариев
я же правильно понимаю, что при этом физически ПК с VADC не обязательно должен быть в домене?
Не проверял, но, скорее всего, будет всё работать.
Что нужно сделать, чтобы при удаленном подключении через домашний ПК в офисе на рабочем компьютере была стандартная заставка и не было видно, что именно я делаю?
2Валентина: подключаться через протокол RDP (утилиту mstsc) к рабочему ПК.
Будет работать Horizon agent вместе с Direct Connect plгпшт с Windows Server в режиме RDSH, без Connection Server?
Проверь и расскажи нам!
Варианты решения
По запросу удаленный доступ Яндекс выдает программы, которые больше подходят для личного использования: TeamViewer, AmmyAdmin и др. Кроме того, эти программы используют внешние (облачные) ресурсы для авторизации и соединения с компьютером, что неприемлемо для конфиденциальной информации.
Корпоративные решения такие как Citrix XenDesktop, Microsoft RDS и VMware Horizon в своей полной реализации сложны в настройке, зато не передают информацию за пределы компании, полностью управляются администраторами и имеют широкий спектр возможностей для решения задач бизнеса в изменяющихся условиях.
Самым доступным, на наш взгляд, корпоративным решением для быстрой настройки удаленного доступа к физическим персональным компьютеров сотрудников является VMware Horizon в его минимальной конфигурации. Этот продукт позволяет решить вышеописанные проблемы, дать системному администратору и администратору информационной безопасности необходимые возможности управления.
Installing VMRC using the Command-Line (Silent Install)
Apart from installing using the setup wizard, VMRC has a command-line setup, too. The VMRC command-line setup method is ideal when performing a silent installation manually, via Group Policy, or as part of a software deployment script.
To perform a silent installation of VMRC on your Windows computer, open PowerShell as admin and change the working directory to the VMRC setup file’s location.
Next, copy the command below and run it in PowerShell. You’ll notice there are switches and parameters following the setup filename. Below is a breakdown of the options.
- /s – hides the installation window.
- /v – passes parameters to the installer.
- /qn – parameter that tells the installer to perform a silent installation.
- EULAS_AGREED=1 – parameter to accept the license agreement. Changing the value to 0 means rejecting the license agreement, and the setup will not continue.
You will not see the license agreement during the silent installation. To read the license agreement, perform a standard installation instead.
- AUTOSOFTWAREUPDATE=1 – parameter to enable VMRC’s automatic software update. Change the value to 0 to disable automatic updates.
- DATACOLLECTION=0 – parameter to disable joining the customer experience improvement program (CEIP). Change the value to 1 to enable joining the CEIP.
Настройка
Последовательность настройки удаленного доступа на базе VMware Horizon 7.12 следующая:
- Установка Connection server
- Установка Security server
- Установка VMware Horizon Agent на физический ПК пользователя
- Установка сертификатов, проброс портов, тестирование удаленного доступа
Для демонстрации настройки у меня настроена тестовая инфраструктура: Windows домен, виртуальная машина для VMware Connection server, виртуальная машина для VMware Security server, виртуальная машина в качестве ПК, куда я буду подключаться.
Configuring VMRC Preferences
When you install VMRC, there are default settings that might not be to your liking. You can configure these settings from VMRC’s Preferences windows. To access the Preferences, on the VMRC window, click on the VMRC dropdown menu —> Preferences.
Opening the VMRC Preferences menu
Once you’re in the Preferences window, here are the settings that you can change according to your preference.
VMRC Preferences
Дистрибутивы
Для настройки системы удаленного доступа на базе VMware Horizon 7.12 потребуются следующие дистрибутивы:
VMware Connection server (сервер управления) и VMware Security server (сервер подключения) устанавливаются из одного архива (ссылка)
Программное обеспечение, которое необходимо установить на рабочий ПК пользователя VMware Horizon Agent (ссылка)
Программное обеспечение, которое необходимо установить на личное устройство пользователя.
— для Windows устройств (ссылка)
— для Mac устройств (ссылка)
— для Android устройств доступен Google Play store
— для iOS устройств доступен в Apple App Store
Installing VMRC using Bash
Follow the steps below to install VMRC on a Linux computer.
1. Open a Bash terminal.
If you are using Gnome-shell, press the Super key (Windows logo on most keyboards) and type “Terminal” in the search bar.
2. Switch to the root user.
3. Set the execution bit for the VMRC installation package that you downloaded. To do so, copy the command below and run it in the terminal. Make sure to change the installation package path if needed.
4. Next, run the installation package by typing the installation package filename and press Enter.
5. The installation displays the license agreement on the screen—press q to skip to the end.
6. At the next prompt, type yes or y to accept the agreement.
7. Finally, to let VMRC check product updates, type yes or y .
The installation begins and only takes a few moments to complete.
Installing and Using VMware Remote Console on Windows
Before connecting to a VM on a remote host, you have to first install VMRC on your computer. And on Windows, there are a few ways you can install VMRC. Whether using the GUI or command-line, VMRC got you covered.
Основные проблемы удаленного доступа
ИТ отделы занимаются организацией удаленного доступа сотрудников к их рабочим местам в офисах. Основные проблемы следующие:
- скорость предоставления удаленного доступа
- сложная для пользователя инструкция по настройке удаленного доступа
- для доступа нужен домашний компьютер
- удаленный доступ организован, но нарушает политики безопасности компании. Отдел ИБ не может его контролировать.
- не работают периферийные устройства
- и др.
Connecting to a VM Using Bash
The syntax to run VMRC on Linux is similar to the command in Windows. The only difference is, in Linux, the vmrc command does not have the .exe extension.
For example, to connect to a remote VM with an ID of 1 on host 192.168.216.143 , run this command in the terminal.
More from ATA Learning & Partners
What is the VMRC?
The VMRC is a standalone application that provides access to virtual machines on remote VMware virtual machine hosts.
Accessing remote consoles with VMRC allows you to modify VM settings directly, such as allocated vCPU’s, RAM, and disk. Performing tasks such as restarting, suspending, or resuming a virtual machine are also possible through VMRC.
What’s more, you can upgrade VMware Tools or modify boot configurations. Need to attach a USB device to a VM? VMRC can do that too!
Connecting to a VM using PowerShell
To run VMRC in PowerShell, you’ll need to execute the vmrc.exe command. The command’s syntax is as shown below. remote_host is the address of the remote host, and VM-ID is the virtual machine ID.
For example, to connect to a remote VM with an ID of 1 on host 192.168.216.143 , run this command in PowerShell.
Installing VMRC using the Setup Wizard
One way to install VMRC is by downloading the installer and running the VMRC setup wizard. To do so, follow these steps:
1. On your computer, locate the VMRC setup file you downloaded.
2. Right-click on the VMRC installer zip file and click Extract All.
3. When asked to select a destination, enter the temporary location to extract the files and click Extract. In this example, the destination is in C:\Temp.
Decompressing VMRC Installation files to C:\Temp
4. After extracting the zip file, double-click the VMRC setup file to launch the installation wizard. In this example, the setup filename is VMware-VMRC-12.0.0-17287072.
Starting the VMRC installation
5. On the Welcome to the VMWare Remote Console Setup Wizard page, click Next.
Clicking next on the welcome page
6. Read through the End User License Agreement if you wish. Otherwise, accept the terms of the agreement and click Next.
Accepting the license agreement
7. On the Custom Setup page, leave the default installation path and click Next.
Accepting the default installation directory
8. On the User Experience Settings page, check or uncheck the settings to:
- Check for product updates on startup – this setting enables or disables the VMRC automatic software updates.
- Join the VMware Customer Experience Improvement Program (CEIP) – this setting enables or disables VMRC technical data collection.
Note that you can change these settings anytime within VMRC after installing.
After you’ve made your selection, click Next to continue the installation.
Enabling or disabling user experience settings
9. Next, on the Ready to install VMware Remote Console page, click Install.
Finalizing the installation
10. Lastly, after completing the VMRC, click Finish to close the setup wizard.
Closing the setup wizard
Congratulations! You’ve successfully installed VMRC for Windows.
Подключение
С настройками мы закончили, а значит теперь вы можете попробовать удаленно подключиться к операционной системе на VMware. Для этого нажмите Win + R на клавиатуре и введите команду Mstsc, чтобы открыть окно «Подключение к удаленному рабочему столу».
В этом окне укажите IP-адрес или имя компьютера и нажмите «Подключить».
Далее введите данные для входа – имя и пароль вашей учетной записи, которые вы используете на гостевой ОС. Нажмите «OK».
Начнется процесс подключения к удаленному рабочему столу.
Если в процессе подключения вы увидите окно, как на скриншоте ниже, просто нажмите на кнопку «Да».
После подключения вы увидите окно, через которое вы сможете дистанционно управлять операционной системой на виртуальной машине.
Как установить VMware Remote Console 7.0.1
Всем привет сегодня хочу рассказать как установить VMware Remote Console 7.0.1 и что это за зверь вообще, да и для чего его вообще используют, когда есть VMware Client. Компания VMware выпустила обновление VMware Remote Console 7.0.1 (VMRC) в связи с тем, что компания Google окончательно отказалась от NPAPI (Netscape Plugin API) в Google Chrome, функции которого активно используются текущей версией VMRC.
Напомним, что VMRC вы можете запустить, когда вы хотите получить полноценный доступ к консоли виртуальной машины из vSphere Web Client:
Как установить vmWare Remote Console-001
Соглашаемся с лицензионным соглашением ставя галку i accept the terms in the License Agreement и жмем next
Как установить vmWare Remote Console-002
Меняем при необходимости каталог установки vmWare Remote Console
Как установить vmWare Remote Console-003
Оставляем галки, чтобы искались новые обновления и файлы помощи
Как установить vmWare Remote Console-004
Install, после чего начинается установка.
Как установить vmWare Remote Console-005
Ждем немного когда пробежит прогресс бар и жмем Finish.
Как установить vmWare Remote Console-006
Потребуется перезагрузиться, жмем Yes.
Как установить vmWare Remote Console-007
Доступные функции в новой версии консоли:
- Проброс мыши и клавиатуры
- Посыл Ctrl + Alt + Delete
- Полноэкранный режим
- Операции с питанием (софтовые)
- Проброс клиентских устройств, таких как CD-ROM, USB и Floppy
- Редактирование основных настроек ВМ
VMRC 7.0 доступна пока только для Windows, поэтому на маках придется пользоваться консолью HTML5, но работа по созданию VMRC для Mac OS уже идет.
Кстати, консоль к отдельной ВМ можно запустить командой CLI, зная логин и пароль к vCenter.
C:\Program Files (x86)\VMware\VMware Remote Console\vmrc.exe vmrc://root@/?moid=vm-37
Вот так вот просто установить vmWare Remote Console 7, теперь console в web client будет работать нормально.
Коронавирус изменил всё. Многие компании оказались не готовы к такому повороту событий, не прошли эту первую проверку на прочность, которых будет еще много в наше непростое беспокойное время. Карантин диктует свои правила работы, и уже сейчас нужно переводить сотрудников на удаленную работу из дома. Именно поэтому система удаленного доступа превратилась в необходимость.
ATA Learning Guidebooks
ATA Learning is known for its high-quality written tutorials in the form of blog posts. Support ATA Learning with ATA Guidebook PDF eBooks available offline and with no ads!
В связи с потребностью в удаленной работе возникает вопрос об эффективных протоколах для передачи удаленного рабочего стола.
Кроме штатного протокола RDP, повысить удобство работы может VMware Horizon Client, который дополнительно поддерживает протоколы Blast (Blast Extreme) и PCoIP (PC over IP).
Подготовка ПК, к которому будем подключаться
Совместимость версий Windows и Horizon
Windows Version | Horizon Version | Protocol |
Windows 10 Enterprise 1909 and later | 7.12 and later |
Для установки требуется агент:
VMware-Horizon-Agent-x86_64-7.12.0-15805436.exe
Чтобы пропустить указание Connection Server необходимо использовать параметр запуска:
А также плагин:
VMware-Horizon-Agent-Direct-Connection-x86_64-7.12.0-15805436.exe
ПК с клиентом
Для подключения необходимо установить клиента:
VMware-Horizon-Client-5.4.0-15805437.exe
После установки указываем имя/адрес удаленного ПК. Для настроек и выбора протокола следует отключить опцию в клиенте Autoconnet to This Desktop.
Переключение между Blast и PCoIP возможно в рамках сессии.
Для переключения на RDP и обратно сессию нужно завершать.
Мониторинг
RDA RDP
RDA PCoIP
RDA Blast
VHPT Blast
Подробные инструкции
Читайте также: