<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dominic.Xu&#039;s 博客 &#187; VMware Tools</title>
	<atom:link href="http://xuplus.com/article/tag/vmware-tools/feed" rel="self" type="application/rss+xml" />
	<link>http://xuplus.com</link>
	<description>Web 2.0 生活</description>
	<lastBuildDate>Wed, 24 Aug 2011 05:26:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>解决VMware Tools没有自动启动的问题</title>
		<link>http://xuplus.com/article/2009/06/a126.html</link>
		<comments>http://xuplus.com/article/2009/06/a126.html#comments</comments>
		<pubDate>Tue, 16 Jun 2009 10:03:46 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[软件应用]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware Tools]]></category>
		<category><![CDATA[自动启动]]></category>

		<guid isPermaLink="false">http://xuplus.com/article/2009/06/a126.html</guid>
		<description><![CDATA[装好了Ubuntu 9.04，并编译安装好VMware Tools之后，重新登录结果VMware Tools竟然没有自动启动，使用ps –A &#124; grep vmware命令竟然就看到一个vmware-guested进程，没有vmware-user进程，根据网上的方法，在首选项-&#62;启动程序手工添加了vmware-user启动项，重新退出登录，结果vmware-user还是没有自动启动。 查看系统日志发现以下信息： Jun 16 17:02:29 ubuntu x-session-manager[3367]: WARNING: Could not parse desktop file /usr/share/gnome/autostart/vmware-user.desktop: 键文件没有键“Type” Jun 16 17:02:29 ubuntu x-session-manager[3367]: WARNING: could not read /usr/share/gnome/autostart/vmware-user.desktop Jun 16 17:02:30 ubuntu x-session-manager[3367]: WARNING: Could not parse desktop file /etc/xdg/autostart/vmware-user.desktop: 键文件没有键“Type” Jun 16 17:02:30 ubuntu x-session-manager[3367]: WARNING: could not read /etc/xdg/autostart/vmware-user.desktop [...]]]></description>
			<content:encoded><![CDATA[<p>装好了Ubuntu 9.04，并编译安装好VMware Tools之后，重新登录结果VMware Tools竟然没有自动启动，使用ps –A | grep vmware命令竟然就看到一个vmware-guested进程，没有vmware-user进程，根据网上的方法，在首选项-&gt;启动程序手工添加了vmware-user启动项，重新退出登录，结果vmware-user还是没有自动启动。</p>
<p>查看系统日志发现以下信息：<code>
<pre>Jun 16 17:02:29 <a href="http://xuplus.com/article/tag/ubuntu" class="st_tag internal_tag" rel="tag" title="标签 ubuntu 下的日志">ubuntu</a> x-session-manager[3367]: WARNING: Could not parse desktop file /usr/share/gnome/autostart/<a href="http://xuplus.com/article/tag/vmware" class="st_tag internal_tag" rel="tag" title="标签 VMware 下的日志">vmware</a>-user.desktop: 键文件没有键“Type”
Jun 16 17:02:29 ubuntu x-session-manager[3367]: WARNING: could not read /usr/share/gnome/autostart/<a href="http://xuplus.com/article/tag/vmware" class="st_tag internal_tag" rel="tag" title="标签 VMware 下的日志">vmware</a>-user.desktop
Jun 16 17:02:30 ubuntu x-session-manager[3367]: WARNING: Could not parse desktop file /etc/xdg/autostart/<a href="http://xuplus.com/article/tag/vmware" class="st_tag internal_tag" rel="tag" title="标签 VMware 下的日志">vmware</a>-user.desktop: 键文件没有键“Type”
Jun 16 17:02:30 ubuntu x-session-manager[3367]: WARNING: could not read /etc/xdg/autostart/<a href="http://xuplus.com/article/tag/vmware" class="st_tag internal_tag" rel="tag" title="标签 VMware 下的日志">vmware</a>-user.desktop </pre>
<p></code></p>
<p>给/usr/share/gnome/autostart/vmware-user.desktop 加上可写权限之后，打开发现内容如下： <code>
<pre>[Desktop Entry]
Encoding=UTF-8
Exec=vmware-user
Name=VMware User Agent
X-KDE-autostart-phase=1
NoDisplay=true</pre>
<p></code></p>
<p>Google一番之后发现更改成以下内容： <code>
<pre>[Desktop Entry]
Type=Application
Name=VMware User Agent
Exec=vmware-user
Icon=system-run
Comment=VMware User Agent
X-GNOME-Autostart-enabled=true
</pre>
<p></code></p>
<p>再次退出登录即可发现vmware-user自动启动了，自动适应VMware workstation窗口大小了。</p>

	标签： <a href="http://xuplus.com/article/tag/vmware" title="VMware" rel="tag">VMware</a>, <a href="http://xuplus.com/article/tag/vmware-tools" title="VMware Tools" rel="tag">VMware Tools</a>, <a href="http://xuplus.com/article/tag/%e8%87%aa%e5%8a%a8%e5%90%af%e5%8a%a8" title="自动启动" rel="tag">自动启动</a><br />
]]></content:encoded>
			<wfw:commentRss>http://xuplus.com/article/2009/06/a126.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04安装VMWare Tools</title>
		<link>http://xuplus.com/article/2009/06/a124.html</link>
		<comments>http://xuplus.com/article/2009/06/a124.html#comments</comments>
		<pubDate>Mon, 01 Jun 2009 02:05:26 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[软件应用]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware Tools]]></category>

		<guid isPermaLink="false">http://xuplus.com/article/2009/06/a124.html</guid>
		<description><![CDATA[测试需要，这次在VMWare Workstation 6.5.2下安装了Ubuntu 9.04版，语言选择的是简体中文，安装完毕之后Ubuntu完成自动升级，结果发现VMWare Tools好像没有装好，鼠标不能自动移出控制台。决定重新安装一下VMWare Tools。谁知道从光盘拷贝文件解压之后竟然没有顺利安装，报错如下： Using compiler “/usr/bin/gcc”. Use environment variable CC to override. Your compiler “/usr/bin/gcc” version “gcc 版本 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ” is not supported by this version of VMware Tools. The memory manager driver (vmmemctl module) is used by VMware host software to efficiently reclaim memory from a virtual machine.If the [...]]]></description>
			<content:encoded><![CDATA[<p>测试需要，这次在VMWare Workstation 6.5.2下安装了Ubuntu 9.04版，语言选择的是简体中文，安装完毕之后Ubuntu完成自动升级，结果发现VMWare Tools好像没有装好，鼠标不能自动移出控制台。决定重新安装一下VMWare Tools。谁知道从光盘拷贝文件解压之后竟然没有顺利安装，报错如下：</p>
<p>Using compiler “/usr/bin/gcc”. Use environment variable CC to override. </p>
<p>Your compiler “/usr/bin/gcc” version “gcc 版本 4.3.3 (<a href="http://xuplus.com/article/tag/ubuntu" class="st_tag internal_tag" rel="tag" title="标签 ubuntu 下的日志">Ubuntu</a> 4.3.3-5<a href="http://xuplus.com/article/tag/ubuntu" class="st_tag internal_tag" rel="tag" title="标签 ubuntu 下的日志">ubuntu</a>4) <br />” is not supported by this version of <a href="http://xuplus.com/article/tag/vmware" class="st_tag internal_tag" rel="tag" title="标签 VMware 下的日志">VMware</a> Tools. </p>
<p>The memory manager driver (vmmemctl module) is used by VMware host software to <br />efficiently reclaim memory from a virtual machine.<br />If the driver is not available, VMware host software may instead need to swap <br />guest memory to disk, which may reduce performance.<br />The rest of the software provided by <a href="http://xuplus.com/article/tag/vmware-tools" class="st_tag internal_tag" rel="tag" title="标签 VMware Tools 下的日志">VMware Tools</a> is designed to work <br />independently of this feature.<br />If you want the memory management feature, you can install the driver by <br />running vmware-config-tools.pl again after making sure that gcc, binutils, make<br />and the kernel sources for your running kernel are installed on your machine. <br />These packages are available on your distribution&#8217;s installation CD.<br />[ Press Enter key to continue ] </p>
<p>郁闷坏了，经过调试发现这个破VMWare Tools在获取gcc版本信息时是解析“gcc version &#8230;”，而且必须是英语的version，偏偏中文版Ubuntu把这个也翻译了。解决办吧就是更改Ubuntu的系统语言为English。通过菜单系统-&gt;系统管理-&gt;语言支持，把默认语言改成English(United States)，退出之后再次登录，重新安装即可顺利通过安装。</p>
<p>但是在进入到vmware-config-tools.pl这一步时却又报错。说是__grab_cache_page函数重定义了。VMWare现在都是最大的虚拟化供应商怎么犯这个错误了。解决办法是进入/usr/lib/vmware-tools/modules/source目录解压vmhgfs.tar中的page.c，并编辑page.c中的867行修改为</p>
<p>page = grab_cache_page(mapping, index); </p>
<p>重新运行vmware-config-tools.pl即可。</p>

	标签： <a href="http://xuplus.com/article/tag/ubuntu" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://xuplus.com/article/tag/vmware" title="VMware" rel="tag">VMware</a>, <a href="http://xuplus.com/article/tag/vmware-tools" title="VMware Tools" rel="tag">VMware Tools</a><br />
]]></content:encoded>
			<wfw:commentRss>http://xuplus.com/article/2009/06/a124.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

