VMWare workstation 10 Подкл. общих папок Windows 10 в гостевой XUbuntu 15.10

Автор hitkliv, декабря 12, 2015, 18:25:41

« предыдущая - следующая »

hitkliv

декабря 12, 2015, 18:25:41 Последнее редактирование: декабря 13, 2015, 11:29:57 от hitkliv
Доброго дня, уважаемые!
Пожалуйста, помогите разобраться!
Установил XUbuntu 15.10 в VMWare workstation 10. Установил VMWare tools. После установки tools-ов заработал полноэкранный режим в разрешении host-машины, так что я решил, что все нормально заработало. Указал общую папку, но в каталоге mnt/hgfs/ указанная общая папка не появилась... В чем может быть причина? Как проверить, все ли сервисы VMWare запустились?   
Сторонник теории абсолютного центра бесконечно малой точки.

hitkliv

Вот, все что сделал:
hitkliv@XUbuntu-vm:~$ lsmod | grep vmhgfs
hitkliv@XUbuntu-vm:~$ modprobe vmhgfs
modprobe: FATAL: Module vmhgfs not found.
hitkliv@XUbuntu-vm:~$ sudo apt-get install build-essential
[sudo] пароль для hitkliv:
Чтение списков пакетов... Готово
Построение дерева зависимостей       
Чтение информации о состоянии... Готово
Уже установлена самая новая версия build-essential.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 6 пакетов не обновлено.
hitkliv@XUbuntu-vm:~$
hitkliv@XUbuntu-vm:~$ sudo apt-get install linux-headers-`uname -r`
Чтение списков пакетов... Готово
Построение дерева зависимостей       
Чтение информации о состоянии... Готово
Уже установлена самая новая версия linux-headers-4.2.0-19-generic.
linux-headers-4.2.0-19-generic установлен вручную.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 6 пакетов не обновлено.
hitkliv@XUbuntu-vm:~$
Сторонник теории абсолютного центра бесконечно малой точки.

hitkliv


hitkliv@XUbuntu-vm:~/Документы/vmware-tools-distrib$ sudo ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will
first uninstall the currently installed version.  Do you wish to continue?
(yes/no) [yes]

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
   VMware User Agent (vmware-user):                                    done
   Blocking file system:                                               done
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done

File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.0.

update-initramfs: Generating /boot/initrd.img-4.2.0-19-generic
update-initramfs: Generating /boot/initrd.img-4.2.0-16-generic
The removal of VMware Tools 9.6.2 build-1688356 for Linux completed
successfully.

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.2 build-1688356 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
   VMware User Agent (vmware-user):                                    done
   Blocking file system:                                               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]


Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]

Searching for a valid kernel header path...
Detected the kernel headers at "/lib/modules/4.2.0-19-generic/build/include".
The path "/lib/modules/4.2.0-19-generic/build/include" appears to be a valid
path to the 4.2.0-19-generic kernel headers.
Would you like to change it? [no]

make: вход в каталог «/tmp/modconfig-C0IRvp/vmhgfs-only»
Using 2.6.x kernel build system.
/usr/bin/make -C /lib/modules/4.2.0-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: вход в каталог «/usr/src/linux-headers-4.2.0-19-generic»
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/request.o
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/rpcout.o
In file included from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/module.h:39,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/link.c:32:
/tmp/modconfig-C0IRvp/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:6,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/./shared/compat_fs.h:22,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/link.c:29:
include/linux/printk.h:105:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-C0IRvp/vmhgfs-only/./shared/vmware.h:39:0,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/rpcout.c:43:
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/./shared/kernelStubs.h:36,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/rpcout.c:33:
include/linux/printk.h:105:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-C0IRvp/vmhgfs-only/backdoor.h:30:0,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/message.c:54:
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/./shared/kernelStubs.h:36,
                 from /tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/dir.c:37:
/tmp/modconfig-C0IRvp/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-C0IRvp/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-C0IRvp/vmhgfs-only/hgfsUtil.o
/tmp/modconfig-C0IRvp/vmhgfs-only/link.c:59:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
    .follow_link   = HgfsFollowlink,
                     ^
/tmp/modconfig-C0IRvp/vmhgfs-only/link.c:59:21: note: (near initialization for 'HgfsLinkInodeOperations.follow_link')
/tmp/modconfig-C0IRvp/vmhgfs-only/link.c:61:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
    .put_link      = HgfsPutlink,
                     ^
/tmp/modconfig-C0IRvp/vmhgfs-only/link.c:61:21: note: (near initialization for 'HgfsLinkInodeOperations.put_link')
/tmp/modconfig-C0IRvp/vmhgfs-only/link.c: In function 'HgfsFollowlink':
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/link.c: In function 'HgfsReadlink':
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/link.c: In function 'HgfsPutlink':
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/link.c:227:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    fileName = nd_get_link(nd);
             ^
/tmp/modconfig-C0IRvp/vmhgfs-only/dir.c: In function 'HgfsPackDirOpenRequest':
/tmp/modconfig-C0IRvp/vmhgfs-only/dir.c:417:26: error: 'struct file' has no member named 'f_dentry'
                      file->f_dentry) < 0) {
                          ^
/tmp/modconfig-C0IRvp/vmhgfs-only/dir.c: In function 'HgfsDirLlseek':
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/dir.c:39:0:
/tmp/modconfig-C0IRvp/vmhgfs-only/dir.c: In function 'HgfsReaddirNextEntry':
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/module.h:89:62: note: in definition of macro 'HGFS_SB_TO_COMMON'
#define HGFS_SB_TO_COMMON(sb)             ((HgfsSuperInfo *)(sb)->s_fs_info)
                                                              ^
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/dir.c:30:0:
/tmp/modconfig-C0IRvp/vmhgfs-only/dir.c:1088:44: error: 'struct file' has no member named 'f_dentry'
          *entryIno = compat_parent_ino(file->f_dentry);
                                            ^
/tmp/modconfig-C0IRvp/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-C0IRvp/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-C0IRvp/vmhgfs-only/dir.c: In function 'HgfsDoReaddir':
/tmp/modconfig-C0IRvp/vmhgfs-only/dir.c:1173:13: error: 'struct file' has no member named 'f_dentry'
       !(file->f_dentry) ||
             ^
/tmp/modconfig-C0IRvp/vmhgfs-only/dir.c:1174:13: error: 'struct file' has no member named 'f_dentry'
       !(file->f_dentry->d_inode)) {
             ^
In file included from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/module.h:39,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/request.c:38:
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/request.c:29:
include/linux/printk.h:105:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
scripts/Makefile.build:258: ошибка выполнения рецепта для цели «/tmp/modconfig-C0IRvp/vmhgfs-only/dir.o»
make[2]: *** [/tmp/modconfig-C0IRvp/vmhgfs-only/dir.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
cc1: some warnings being treated as errors
  CC [M]  /tmp/modconfig-C0IRvp/vmhgfs-only/hgfsEscape.o
scripts/Makefile.build:258: ошибка выполнения рецепта для цели «/tmp/modconfig-C0IRvp/vmhgfs-only/link.o»
make[2]: *** [/tmp/modconfig-C0IRvp/vmhgfs-only/link.o] Ошибка 1
In file included from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfsUtil.h:55,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfsUtil.c:33:
/tmp/modconfig-C0IRvp/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/preempt.h:10,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfsUtil.h:32,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfsUtil.c:33:
include/linux/printk.h:105:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-C0IRvp/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/request.h:38,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/transport.h:26,
                 from /tmp/modconfig-C0IRvp/vmhgfs-only/filesystem.c:47:
/tmp/modconfig-C0IRvp/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-C0IRvp/vmhgfs-only/filesystem.c:29:
include/linux/printk.h:105:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
Makefile:1398: ошибка выполнения рецепта для цели «_module_/tmp/modconfig-C0IRvp/vmhgfs-only»
make[1]: *** [_module_/tmp/modconfig-C0IRvp/vmhgfs-only] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-4.2.0-19-generic»
Makefile:130: ошибка выполнения рецепта для цели «vmhgfs.ko»
make: *** [vmhgfs.ko] Ошибка 2
make: выход из каталога «/tmp/modconfig-C0IRvp/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] Yes

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.17.2



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.2.0-19-generic
   Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   VMware Automatic Kmods:                                             done
   Blocking file system:                                               done
   VMware User Agent:                                                  done
   Guest operating system daemon:                                      done
   Starting Virtual Printing daemon:                                   done
The configuration of VMware Tools 9.6.2 build-1688356 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

hitkliv@XUbuntu-vm:~/Документы/vmware-tools-distrib$
Сторонник теории абсолютного центра бесконечно малой точки.

hitkliv

Сторонник теории абсолютного центра бесконечно малой точки.

VJM

Для точного ответа нужен точный вопрос.

Хочешь такой userbar?