Vmware консоль не открывается
Все начиналось не так все печально, как случилось уже потом. Мне необходимо было создать одну VM. Зайдя в vCenter создал VM, но при попытке запуска – произошла ошибка. Две других VM (сам vCenter и еще одна) работали без проблем. Поэтому я решил перегрузить vCenter, что собственно и сделал. Через 10 мин при попытке доступа из VmWare client в vCenter – получил ошибку, что соединение не может быть установлено. О как. Решили зайти через Web – то же самое – ошибка 503.
Печаль. При том, что решил сделать это в конце рабочего дня, к счастью vCenter не особо активно используется. И так решил разбираться, что происходит.
Консоль доступа – просит логин и пароль. Ввожу логин и пароль – получаю – Login incorrect.
Приехали…( Перепробовал все пароли (и даже тот, который 100% рабочий) – результат нулевой – не могу войти и все тут. Поэтому решаю сбросить пароль от root. Для этого, нам нужно дописать init=/bin/bash в строку загрузки ядра – ничего сложного подумал я и еще раз перегрузил vCenter. Выбираю строку – жму E – ничего не происходит. Читаем внизу текст и видим, что нужно нажать на P… Жму, упс – просит пароль – стандартный vmware из доков не походит. Гуглим еще немного и находит, что пароль может быть последним паролем от root – вбиваю и ура – можно редактировать добавляю init=/bin/bash, далее уже идет классика и описывать не буду.
Тут же проверяю место – и увы… в / и /storage/log – свободно места нет – очищаю место и перегружаюсь в надежде, что все будет ОК.
Проверяю вход в vCenter через 15 мин – результат 0. Захожу через ssh на сервер и смотрю, что из сервисов запущено, а что нет. Для этого использую команду:
В результат вижу:
vmware-invsvc (VMware Inventory Service) vmware-rbd-watchdog (VMware vSphere Auto Deploy Waiter) vmware-sps (VMware vSphere Profile-Driven Storage Service) vmware-vdcs (VMware Content Library Service) vmware-vpx-workflow (VMware vCenter Workflow Manager) vmware-vpxd (VMware vCenter Server) vmware-vsan-health (VMware VSAN Health Service) vmware-vsm (VMware vService Manager) vmware-vws (VMware System and Hardware Health Manager) vsphere-client ()
Это сервисы, которые не поднялись. Можно сказать, что почти ничего не поднялось. Пытаюсь поднять vmware-invsvc:
В ответ получаю, что сервис не может быть стартован. Изучаю логи:
В момент запуска service-control –start vmware-invsvc в логах вижу следующее:
2017-07-07T09:50:01.022945+06:00 err vmdird t@140238302082816: VmDirSendLdapResult: Request (96), Error (49), Message (), (0) socket ([3] ip_server:636 <-ip_server:46241)
2017-07-07T09:50:01.022955+06:00 err vmdird t@140238302082816: Bind Request Failed ([3] ip_server:636<-ip_server:46241) error 49: Protocol version: 3, Bind DN: «cn=accountname,ou=Domain Controllers,dc=vsphere,dc=local», Method: 128
Что говорит о том, что проблема в пароле, немного погугли нашел решение:
в шелле vCenter запускаем команды:
После запуска на экране будет меню:
==================
Please select:
0. exit
1. Test LDAP connectivity
2. Force start replication cycle
3. Reset account password
4. Set log level and mask
5. Set vmdir state
==================
Выбираем 3 и указываем accountname@vsphere.local , значение accountname – берем из /var/log/vmware/vmdird/vmdird-syslog.log , а именно из строк:
Утилита сгенерирует Вам новый пароль – записываем его.
Теперь полученный пароль необходимо прописать в системе – для этого запускаем другую утилиту:
cd HKEY_THIS_MACHINE\services\vmdir\ — жмем Enter
set_value dcAccountPassword «сгенерированный пароль»
quit
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- VMware Technology Network
- :
- Cloud & SDDC
- :
- ESXi
- :
- ESXi Discussions
- :
- Cannot Open Web Or Remote Console
Marcelo_Ferrei1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
I recently upgraded my lab server to ESXi 6.7. Everything worked fine until I tried to access my virtual machines using VMRC (Remote Console)
If I open VMRC trough Chrome or Firefox, It shows an authentication screen and it doesn't matter what I enter on it. never authenticates.
With browser console, it fails to connect to virtual machine console
And with new window browser console, it shows only the vmware logo page
I do not have this issue with Microsoft Edge or with Opera browsers.
Do you have any idea what it is happening?
Thank you for your attention.
Marcelo_Ferrei1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
I decided to completely remove Google Chrome and Mozilla Firefox, and install them back. I also removed the self-signed certificates created by ESXi from my computer's certificate list. It fixed the issue.
Marcelo_Ferrei1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
I'm still struggling with that issue. No idea what's going on. Any ideas?
Devi94
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
Please remove any proxy settings from your browser and check if your chrome version is compatible.
Marcelo_Ferrei1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
I do not have any proxy server set. This is happening only in one computer, the second computer that I have is working fine with the same Chrome version.
Marcelo_Ferrei1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
The situation just became weirder.
I added a line on my computer hosts file to resolve my ESXi IP address to a hotsname
If I access the ESXi server using the hostname, the VMRC can connect to all virtual machines.
If I access the ESXi server using the IP address, the VMRC cannot connect to any virtual machine.
Devi94
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
Please compare DNS settings and hosts file entries in both esxi.
Marcelo_Ferrei1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
The DNS settings and hosts file are equal. However, I noticed something that may give some hints about the issue.
On the browsers that VMRC or web console are not working, the login name that shows on the web page is root@root.
On the browsers that works, the login name that shows is root@
Somehow Chrome and Firefox are replacing the ESXi server ip address by the login name. I guess the consoles launched by both browsers are trying to connect to a host called "root" (which of course does not exist) instead of the host's IP address.
Devi94
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
I suspect somewhere your dns entries went wrong. you are able to access it successfully with host name. Only IP is throwing issue. Please share below details.
i) nslookup for hostname from your client.
ii) hosts file entries for your client and esxi host.
Marcelo_Ferrei1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Email to a Friend
I still did not find what is wrong. I suspect is something with my corporate notebook, because I found that it is not happening with my personal notebook.
As I mentioned before, I do not have this issue in my corporate notebook with Opera and Microsoft Edge. This is happening with Google Chrome and Mozilla Firefox.
When I login with the problematic browsers, both shows in the upper right corner the username as "root@root"
With the working browsers, the username shows as "root@192.168.1.2"
Using network tools I found that all remote consoles, when I run them from problematic browsers, are trying to connect to "root" hostname. The working browsers connects to "192.168.1.2" IP address.
It looks like, somehow, Chrome and Firefox are replacing the IP address by root during authentication process, and in all remote console connections.
Lately, i'm having the issue opening VM console in VMware. It seems that I only have this problem and none of colleagues has this issue. We are using vCenter 5.5 and I'm using vSphere client 5.5 to operate the vCenter if that's helpful.
When i open VM console, i do not seem to get full screen in the console as you can see in attached file. i tried to uninstall to any graphic related software in my lenovo x1 carbon laptop. But none seems to be working. I really can't find any solution for my problem in google as well.
Please can someone help me out on this?
Eric
Contest ends 2022-05-15 Contests Complete a survey about your desktop and or gaming PC(s) Contest Details View all contests
I need to check the box in the VMware compatibility tab "Disable display scaling on high DPI settings".
7 Replies
My immediate reaction would be that it could be related to the screen resolution; not sure if that is the case, but possibly worth investigating.
It might also be worth checking to see if you need a driver update on your laptop.
wowitsdave
Spur Systems, LLC is an IT service provider.
Try the console in the web client- I bet it's fine.
Let me know if that doesn't do it for you.
Yes, that issue looks convinced that it is related to either screen resolution or graphic card driver issue. But I will try to downgrade my intel graphic HD 5500 driver back to abit old versions.
Will update again if it works.
Thanks for pointing that out. I tried ur advice sir. But it failed to install "hcmon" driver. And I looked at VMware KB and says that it is known issue and no resolution as of now.
I need to check the box in the VMware compatibility tab "Disable display scaling on high DPI settings".
watdeehi
Eric TK wrote:
hi guys, I have found a very simple solution from VMware.
I need to check the box in the VMware compatibility tab "Disable display scaling on high DPI settings".
I'm having the same issue on vsphere 5.5 since switching to a different computer but only with the flash client. VMware Remote Console is working fine for me so far.
Chang high DPI setting on compatibilitties :
This step for windows 10 Only
1. Right click on shortcut VMware vSphere Client > Properties
2. Klik on tab "Compatibility"
3. Click on button "Chane high DPI settings"
4. On high DPI Scaling Override > chack list on "Override high DPI scaling behavior";
on "Scaling performed by; on dropdown menu select "System"
5. klik button "OK" and then "OK" again
i hove cant solve your problem, thanks
This topic has been locked by an administrator and is no longer open for commenting.
To continue this discussion, please ask a new question.
Snap! Patch Tuesday, Win10 20H2 EOS, Joint Cybersecurity Advisory, & a Marsquake
Your daily dose of tech news, in brief. You need to hear this. Microsoft Releases Fix for New Zero-Day with May 2022 Patch Tuesday Updates Today's theme will be Microsoft as we have a few stories across the internet that are fairly important .
Spark! Pro series 11th May 2022
Today in History: 1956 Elvis Presley's 1st entry on UK charts with "Heartbreak Hotel"On 10 January 1956, Elvis Presley made his first recordings for RCA Records at The Methodist Television, Radio and TV Studios, 1525 McGavock Street, Nashville. “Heartbrea.
Dual Monitors with Same Resolution
Basic authentication deadline
Like many of you, I'm investigating the deprecation of basic auth in Exchange Online. We moved to Office365 about 2 years ago, moved our Outlook clients to the latest Outlook365 and had everyone recreate their phone email accounts. I knew I had some out.
On premises Central password manager with granular access?
Hi,Looking to have on premises Central password management solution, where we can store all passwords securely, updated, giving access to users based on their requirements etc.Looking for on premises option, for paid option, prefer perpetual license.Thank.
I'm using a Win 8.1 machine and would like to start using the web client so i don't have to keep remoting into the server where vSphere is hosted. When i open up the console on any VM, i'm just getting a black screen. Is there anything i can do to fix this? I don't want to break anything in vSphere so hoping it's just something i need to do on my machine for it to work
Any help appreciated, thanks
Cyber-as-a-Service
2022-05-12 14:00:00 UTC Webinar Webinar:Knowbe4 Cyber-as-a-Service: Its Evolution &What You Can Do to Fight Back Event Details View all events
Gabrielle.L
5 Replies
Gabrielle.L
Yes it's hosted on a different LAN to where i am, thanks for the info and link. Appreciate it!
Maybe this can solve your problem:
Brand Representative for VMware
Wow. a Best Answer within 30 minutes at 5am. That is freakin fantastic! Wish I could spice this up more than once!
Great job Gabrielle! But when do you sleep. )
Gabrielle.L
Darren for VMware wrote:
Wow. a Best Answer within 30 minutes at 5am. That is freakin fantastic! Wish I could spice this up more than once!
Great job Gabrielle! But when do you sleep. )
Thanks, Darren. :D
This topic has been locked by an administrator and is no longer open for commenting.
To continue this discussion, please ask a new question.
Snap! Patch Tuesday, Win10 20H2 EOS, Joint Cybersecurity Advisory, & a Marsquake
Your daily dose of tech news, in brief. You need to hear this. Microsoft Releases Fix for New Zero-Day with May 2022 Patch Tuesday Updates Today's theme will be Microsoft as we have a few stories across the internet that are fairly important .
Spark! Pro series 11th May 2022
Today in History: 1956 Elvis Presley's 1st entry on UK charts with "Heartbreak Hotel"On 10 January 1956, Elvis Presley made his first recordings for RCA Records at The Methodist Television, Radio and TV Studios, 1525 McGavock Street, Nashville. “Heartbrea.
Dual Monitors with Same Resolution
Basic authentication deadline
Like many of you, I'm investigating the deprecation of basic auth in Exchange Online. We moved to Office365 about 2 years ago, moved our Outlook clients to the latest Outlook365 and had everyone recreate their phone email accounts. I knew I had some out.
On premises Central password manager with granular access?
Hi,Looking to have on premises Central password management solution, where we can store all passwords securely, updated, giving access to users based on their requirements etc.Looking for on premises option, for paid option, prefer perpetual license.Thank.
У вас есть ESXi (любой гипервизор) на котором запущены виртуальные серваки? Иногда бывает так, что нужен доступ к реальной консоли сервера и не всегда есть возможность использовать консоль vmware. Если решение вам интересно читаем дальше.
Прежде всего, на ESXi можно запустить виртуальную машину, которая будет доступна через VNC. Мы сразу же можем подключиться к виртуальной машине с помощью любого VNC-клиента. Но это не наш путь.
Давайте для начала изменим настройки виртуальной машины. Выбираем виртуальную машину -> Edit Settings -> Options -> General -> Configuration Parameters и добавляем 3 параметра:
Если вы используете ESXi 5 версии, то вам еще нужно будет открыть порт на фаерволе этого гипервизора. Сделать это не так легко, как кажется на первый взгляд. Включаем SSH и создаем новый xml файл, с описанием нового правила для фаервола в /etc/vmware/firewall:
После этого обновим конфиг фаервола и посмотрим, появился ли наш новый сервис:
Основная проблема в том, что если сейчас ESXi перезагрузить, то нашего нового правила не будет. Самое простое решение скопировать XML-ку на storage, к которому у хоста есть доступ, а на самом хосте добавить в /etc/rc.local:
Если вы хотите более правильное решение, то можно почитать тут.
Теперь ко всем нашим виртуальным машинам есть VNC доступ. Далее будем делать одну точку доступа ко всем серверам, используя Guacamole
Guacamole
С помощью Guacamole вы можете получить доступ к консоли своих серверов из любого браузера, который поддерживает: HTML5 и AJAX
Guacamole умеет работать с VNC и RDP. Установку можно производить на Debian, Ubuntu, Fedora
Установка Guacamole не составит большого труда. Примеры для Ubuntu. Установим зависимости:
Последнюю версию можно найти на сайте продукта:
Если все сделали правильно, то зайдя на myip:8080/guacamole/ увидим окно ввода логина и пароля. Схема аутентификации по умолчанию читает все настройки из файла конфигурации /etc/guacamole/user-mapping.xml
где hostname — это адрес вашего esxi хоста, password — пароль для VNC.
Теперь логинимся под пользователем User1 и подключаемся к вашим виртуальным серверам. Чтобы открыть виртуальную клавиатуру нажимаем: Ctrl+Alt+Shift
Читайте также: