VMware
1 2 Previous Next 26 Replies Last post: Mar 25, 2009 7:44 PM by dmarrow  

ESXi and VNC password (RemoteDisplay.vnc.password) posted: Aug 25, 2008 1:18 PM

Click to view jim_md's profile Novice 8 posts since
Aug 25, 2008


When enabling VNC access within the .vmx file on ESXi, it seems the password option is ignored:


RemoteDisplay.vnc.enabled = "TRUE"
RemoteDisplay.vnc.password = "12345678"
RemoteDisplay.vnc.port = "5901"

This is how I used to do it on GSX. But on ESXi, no matter what the password is, I can connect to the vm without a password.(esxi isn't prompting)

Is anyone else having this problem?

Click to view Peter_vm's profile Guru 9,058 posts since
Feb 1, 2006
I think everyone wanting to secure builtin VNC with a password has that problem. I do.
Click to view nick.couchman's profile Champion 4,969 posts since
Jan 13, 2006
I take it that you're saying that the password option does not work in ESX(i)?

Re: ESXi and VNC password (RemoteDisplay.vnc.password)

4. Aug 26, 2008 12:42 AM in response to: jim_md
Click to view mk1970g's profile Novice 35 posts since
May 18, 2005
What other remote console software/method could I then use on Linux?
Click to view pmhausen's profile Enthusiast 29 posts since
Dec 8, 2006
I run a local X server on my admin machine and use SSH with X11 forwarding to the Linux/FreeBSD box in question. Regularly I do not need graphical/console access at all, but if I have to use a SuSE system for a particular application I can still fire up Yast2 and click away. Or install Orcale, or whatever might need X11. As I said, most of the time my admin console/tool is vi.

Kind regards,
Patrick
Click to view mk1970g's profile Novice 35 posts since
May 18, 2005
Maybe I do not understand your reply correctly but here's my usage scenario:

  • ESXi and VI Client (running on Windows) are in server room. I have few Windows virtual machines running on this ESXi.

  • I'm using my Ubuntu desktop, I have no physical access to the Windows PC running VI Client (since it's only used for administrative tasks).

  • I can start/stop/restart VMs with RCLI directly from my Ubuntu desktop.

Now I want to connect to the (virtual) Windows PCs but I want to have some kind of password prompt before I can see the console. Since VNC password is ignored, I want to have something else. My question is "what and how".
Click to view pmhausen's profile Enthusiast 29 posts since
Dec 8, 2006
Ah ... I intepreted your question for remote console software "on Linux" as "how can I connect to Linux server from Windows"?
But to connect to Windows, why bother with VNC at all? RDP is far superior in terms of interactive performance/responsiveness.

See http://www.rdesktop.org/

Kind regards,
Patrick
Click to view nick.couchman's profile Champion 4,969 posts since
Jan 13, 2006
...but only if you're running Windows XP.
Click to view pmhausen's profile Enthusiast 29 posts since
Dec 8, 2006
XP, Vista, 2000 Server, 2003 Server, 2008 Server, ... did I miss anything that is still available and supported?

http://support.microsoft.com/default.aspx?scid=fh;[ln];lifesupsps#Windows

Kind regards,
Patrick

Re: ESXi and VNC password (RemoteDisplay.vnc.password)

11. Aug 26, 2008 12:01 PM in response to: jim_md
Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
In the hosted products, RemoteDisplay.vnc.password (plaintext) was replaced by RemoteDisplay.vnc.key (encrypted). In recent builds, RemoteDisplay.vnc.password was restored, since it's bad for VMs which used to require a password to stop requiring them when run under a newer version of Workstation. It doesn't look like this change got ported to ESXi, though.

Basically, use RemoteDisplay.vnc.key instead of RemoteDisplay.vnc.password - we're working on posting directions on how to generate the key.
Click to view Peter_vm's profile Guru 9,058 posts since
Feb 1, 2006
etung wrote:
In the hosted products, RemoteDisplay.vnc.password (plaintext) was replaced by RemoteDisplay.vnc.key (encrypted). In recent builds, RemoteDisplay.vnc.password was restored, since it's bad for VMs which used to require a password to stop requiring them when run under a newer version of Workstation. It doesn't look like this change got ported to ESXi, though.

Basically, use RemoteDisplay.vnc.key instead of RemoteDisplay.vnc.password - we're working on posting directions on how to generate the key.

Do you have any details on that?

Re: ESXi and VNC password (RemoteDisplay.vnc.password)

14. Aug 30, 2008 11:25 AM in response to: etung
Click to view thingy's profile Novice 20 posts since
Sep 2, 2006
If the key is generated via a well known hash, can you let us know what it is so that we can come up with our own scripts to generate the key?

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities