LINUX.ORG.RU

Debian на гостевой машине. Не работает буфер обмена

 , ,


1

1

Debian GNU/Linux 10 (buster). VMWare Workstation 15.5. Как заставить работать буфер обмена между виртуальной машиной и хостом (Windows 10)? Инструкцию https://kb.vmware.com/s/article/1026437 читал, все сделал по ней, но все равно не работает


Только не ставь пакет open-vm-tools-*, он кривой был по крайней мере в 9.x. А если поставил, снеси. Он конфликтует с VMWare-tools и часть функций отваливается.

Недавно ставил в Debian 9.0 и Ubuntu 18.04, там достаточно того, что идет на CD VMWare. Просто копируется что там есть в папку root-a и запускается vmware-install.pl, далее можно просто жать Enter для выбора параметров и каталогов по-умолчанию.

bugs-bunny
()

Я например и из винды в винду не осилил буфер сделать. Так что ставь вбокс 5.

Deleted
()
Ответ на: комментарий от Deleted

Только учти, что VirtualBox дерется с Касперским и при запуске VM можно получить BSOD. Ну так было пару лет назад, и Касперский это не спешит править.

из винды в винду не осилил буфер сделать

Какие-то Вы ужасы рассказываете ). Раз 20 накатывал VMWare-tools в виртуалки с разными виндами и никогда проблем не было.

С Debian 8.x были, когда в очередной версии ядра Linux поменяли структуру device_object, 2 поля убрали, 2 добавили, точнее внесли во вложенную структуру. Разработчики tools к такому повороту не могли быть готовы ). Пришлось править исходники tools в паре мест.

bugs-bunny
()
Ответ на: комментарий от bugs-bunny

Ну я и open-vm-tools и VMWare-tools оригинальный пробовал. Все одно - не работает

mark-v
() автор топика
Ответ на: комментарий от Deleted

Я сам не могу выбирать, что ставить. Машины не мои, я только обслуживаю

mark-v
() автор топика
Ответ на: комментарий от Deleted

Из винды в винду без проблем работает. Семерка на госте, десятка на хосте. VMWare 15.5

mark-v
() автор топика
Ответ на: комментарий от bugs-bunny

Только не ставь пакет open-vm-tools-*, он кривой был по крайней мере в 9.x. А если поставил, снеси. Он конфликтует с VMWare-tools и часть функций отваливается

По поводу VMWare Tools. Гляньте лог установки. Может кто найдет ошибку какую?

root@debian:~/vmware-tools-distrib# ./vmware-install.pl The installer has detected an existing installation of open-vm-tools packages on this system and will not attempt to remove and replace these user-space applications. It is recommended to use the open-vm-tools packages provided by the operating system. If you do not want to use the existing installation of open-vm-tools packages and use VMware Tools, you must uninstall the open-vm-tools packages and re-run this installer. The packages that need to be removed are: open-vm-tools Packages must be removed with the --purge option. The installer will next check if there are any missing kernel drivers. Type yes if you want to do this, otherwise type no [yes] yes

INPUT: [yes]

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] yes

INPUT: [yes]

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

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

The removal of VMware Tools 10.3.10 build-13959562 for Linux completed successfully.

Installing VMware Tools.

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

INPUT: [/usr/bin] default

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

INPUT: [/etc] default

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

INPUT: [/etc/init.d] default

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

INPUT: [/usr/sbin] default

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

INPUT: [/usr/lib/vmware-tools] default

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] yes

INPUT: [yes]

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

INPUT: [/usr/share/doc/vmware-tools] default

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] yes

INPUT: [yes]

The installation of VMware Tools 10.3.10 build-13959562 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] yes

INPUT: [yes]

You have chosen to install VMware Tools on top of an open-vm-tools package. You will now be given the option to replace some commands provided by open-vm-tools. Please note that if you replace any commands at this time and later remove VMware Tools, it may be necessary to re-install the open-vm-tools.

WARNING: It appears your system is missing the required /usr/bin/vmhgfs-fuse

Initializing...

Making sure services for VMware Tools are stopped.

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

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] yes

INPUT: [yes]

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)

Skipping configuring automatic kernel modules as no drivers were installed by this installer.

Skipping rebuilding initrd boot image for kernel as no drivers to be included in boot image were installed by this installer.

The configuration of VMware Tools 10.3.10 build-13959562 for Linux for this running kernel completed successfully.

Enjoy,

--the VMware team
mark-v
() автор топика
Ответ на: комментарий от mark-v

Смущает вот это

A previous installation of VMware Tools has been detected.
и
...has already been installed on this system by another installer or package and will not be modified by this installer.
Может быть сделать снапшот VM, почистить вручную все каталоги, которые инсталлер спрашивал. А потом ставить заново.

bugs-bunny
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.