Problema. VMTools su Ubuntu 16.04.1 LTS

Installazione di Ubuntu su macchina virtuale (Virtualbox, Vmware, Qemu, Parallels, KVM, Xen, Virtual pc, ecc.), configurazione del software e gestione del sistema virtualizzato.

Problema. VMTools su Ubuntu 16.04.1 LTS

Messaggioda einst87 » giovedì 22 settembre 2016, 20:17

Ciao a tutti, sono un super principiante di Ubuntu. Ho un problema con la VM su VMware Workstation 10.0.0 build-1295980
avevo una versione di Ubuntu installata (la 14.04) che funzionava bene, compresi i VM tools. "Purtroppo" ho aggiornato a 16.04 e sono iniziati i problemi. Non riesco più a far andare le funzionalità che avevo prima con VMTools.
La macchina virtuale gira un su LenovoT450 con win7Professional. VM ha 4GB di RAM e 30GB dell'HD e 4 processori.
Senza provare nulla ho cercato di ingrandire lo schermo e non ha funzionato. Allora ho provato a reinstallare i VMtool ma niente.
Provando a far le cose per bene
Ho disinstallato seguendo la procedura i vecchi VMtools (fonte: https://kb.vmware.com/selfservice/micro ... Id=1014522)
1-Open a terminal window.
2- Switch to the root user by running the command:
Codice: Seleziona tutto
 su - root

3- Run the VMware Tools uninstaller script:
Codice: Seleziona tutto
/usr/bin/vmware-uninstall-tools.pl

4-Follow the onscreen instructions to complete the uninstall.
6-Reboot the virtual machine.

e ho reinstallato con (fonte: https://kb.vmware.com/selfservice/searc ... Id=1022525)
1- Open a Terminal window. For more information, see Opening a command or shell prompt (1003892).
2- In the Terminal, run this command to navigate to the vmware-tools-distrib folder:
Codice: Seleziona tutto
cd Desktop/vmware-tools-distrib

3- Run this command to install VMware Tools:
Codice: Seleziona tutto
sudo ./vmware-install.pl -d

4- Enter your Ubuntu password.
5- Restart the Ubuntu virtual machine after the VMware Tools installation completes.

L'installazione non ha dato alcun problema. Però non funzionano. Se collego una chiavetta USB non viene riconosciuta, non vale il copy-paste tra win7 e Ubuntu e se metto a schermo intero resta la schermata in piccolo con sfondo nero.

Cosa sto sbagliando?
Grazie mille e scusate per il distubo
Ultima modifica di einst87 il giovedì 22 settembre 2016, 20:42, modificato 2 volte in totale.
einst87
Prode Principiante
 
Messaggi: 2
Iscrizione: marzo 2007

Re: Problema. VMTools su Ubuntu 16.04.1 LTS

Messaggioda einst87 » giovedì 22 settembre 2016, 20:38

questo è quello che ottenog quando installo VMTools.
Codice: Seleziona tutto
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]

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 9.6.0 build-1294478 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]

Initializing...


Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done
Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done


update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
The module vmci has already been installed on this system by another installer
or package and will not be modified by this installer.

The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.

The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.

The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish
to enable this feature? [yes]

make: Entering directory '/tmp/modconfig-JcdEYQ/vmhgfs-only'
Using 2.6.x kernel build system.
/usr/bin/make -C /lib/modules/4.4.0-38-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-38-generic'
  CC [M]  /tmp/modconfig-JcdEYQ/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-JcdEYQ/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-JcdEYQ/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-JcdEYQ/vmhgfs-only/backdoorGcc64.o
In file included from /tmp/modconfig-JcdEYQ/vmhgfs-only/backdoor.h:30:0,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/message.c:54:
/tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/kernelStubs.h:36,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/message.c:45:
include/linux/printk.h:105:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/vmware.h:39:0,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/rpcout.c:43:
/tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/kernelStubs.h:36,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/rpcout.c:33:
include/linux/printk.h:105:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-JcdEYQ/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-JcdEYQ/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-JcdEYQ/vmhgfs-only/link.o
In file included from /tmp/modconfig-JcdEYQ/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:37:
/tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from include/linux/list.h:8,
                 from include/linux/module.h:9,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:29:
include/linux/printk.h:105:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-JcdEYQ/vmhgfs-only/dentry.o
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c: In function ‘HgfsPackDirOpenRequest’:
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:417:26: error: ‘struct file’ has no member named ‘f_dentry’
                      file->f_dentry) < 0) {
                          ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c: In function ‘HgfsDirLlseek’:
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:707:32: error: ‘struct file’ has no member named ‘f_dentry’
    struct dentry *dentry = file->f_dentry;
                                ^
In file included from /tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:39:0:
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c: In function ‘HgfsReaddirNextEntry’:
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:993:31: error: ‘struct file’ has no member named ‘f_dentry’
    si = HGFS_SB_TO_COMMON(file->f_dentry->d_inode->i_sb);
                               ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/module.h:78:62: note: in definition of macro ‘HGFS_SB_TO_COMMON’
 #define HGFS_SB_TO_COMMON(sb)             ((HgfsSuperInfo *)(sb)->s_fs_info)
                                                              ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:1082:26: error: ‘struct file’ has no member named ‘f_dentry’
          *entryIno = file->f_dentry->d_inode->i_ino;
                          ^
In file included from /tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:30:0:
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:1088:44: error: ‘struct file’ has no member named ‘f_dentry’
          *entryIno = compat_parent_ino(file->f_dentry);
                                            ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/compat_fs.h:120:46: note: in definition of macro ‘compat_parent_ino’
 #define compat_parent_ino(dentry) parent_ino(dentry)
                                              ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:1093:52: error: ‘struct file’ has no member named ‘f_dentry’
      *entryIno = HgfsGetFileInode(&entryAttrs, file->f_dentry->d_inode->i_sb);
                                                    ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c: In function ‘HgfsDoReaddir’:
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:1172:13: error: ‘struct file’ has no member named ‘f_dentry’
       !(file->f_dentry) ||
             ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.c:1173:13: error: ‘struct file’ has no member named ‘f_dentry’
       !(file->f_dentry->d_inode)) {
             ^
scripts/Makefile.build:258: recipe for target '/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.o' failed
make[2]: *** [/tmp/modconfig-JcdEYQ/vmhgfs-only/dir.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/modconfig-JcdEYQ/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/module.h:39,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:32:
/tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from include/linux/list.h:8,
                 from include/linux/wait.h:6,
                 from include/linux/fs.h:5,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/compat_fs.h:22,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:29:
include/linux/printk.h:105:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:59:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
    .follow_link   = HgfsFollowlink,
                     ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:59:21: note: (near initialization for ‘HgfsLinkInodeOperations.follow_link’)
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:61:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
    .put_link      = HgfsPutlink,
                     ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:61:21: note: (near initialization for ‘HgfsLinkInodeOperations.put_link’)
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c: In function ‘HgfsFollowlink’:
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:125:10: error: implicit declaration of function ‘nd_set_link’ [-Werror=implicit-function-declaration]
          nd_set_link(nd, fileName);
          ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c: In function ‘HgfsReadlink’:
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:186:18: error: implicit declaration of function ‘vfs_readlink’ [-Werror=implicit-function-declaration]
          error = vfs_readlink(dentry, buffer, buflen, fileName);
                  ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c: In function ‘HgfsPutlink’:
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:227:15: error: implicit declaration of function ‘nd_get_link’ [-Werror=implicit-function-declaration]
    fileName = nd_get_link(nd);
               ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/link.c:227:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    fileName = nd_get_link(nd);
             ^
In file included from /tmp/modconfig-JcdEYQ/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/module.h:39,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/dentry.c:34:
/tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from include/linux/list.h:8,
                 from include/linux/wait.h:6,
                 from include/linux/fs.h:5,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/compat_fs.h:22,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/dentry.c:28:
include/linux/printk.h:105:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/tmp/modconfig-JcdEYQ/vmhgfs-only/link.o' failed
make[2]: *** [/tmp/modconfig-JcdEYQ/vmhgfs-only/link.o] Error 1
In file included from /tmp/modconfig-JcdEYQ/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/request.h:38,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/transport.h:26,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/filesystem.c:47:
/tmp/modconfig-JcdEYQ/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from ./arch/x86/include/asm/percpu.h:44,
                 from ./arch/x86/include/asm/current.h:5,
                 from ./arch/x86/include/asm/processor.h:15,
                 from ./arch/x86/include/asm/atomic.h:6,
                 from /tmp/modconfig-JcdEYQ/vmhgfs-only/filesystem.c:29:
include/linux/printk.h:105:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/filesystem.c: In function ‘HgfsInitSuperInfo’:
/tmp/modconfig-JcdEYQ/vmhgfs-only/filesystem.c:234:15: error: incompatible types when assigning to type ‘uid_t {aka unsigned int}’ from type ‘kuid_t {aka const struct <anonymous>}’
       si->uid = current_uid();
               ^
/tmp/modconfig-JcdEYQ/vmhgfs-only/filesystem.c:240:15: error: incompatible types when assigning to type ‘gid_t {aka unsigned int}’ from type ‘kgid_t {aka const struct <anonymous>}’
       si->gid = current_gid();
               ^
scripts/Makefile.build:258: recipe for target '/tmp/modconfig-JcdEYQ/vmhgfs-only/filesystem.o' failed
make[2]: *** [/tmp/modconfig-JcdEYQ/vmhgfs-only/filesystem.o] Error 1
Makefile:1403: recipe for target '_module_/tmp/modconfig-JcdEYQ/vmhgfs-only' failed
make[1]: *** [_module_/tmp/modconfig-JcdEYQ/vmhgfs-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-38-generic'
Makefile:130: recipe for target 'vmhgfs.ko' failed
make: *** [vmhgfs.ko] Error 2
make: Leaving directory '/tmp/modconfig-JcdEYQ/vmhgfs-only'

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.

If you wish to have the shared folders feature, you can install the driver by
running vmware-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 ]

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes]

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can be

enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no]

Thinprint provides driver-free printing. Do you wish to enable this feature?
[yes]


Disabling timer-based audio scheduling in pulseaudio.



Detected X server version 1.18.3



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-4.4.0-38-generic
   Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   Blocking file system:                                               done
   Guest operating system daemon:                                      done
   Starting Virtual Printing daemon:                                   done
The configuration of VMware Tools 9.6.0 build-1294478 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 "/usr/bin/vmware-toolbox-cmd" from the
command line.

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.

Enjoy,

--the VMware team
einst87
Prode Principiante
 
Messaggi: 2
Iscrizione: marzo 2007


Torna a Ubuntu su macchina virtuale

Chi c’è in linea

Visualizzano questa sezione: 0 utenti registrati e 1 ospite