redhat中vmware-tools安装成功,但是没有效果

发布网友 发布时间:2022-04-23 12:19

我来回答

4个回答

热心网友 时间:2022-04-15 01:39

VMware 6.5虚拟Ubuntu 8.0.4安装VMware Tools
1.在6.5中安装Ubuntu8.0.4的过程就不多说了

2.安装完毕登录Ubuntu8.0.4,点击VMware Workstation的菜单 VM ---》Install VMwaretools,在桌面上会显示光驱中已经加载了VMware Tools文件,如下图所示

3.启动Ubuntu的命令行,操作如下图所示
4.输入如下命令,解压VMwareTools安装包
tar -vzxf /cdrom/VMwareTools-6.5.0-118166.tar.gz

5.解压完毕开始安装,执行如下命令
sudo ./vmware-tools-distrib/vmware-install.pl

6.安装过程如下,一直回车即可
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 6.5.0 build-118166 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmmemctl mole loads perfectly into
the running kernel.

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmhgfs mole loads perfectly into
the running kernel.

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmxnet mole loads perfectly into
the running kernel.

update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmblock mole loads perfectly into
the running kernel.

[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no] yes

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmsync mole loads perfectly into
the running kernel.

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmci mole loads perfectly into the
running kernel.

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vsock mole loads perfectly into
the running kernel.

Detected X.org version 7.3.0.

Please choose one of the following display sizes that X will start with (1 -
29):

[1] "320x200"
[2] "320x240"
[3] "400x300"
[4] "512x384"
[5] "0x400"
[6] "0x480"
[7] "720x480"
[8] "800x480"
[9] "854x480"
[10]< "720x576"
[11] "800x600"
[12] "1024x768"
[13] "1280x720"
[14] "1280x768"
[15] "1152x8"
[16] "1280x800"
[17] "1366x768"
[18] "1280x960"
[19] "1440x900"
[20] "1280x1024"
[21] "1400x1050"
[22] "1680x1050"
[23] "1600x1200"
[24] "1920x1080"
[25] "1920x1200"
[26] "1920x1440"
[27] "2048x1536"
[28] "2560x1600"
[29] "2560x1920"
Please enter a number between 1 and 29:

[10] 11

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" proct for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu9)
Current Operating System: Linux jim-desktop 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686
Build Date: 15 April 2008 05:26:17PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Mole Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.78", Time: Fri Sep 26 18:16:38 2008
(++) Using config file: "/tmp/vmware-config0/XF86Config.78"
(II) Mole "ramdac" already built-in

X is running fine with the new config file.

expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest filesystem driver: done
Mounting HGFS shares: failed
Guest memory manager: done
Guest vmxnet fast network device: done
VM communication interface: done
VM communication interface socket family: done
Blocking file system: done
File system sync driver: done
Guest operating system daemon: done
Virtual Printing daemon: done

The configuration of VMware Tools 6.5.0 build-118166 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" ring an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/networking stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/networking start

If the virtual printer feature is enabled, you will need to restart the CUPS
service to make use of this feature.

Enjoy,

--the VMware team

7.红色的部分表示安装成功

热心网友 时间:2022-04-15 02:57

安装虚拟机显卡

加载VMware Tools(把VMware Tools光盘插入虚拟机的光驱中),还没有真正把它请进家门。下面就讲述一下它的安装方法:

1. 首先在文本登录界面,用你的根用户账号(root)和密码登录。

2. 然后挂载光驱设备,在命令行后键入“mount -t iso9660 /dev/cdrom /mnt”命令后回车。

3. 光驱挂载成功后,用“cd /mnt”命令进入/mnt目录下,再用“ls”命令显示其下的内容。这时发现多了一个文件:vmware-linux-tools.tar.gz,这就是VMware Tools的Linux安装包。

4. 然后再把该文件拷贝到tmp目录下,键入“cp /vmware-linux-tools.tar.gz /tmp”命令即可。

5. 现在虚拟机光驱的使命完成了,应该把它卸载,用命令“umount /dev/cdrom”即可。

6.接下来应该解压缩vmware-linux-tools.tar.gz文件。首先进入tmp目录,用“cd /tmp”命令,然后用“tar zxf vmware-linux-tools.tar.gz”命令将其解压缩,把它释放到同名目录下(即vmware-linux-tools目录)。

7. 然后用“cd vmware-linux-tools”进入解压后的目录,用“ls”命令显示其下的内容,从中可以看到install.pl是VMware Tools的安装程序。

8. 最后用“./install.pl”命令来运行该安装程序,然后根据屏幕提示一路回车。到此整个安装过程算是完成了。

安装完成以后,在命令提示符下输入“startx”命令,耐心地等上片刻,就能一睹Red Hat的真容了

我试过!绝对行的

热心网友 时间:2022-04-15 04:32

实在不行reboot试试,如果是rh5的话VMware版本太低也会出问题

热心网友 时间:2022-04-15 06:23

运行命令:
vmware-config-tools
然后组合键Ctrl+Alt+Backspace重新启动X Window

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com