I have Ubuntu (Ubuntu 8.04.3 LTS) running in a VMware Fusion VM, and I believe I've installed VMware Tools. But how can I confirm that VMware Tools is running correctly?
When I try step 8 of http://www.vmware.com/support/ws55/doc/ws%5Fnewguest%5Ftools%5Flinux.html#wp1127177 (in an xterm) I get:
$ su -
Password:
# vmware-toolbox &
[1] 7791
(vmware-toolbox-gtk:7791): Gtk-WARNING **: cannot open display:
I wonder if it's also a bad sign that the menu item in Fusion's Virtual Machine menu still reads "Install VMware Tools" rather than "Update VMware Tools". Or perhaps Fusion can't properly detect whether Tools is running in Ubuntu (and this is not a problem)?
Update 5: (1 through 4 are below) I've confirmed that the VMware Tools are running correctly, by running (in an xterm):
$ su -
# /etc/init.d/vmware-tools restart
...as suggested by Josh.
So at least for an Ubuntu 8.04.3 LTS guest and VMware Fusion 2.0.6, the "Install VMware Tools" item in the Virtual Machine menu does not change to "Update VMware Tools" when they're properly installed.
Update 6: After reading Thorbjørn's comment, I ran:
$ sudo -s
# vmware-toolbox
...and got:
(vmware-toolbox-gtk:8192): Gtk-WARNING **: Unable to locate theme engine in module_path: "ubuntulooks",
...and a "VMware Tools Properties" dialog box appears.
# /etc/init.d/vmware-tools restart
...doesn't report any errors.
Copy & paste was working for me previously, but now it's stopped: the clipboard is no longer copied from the guest to the host, nor visa-versa.
The following was written before I was able to install VMware Tools:
I have Ubuntu (Ubuntu 8.04.3 LTS) running in a VMware Fusion VM, and I'm trying to install VMware Tools. I'm following the instructions at http://www.vmware.com/support/ws55/doc/ws_newguest_tools_linux.html
.
I choose Virtual Machine > Install VMware Tools, and (after pressing the Install button in the confirmation dialog) a "VMware Tools" item appears in Ubuntu's Places menu. But nothing happens after I select it. And ls /media/cdrom0
returns nothing.
Update: Responding to Josh's suggestions:
$ mount
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.24-23-generic/volatile type tmpfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
.host:/ on /mnt/hgfs type vmhgfs (rw,ttl=5)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
/dev/scd0 on /media/cdrom1 type iso9660 (ro,nosuid,nodev,utf8,user=dspitzer)
tmpfs on /lib/modules/2.6.24-25-generic/volatile type tmpfs (rw,mode=0755)
gvfs-fuse-daemon on /home/dspitzer/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=dspitzer)
I tried:
$ mount /media/cdrom0
mount: No medium found
And seeing "/dev/scd0" above, I tried:
$ mount /dev/scd0
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: /dev/scd0 already mounted or /media/cdrom1 busy
mount: according to mtab, /dev/scd0 is already mounted on /media/cdrom1
Which led me to:
$ ls -al /media/cdrom1
total 0
-r-xr-xr-x 1 root root 0 1996-04-25 00:37 primary volume descriptor for contact information.
I'm puzzled.
Update 2: Josh's suggestion to try:
sudo umount /media/cdrom1
sudo mount /media/cdrom1
...worked to get the VMware Tools DVD-ROM to mount. Now I can follow the instructions in http://www.vmware.com/support/ws55/doc/ws%5Fnewguest%5Ftools%5Flinux.html#wp1127177.
Update 3: When I try step 8 of http://www.vmware.com/support/ws55/doc/ws%5Fnewguest%5Ftools%5Flinux.html#wp1127177 I get:
$ su -
Password:
# vmware-toolbox &
[1] 6892
(vmware-toolbox-gtk:6892): Gtk-WARNING **: cannot open display:
Could this be because I'm not actually in an X terminal? (I'm opening Applications -> Accessories -> Terminal.)
I wonder if it's also a bad sign that the menu item in Fusion's Virtual Machine menu still reads "Install VMware Tools" rather than "Update VMware Tools". Perhaps Fusion can't properly detect whether Tools is running in Ubuntu?
Update 4: I ran xterm
and then the following:
$ su -
Password:
# vmware-toolbox &
[1] 7791
(vmware-toolbox-gtk:7791): Gtk-WARNING **: cannot open display:
As you see, I got the same warning.
How can I confirm that VMware Tools is running correctly?