Qualcuno sa come far funzionare VMware Tools per l'ultimo Ubuntu 16.04 LTS Xenial?
Sto usando le patch da qui per il mio Ubuntu 15.04 Vivid, che funziona benissimo. Ma non più per Ubuntu 16.04 LTS Xenial. Errore allegato di seguito.
Senza VMware Tools che funziona, non riesco a vedere il hgfs
condiviso dall'host.
Guardando l'errore, da Github , dice
Con open-vm-tools 10.0, non è più necessario compilare il modulo vmhgfs. Questo non è necessario perché l'implementazione di HGFS è basata su FUSE in 10.0.
Quindi ho rimosso VMware Tools, quindi ho installato il funzionario open-vm-tools
:
$ apt-cache policy open-vm-tools
open-vm-tools:
Installed: 2:10.0.7-3227872-2ubuntu2
Candidate: 2:10.0.7-3227872-2ubuntu2
Version table:
*** 2:10.0.7-3227872-2ubuntu2 500
...
$ apt-cache search hgfs | wc
0 0 0
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 481988 0 481988 0% /dev
tmpfs 99852 4548 95304 5% /run
/dev/sda1 31863728 1699600 28522504 6% /
tmpfs 499248 0 499248 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 499248 0 499248 0% /sys/fs/cgroup
Ma non riesco ancora a vedere il hgfs
condiviso dall'host.
Grazie
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c:59:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.follow_link = HgfsFollowlink,
^
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c:59:21: note: (near initialization for ‘HgfsLinkInodeOperations.follow_link’)
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c:61:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.put_link = HgfsPutlink,
^
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c:61:21: note: (near initialization for ‘HgfsLinkInodeOperations.put_link’)
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c: In function ‘HgfsFollowlink’:
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c:127:10: error: implicit declaration of function ‘nd_set_link’ [-Werror=implicit-function-declaration]
nd_set_link(nd, fileName);
^
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c: In function ‘HgfsPutlink’:
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c:276:15: error: implicit declaration of function ‘nd_get_link’ [-Werror=implicit-function-declaration]
fileName = nd_get_link(nd);
^
/tmp/modconfig-VJIcMa/vmhgfs-only/link.c:276:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
fileName = nd_get_link(nd);
^
$ uname -a
Linux uname 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux