I’ve been trying to get the VMware Infrastructure Client to run on my Ubuntu laptop via Wine.  I’ve been making progress and getting closer, but it’s still not working.  After playing around with native vs. builtin DLL’s and a couple of other configuration items, I can successfully install and launch the VIC.  I have no issue getting the familiar VIC login prompt. But after entering the IP address of my Virtual Center server, user name and password, I get the error “The client could not validate the server’s SSL certificate,” as you can see here:

vic_on_ubuntu12

I can get farther by putting an http:// in front of the IP address, forcing the VIC to bypass SSL, and it appears the client is attempting to connect to my Virtual Center server.  However, ultimately the application crashes with the following trail of console messages.

fixme:shell:URL_ParseUrl failed to parse L”"
fixme:shell:URL_ParseUrl failed to parse L”VirtualInfrastructure.25u2″
fixme:shell:URL_ParseUrl failed to parse L”System.Windows.Forms”
fixme:shell:URL_ParseUrl failed to parse L”System”
fixme:shell:URL_ParseUrl failed to parse L”VpxClientCommon.25u2″
fixme:shell:URL_ParseUrl failed to parse L”VMware.CustomControls.25u2″
fixme:shell:URL_ParseUrl failed to parse L”System.Drawing”
fixme:shell:URL_ParseUrl failed to parse L”VimSoapService.25u2″
fixme:exec:SHELL_execute flags ignored: 0×00000500
fixme:ole:Context_QueryInterface interface not implemented {000001da-0000-0000-c000-000000000046}
fixme:advapi:RegisterEventSourceW ((null),L”.NET Runtime”): stub
fixme:advapi:ReportEventW (0xcafe4242,0×0001,0×0000,0x000003ff,(nil),0×0001,0×00000000,0x7d94d124,(nil)): stub
err:eventlog:ReportEventW L”.NET Runtime version 2.0.50727.42 – Fatal Execution Engine Error (7A05E2B3) (80131506)”
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:CheckTokenMembership (0x27c 0x1cef20 0x7d94c778) stub!
fixme:shell:URL_ParseUrl failed to parse L”System.Web.Services”
fixme:shell:URL_ParseUrl failed to parse L”TransportInterfaces.25u2″
fixme:shell:URL_ParseUrl failed to parse L”System.Xml”
fixme:imm:ImmDisableIME (-1): stub
fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads
fixme:thread:NtQueryInformationThread info class 9 not supported yet
(repeated 10 times)
fixme:advapi:RegisterEventSourceW ((null),L”.NET Runtime 2.0 Error Reporting”): stub
fixme:advapi:ReportEventW (0xcafe4242,0×0001,0×0000,0x000003e8,(nil),0×0008,0x000000f6,0x3009a1b4,0x7e1b55e0): stub
err:eventlog:ReportEventW L”vpxclient.exe”err:eventlog:ReportEventW L”2.5.0.64227″
err:eventlog:ReportEventW L”48db0525″
err:eventlog:ReportEventW L”mscorwks.dll”
err:eventlog:ReportEventW L”2.0.50727.42″
err:eventlog:ReportEventW L”4333e7ec”
err:eventlog:ReportEventW L”0″
err:eventlog:ReportEventW L”000b333f”
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:thread:NtQueryInformationThread info class 9 not supported yet
(repeated 10 times)

As you can see here:

vic_on_ubuntu2

I’ve also tried this with a ThinApp’d version of the VIC and basically get the same results.  I realize I’m probably beating my head against a wall, looking for a solution that probably just doesn’t exist.  But in the off chance someone has figured this out, I want to see if anyone has progressed farther than I.  Here’s my setup …

Version of  OS: Ubuntu 8.10 (kernel 2.6.27-9)
Version of Wine:
wine-1.1.10

Anyone have any ideas?

Post to Twitter Post to Delicious Post to Digg Post to StumbleUpon

  • Aaron, I desperately need your input here...I've followed all your steps to get the login screen for VI Client on my Kubuntu 9.1 (winxp as the OS) 32 bit and .Net2.0. Also modded the proxy.xml and put in http:// in the server part of the VI Client login screen along with root and password.
    I then get the 'load inventory/form etc..' in the background window which also shows the ESX3.5 server name. But at the end of loading, I get error

    VM Infrastructure Client could not establish a connection with the server "ESX IP".
    Details: The server took too long to respond.


    uname -a : Linux ubuntu 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

    Any help highly appreciated man!
    Pls let me know if you need any other info from me to sort this out.

    Please not that my Kubuntu machiine has (XP & 2003 OSs) and I can use the VI Client in them to login without any issues..

    Thanks a million!

    Regards,
    Bharath
  • eddiepetosa
    When it comes to Linux, it seems everyone has a problem with ssl certificates. Why is that? Or perhaps I only read the posts of people still learning, just like me.
  • Jeff Warnica
    I'm fairly confident that the issue is that the wine .dlls aren't smart enough to send out an error on the self-signed HTTPS certificate.

    I've spent a couple of hours trying to find something to import the generated keys into Wine's registry, but haven't managed it yet. I'm not prepared to buy a certificate, either.

    Does anyone know if its possible to do the import?
  • Hi Jeff,

    Thanks for the note. I should have some time later this week to work on
    this and I'll let you know if I make any progress.

    Thanks,
    Aaron
  • Hi Dan,

    Thanks for the note. I did install dotnet20 via winetricks before installing the VIC. However, I wasn't aware of the wine patch you referenced. I'll give that a shot today and I'll repost with my results on winehq (I see you've already added a comment there too).

    Thanks again!
    Aaron
  • Aaron, So did the wine patch help ?
  • No, unfortunately it had no affect. When I get some time in the next week
    or so, I'll see if I can muster up some of my programming skills to help fix
    the issue. But I'm not a programming whiz, so don't count on anything! :)

    *aaron *@* sweemer* .com *vcp* *mba*
    513 560 7817 c
    513 282 6123 o

    Check out my blog, Virtual Insanity <http: www.virtualinsanity.com=""></http:>
  • I think all that's needed before installing VMware-VIMSetup-2.5.0-U3-English/vpx/VMware-viclient.exe
    is "sh winetricks dotnet20", is that what you did?

    Also, that second problem looks a lot like http://bugs.winehq.org/show_bug.cgi?id=13462#c31
    Could you try the most recent patch listed there?

    I can get to the login prompt, but I haven't the time to learn how to set up a server and really use it, so a minimal recipe to reproduce your problem (including server setup) would be helpful.

    Also, http://appdb.winehq.org/objectManager.php?sClass=version&iId=9993 is the place
    to discuss this, that way others can benefit more easily from your experiences.
  • Hey Dan,

    I tried the most recent patch with no luck. I'm still getting the same errors. Since it was late, to be 100% sure, I'm going to apply the patch and recompile one more time. And if I get better results the second time around, I'll let you know.

    Thanks,
    Aaron
blog comments powered by Disqus