我中文不好, 但也想寫中文網誌 . . 因為我英文更不濟

2009年2月6日星期五

Troubleshoot: VMware unexpectablely stopped and didn't restart ....

Googled near half hundreds of related post, vmware cants start with the following message

 

/usr/lib/vmware/bin/vmware: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)

 

Going to /tmp/vmware-server/, you can see a log file stating GTK : cannot open display

 

This kind of error didnt bind to vmware only, all GUI application require this GTK , the most popular open source X Windows library

 

 

 

 

 

not until I reach the follow post give me hints to make it start again (maybe not perm. but at least up and running now)

Re: can not start vmware after upgrading --solved Oct 30, 2006 1:35 PM  http://communities.vmware.com/message/504205


i got the solution:

"nano /usr/lib/vmware/lib/wrapper-gtk24.sh"

find

"vm_run() {
..

.

.

}


 

After looking into the .sh script mentioned above, I realized I should try to pass in the SHELL environment variable  VMWARE_USE_SHIPPED_GTK
VMWARE_USE_SHIPPED_GTK=yes vmware

 

It works!

 

Aftermath, I dont like linux , no glue to find the error, you need to google here  & there a lot to find the matching solution. This time take me a whole day to make the vmware comeback.!

The learning curve is really deep.. Linux,  is too hard for newbie.

 

Reference:

·         Setting SHELL Environment variable http://www.codecoffee.com/tipsforlinux/articles/030.html