查看所有包含 VMware Tools 标签的文章
六月
16

解决VMware Tools没有自动启动的问题

装好了 9.04,并编译安装好 Tools之后,重新登录结果 Tools竟然没有自动启动,使用ps –A | grep 命令竟然就看到一个-guested进程,没有-user进程,根据网上的方法,在首选项->启动程序手工添加了-user启动项,重新退出登录,结果-user还是没有自动启动。

查看系统日志发现以下信息:

Jun 16 17:02:29  x-session-manager[3367]: WARNING: Could not parse desktop file /usr/share/gnome/autostart/-user.desktop: 键文件没有键“Type”
Jun 16 17:02:29  x-session-manager[3367]: WARNING: could not read /usr/share/gnome/autostart/-user.desktop
Jun 16 17:02:30  x-session-manager[3367]: WARNING: Could not parse desktop file /etc/xdg/autostart/-user.desktop: 键文件没有键“Type”
Jun 16 17:02:30  x-session-manager[3367]: WARNING: could not read /etc/xdg/autostart/-user.desktop 

给/usr/share/gnome/autostart/-user.desktop 加上可写权限之后,打开发现内容如下:

[Desktop Entry]
Encoding=UTF-8
Exec=-user
Name= User Agent
X-KDE-autostart-phase=1
NoDisplay=true

Google一番之后发现更改成以下内容:

[Desktop Entry]
Type=Application
Name= User Agent
Exec=-user
Icon=system-run
Comment= User Agent
X-GNOME-Autostart-enabled=true

再次退出登录即可发现-user自动启动了,自动适应 workstation窗口大小了。

六月
1

Ubuntu 9.04安装VMWare Tools

Author Dominic    Category 软件应用     Tags , ,

测试需要,这次在 Workstation 6.5.2下安装了 9.04版,语言选择的是简体中文,安装完毕之后完成自动升级,结果发现 Tools好像没有装好,鼠标不能自动移出控制台。决定重新安装一下 Tools。谁知道从光盘拷贝文件解压之后竟然没有顺利安装,报错如下:

Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

Your compiler “/usr/bin/gcc” version “gcc 版本 4.3.3 ( 4.3.3-5ubuntu4)
” is not supported by this version of Tools.

The memory manager driver (vmmemctl module) is used by host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running -config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution’s installation CD.
[ Press Enter key to continue ]

郁闷坏了,经过调试发现这个破 Tools在获取gcc版本信息时是解析“gcc version …”,而且必须是英语的version,偏偏中文版把这个也翻译了。解决办吧就是更改的系统语言为English。通过菜单系统->系统管理->语言支持,把默认语言改成English(United States),退出之后再次登录,重新安装即可顺利通过安装。

但是在进入到-config-tools.pl这一步时却又报错。说是__grab_cache_page函数重定义了。现在都是最大的虚拟化供应商怎么犯这个错误了。解决办法是进入/usr/lib/-tools/modules/source目录解压vmhgfs.tar中的page.c,并编辑page.c中的867行修改为

page = grab_cache_page(mapping, index);

重新运行-config-tools.pl即可。

专题推荐

标签

404错误 apache article CSS dotNet fckeditor Hack iOS iTouch javascript PayPal PHP rar ubuntu utf8 VMware VMware Tools weblinks Win2008 Windows Server 2008 Wordpress xajax XOOPS 上传 个人 中文 中文习惯 关键词 合肥 域名 安全 工作 文件类型 文章管理 时区 未分类 模块 模板 模组 电子地图 界面友好 禅意花园 网速 腾讯 配置管理

分类目录

新浪微博

存档

最近文章

近期评论

友情链接

分享按钮