• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Remote console access question

danswartz

2[H]4U
Joined
Feb 25, 2011
Messages
3,715
Okay, here's a question for you all. My wife has a Windows XP VM on the 5.0 hypervisor. I have her old XP system now used only as a Remote Desktop frontend. Her old box was migrated to the VM using vmware converter. All was well. Her company has a security thing where she had to install PGP Desktop to encrypt the disk. That works just fine, except for this: if she reboots the VM (sometimes necessary if her company pushes a hotfix or somesuch), she cannot connect with Remote Desktop. I have to bring up the vsphere client, go to her console and have her enter the password to finish booting her VM. She is less than pleased with this, to say the least. This is happening very early, so VNC is not an option to get around this. There is a non-recommended way to do a one-time boot bypassing the encryption system, but that is not acceptable, since their security auditing software will complain. I know other setups like vmware workstation and such have ways of VNC connecting to the console for each VM - is there something like this for vsphere? I googled and found vmware-vmrc.exe but that is only in the 4.1 folder? My fallback is to show her how to connect via the vsphere client, but that is a last ditch :) Any thoughts/suggestions would be much appreciated :)
 
Last edited:
There's an option in the vSphere client to turn on VNC connections for individual guests. VNC access at this level gives you full console access from the moment the guest VM boots. It's not particularly secure on its own, but if you are using a VPN or something it should be fine.
 
There's an option in the vSphere client to turn on VNC connections for individual guests. VNC access at this level gives you full console access from the moment the guest VM boots. It's not particularly secure on its own, but if you are using a VPN or something it should be fine.

Yepp.

Either edit the VMX or add them in the advanced settings (while powered off)

Code:
RemoteDisplay.vnc.enabled = "TRUE"
RemoteDisplay.vnc.password = "your_password"
RemoteDisplay.vnc.port = "5900"
 
Ah, sweet! I'll give that a shot, thanks! Also, security (aside from her password) is not a major concern, since this is on our home LAN.
 
Ah, sweet! I'll give that a shot, thanks! Also, security (aside from her password) is not a major concern, since this is on our home LAN.

Isn't it possible to remove PGP again considering it is now a VM and cannot easily be stolen (anymore) ?
 
No, her company has security auditing software that checks for things like PGP being installed :(
 
Grrr, so I found how to set the remote display stuff. Cannot connect. Seems to be due to the new esxi firewall. Google shows very little useful info on vsphere5 in this respect. Frankly, given my home LAN, I'd just as soon disable the firewall entirely, but there is no obvious way to do that (google returns literally hundreds of useless, out of date hits - sigh...) Still looking...
 
Grrr, so I found how to set the remote display stuff. Cannot connect. Seems to be due to the new esxi firewall. Google shows very little useful info on vsphere5 in this respect. Frankly, given my home LAN, I'd just as soon disable the firewall entirely, but there is no obvious way to do that (google returns literally hundreds of useless, out of date hits - sigh...) Still looking...

Hmm. In 4.1, the VNC connection is under the same networking restrictions as the ESXi host itself. The VNC server is a service of the host not the guest, so make sure you are connecting to the host's IP, not the guest's. It should work from any computer that has access to run the vSphere client.

I have not tried using direct VNC access in ESXi 5.0, so it is possible something has changed.
 
I have done so. Apparently 5.0 now has a builtin firewall that blocks everything not enabled by default. Finding out how to change this is an exercise I am going through now.
 
I am absolutely amazed at the number of posts I find various places with incorrect or out of date info. Example: I find someone who describes how to add a custom firewall rule - he cites a file that doesn't even exist on my system :( Another one gives an example, but when I do (I thought) exactly what he said, the new rule never shows up, nor do I get an error. There has got to be a way to just disable the damned thing (like in 4.1?), but damned if I can see how to do so :(
 
Okay, apparently the path of least resistance is 'esxcli network firewall unload' and put that in /etc/rc.local?
 
Did you check Host Configuration > Software > Security Profile from the vsphere client?
 
Yes, there is nothing I can see there to disable the firewall entirely. Just checked (again). All I can see when I click on firewall properties is how to allow/disallow IP addresses for the firewall itself, or tweaking specific services. Am I missing something?
 
idk if it can be completely disabled but you can likely allow your whole /24 home lan.
 
It isn't the IP that is the issue, but access to the service. There are certain default services that you can tweak, but vnc is not on that list.
 
ah, yeah, idk then. i still havent played with v5 yet. still waiting for my rep to get around to me with the new keys.
 
That's funny, one of the driving factors and actually a cost savings to migrating to VDI was PGP...lol. It doesn't make sense to PGP a desktop VM really. What's she going to steal, a dumb terminal or a laptop with no PI data?
 
Sorry for the confusion. Her original corporate computer was getting old and slow, so I P2V'ed it to a VM and she is very happy about the increased performance. 2 weeks later she mentions 'oh yeah, we have this security compliance thing we have to do, and the software is nagging me about it...'
 
Back
Top