Kali linux drag and drop

Решено В Kali 2017.2 не работает буфер обмена. Virtualbox

Djon253

Это не статья. Скорее делюсь опытом. Старики наверняка знают как и что. А вот начинающие могут и тупикнуть). Сразу оговорюсь — Копипаст. Но работает. Сделал на Kali 2018.2 — всё ОК.

Для начала нам нужно добавить в sources.list репозиторий

Добавляем дополнительный репозиторий

После производим обновление командой

apt-get update
apt-get upgrade -y

Затем вводим полностью всю эту команду

apt-get install linux-image-$(uname -r|sed ‘s,[^-]*-[^-]*-,,’) linux-headers-$(uname -r|sed ‘s,[^-]*-[^-]*-,,’) broadcom-sta-dkms

Соглашаемся с установкой (ключ -y можно добавить сразу) и дожидаемся завершения. После установки необходимо перезагрузить виртуалку и машину на которой запущен virtualbox.

Теперь нужно подмапить диск к нашей виртуалке:

Система предложит запустить содержимое диска — Отказываемся

С этого диска копируем только VBoxLinuxAdditions.run на рабочий стол к примеру и в свойствах файла делаем его исполняемым (достаточно 0755)

Открываем терминал и запускаем откопированный скрипт. Ждем окончания установки и перезагружаем снова обе машины (с гостевой ОС и родительской ОС)

После перезагрузки двунаправленный буфер обмена работает как и перетаскивание файлов Drag and Drop

Источник

Drag & Drop and copy not working in kali linux2.0 #319

Comments

dongwgnod commented Jan 18, 2019

No description provided.

The text was updated successfully, but these errors were encountered:

dongwgnod commented Jan 18, 2019

I’ve reinstalled open-vm-tools-desktop many times.also apt update && apt upgrade and update-rc.d open-vm-tools enable

dongwgnod commented Jan 18, 2019

vmware workstation version is 10.0,kali linux 64bit is 2018.4

zhoumgh commented Jan 18, 2019

Which OVT version are you using?

dongwgnod commented Jan 19, 2019

The newest version 2:10.3.5-4

jcdex69 commented Jan 30, 2019

same problem here,
vmware workstation 15.0.2 build-10952284
kali 4.19.0 (2019-01-03)
ovt version 2:10.3.5-4

johnwvmw commented Feb 4, 2019

Since you posted a issue to the open-vm-tools github site , I would assume that you have installed the two open-vm-tools packages with

or something equivalent. After installation and rebooting the system there should be two «vmtoolsd» processes running.

Confirm that the DnD/copy and paste plugin is running on the vmusr process.

Kali Linux provides a systemd config file to do a VMware vmblock fuse mount which is needed for the VMware Tools drag-n-drop feature. But the service comes «disabled». This service is only needed on VM running on Fusion or WorkStation hosts since DnD and copy/paste are not allowed on ESXi.

To enable the service run

Note: The double back-slash characters are needed here.

Confirm that the service is now enabled with:

Reboot your system to confirm that the service will be permanently started each time that the system is booted.

I have tested on Kali Linux 2018.4 i386 and amd64 releases on WorkStation 15.0.2.

  • copy/paste of text to and from the Kali guest works
  • DnD of files/objects from the Windows host to directories in the file manager works
    • cannot deposit any file directly on the desktop window; from
      host or from elsewhere in the guest
  • DnD of files/objects from Kali to the Windows host work
Читайте также:  Как установить прежнюю версию windows

One issue that I did encounter was that attempts to drag a GNOME character/picture from Kali to the Windows host resulted in the vmusr process core dumping. That may be an unknown/unsupported file type, but that should not result in a crash. I am opening an internal problem report to track that issue.

So please give this a try.

bzorigt commented Apr 9, 2019

Same here. Kali Linux 2019.1 amd64 vm.

johnwvmw commented Apr 9, 2019

What «same» issue or problem do you mean? Please provide some details.

daveor commented Apr 17, 2019 •

Drag and drop from VM to host operating system also not working for me.

Setup as follows:

VMWare Fusion Professional 11.0.3
Kali 4.19.0 (2019-03-18)
open-vm-tools 2:10.3.10-1 amd64
open-vm-tools-desktop 2:10.3.10-1

I tried the instructions provided above by @johnwvmw without success. See below:

ps -ef | grep tools

root 426 1 0 09:57 ? 00:00:00 /usr/bin/vmtoolsd
root 1402 1 0 09:58 tty2 00:00:01 /usr/bin/vmtoolsd -n vmusr —blockFd 3

lsof -p 1402 | grep -i plugins

vmtoolsd 1402 root mem REG 8,1 362440 331821 /usr/lib/open-vm-tools/plugins/vmusr/libdndcp.so

systemctl status -l run-vmblock\x2dfuse.mount

run-vmblock\x2dfuse.mount — VMware vmblock fuse mount
Loaded: loaded (/lib/systemd/system/run-vmblock\x2dfuse.mount; enabled; vendor preset: disabled)
Active: active (mounted) since Wed 2019-04-17 09:57:48 IST; 11min ago
Where: /run/vmblock-fuse
What: vmware-vmblock
Docs: https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt
Tasks: 3 (limit: 2315)
Memory: 5.5M
CGroup: /system.slice/run-vmblock\x2dfuse.mount
└─342 vmware-vmblock-fuse /run/vmblock-fuse -o rw,subtype=vmware-vmblock,default_permissions,allow_other,dev,suid

peterdjalaliev commented Apr 17, 2019

Copy/paste is not working for me either. Here is my setup:

VMWare Fusion Professional 8.5.10
Kali Linux 2019.1 (updated to latest and greatest today)
open-vm-tools 2:10.3.10-1
open-vm-tools-desktop 2:10.3.10-1

root 366 1 0 15:15 ? 00:00:00 /usr/bin/vmtoolsd
peter_d+ 1155 1 0 15:16 tty2 00:00:00 /usr/bin/vmtoolsd -n vmusr —blockFd 3

$ lsof -p 1155 | grep -i plugins
vmtoolsd 1155 peter_djalaliev mem REG 8,1 362440 3674726 /usr/lib/open-vm-tools/plugins/vmusr/libdndcp.so
vmtoolsd 1155 peter_djalaliev mem REG 8,1 135000 3670085 /usr/lib/open-vm-tools/plugins/common/libvix.so
vmtoolsd 1155 peter_djalaliev mem REG 8,1 23568 3674725 /usr/lib/open-vm-tools/plugins/vmusr/libdesktopEvents.so
vmtoolsd 1155 peter_djalaliev mem REG 8,1 14536 3670069 /usr/lib/open-vm-tools/plugins/common/libhgfsServer.so

$ sudo systemctl status run-vmblock\x2dfuse.mount
● run-vmblock\x2dfuse.mount — VMware vmblock fuse mount
Loaded: loaded (/lib/systemd/system/run-vmblock\x2dfuse.mount; enabled; vendor preset: disabled)
Active: active (mounted) since Wed 2019-04-17 15:15:56 EDT; 10min ago
Where: /run/vmblock-fuse
What: vmware-vmblock
Docs: https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt
Tasks: 3 (limit: 2420)
Memory: 5.7M
CGroup: /system.slice/run-vmblock\x2dfuse.mount
└─362 vmware-vmblock-fuse /run/vmblock-fuse -o rw,subtype=vmware-vmblock,default_permissions,allow_other,dev,suid

Apr 17 15:15:55 kali systemd[1]: Mounting VMware vmblock fuse mount.
Apr 17 15:15:56 kali systemd[1]: Mounted VMware vmblock fuse mount.

bzorigt commented Apr 18, 2019 •

What «same» issue or problem do you mean? Please provide some details.

It means «not working» :).

peterdjalaliev commented Apr 18, 2019 •

Actually, I noticed the comment above that DnD and copy/paste are not allowed on ESXi. My Kali Linux VM is actually on an ESXi 6.0 server and I was using VMWare Fusion to connect to the server. I upgraded Fusion to 11.0.3 and deployed a Kali Linux 2019.1 VM locally on Fusion. Copy/paste works on the local VM, but not on the ESXI VM. I guess my problem is ESXi.

johnwvmw commented Apr 18, 2019

DnD as well as copy and paste are actions between the VM desktop and the host desktop. For hosted products such as Fusion and WorkStation, the host desktop is the Mac OS or Windows desktop. The ESXi server does not have a desktop; therefore DnD and copy/paste are disallowed.

johnwvmw commented Apr 18, 2019

Please answer a few questions about your Kali configuration.

confirm that your Kali Linux has been deployed on either Fusion or Workstation and not on ESXi

Читайте также:  Восстановление astra linux после обновления

which X system is being used — Xorg, Wayland, or ?

which desktop are you using — Gnome, ?

provide the complete list of plugins load by the vmtoolsd daemon and the vmusr vmtoolsd process

ps -ef | grep vmtools
lsof -p | grep plugins # for each vmtoolsd process from previous command

peterdjalaliev commented Apr 19, 2019

It is interesting. It turns out that copy/paste can be enabled in ESXi by adding the following to the advanced configuration options:

isolation.tools.copy.disable = false
isolation.tools.paste.disable = false

I did that and now can copy/paste from and to my ESXi-hosted Kali Linux VM through VMWare Fusion.

daveor commented Apr 19, 2019 •

Please answer a few questions about your Kali configuration.

I confirm that I am using standalone VMWare fusion on my Macbook pro.

According to apt search:

x11-common version 1:7.7+19 (X Windows System (X.Org) infrastructure)

According to apt search:

gnome version 1:3.30+1 (Full GNOME Desktop Environment, with extra components)

> ps -ef | grep vmtools
root 407 1 0 09:40 ? 00:00:00 /usr/bin/vmtoolsd
root 1420 1 0 09:41 tty2 00:00:00 /usr/bin/vmtoolsd -n vmusr —blockFd 3

kali: > lsof -p 407 | grep plugins
vmtoolsd 407 root mem REG 8,1 43736 347399 /usr/lib/open-vm-tools/plugins/vmsvc/libvmbackup.so
vmtoolsd 407 root mem REG 8,1 135000 347392 /usr/lib/open-vm-tools/plugins/common/libvix.so
vmtoolsd 407 root mem REG 8,1 22792 347398 /usr/lib/open-vm-tools/plugins/vmsvc/libtimeSync.so
vmtoolsd 407 root mem REG 8,1 23000 347397 /usr/lib/open-vm-tools/plugins/vmsvc/libresolutionKMS.so
vmtoolsd 407 root mem REG 8,1 14712 347396 /usr/lib/open-vm-tools/plugins/vmsvc/libpowerOps.so
vmtoolsd 407 root mem REG 8,1 36616 347395 /usr/lib/open-vm-tools/plugins/vmsvc/libguestInfo.so
vmtoolsd 407 root mem REG 8,1 31272 347394 /usr/lib/open-vm-tools/plugins/vmsvc/libgrabbitmqProxy.so
vmtoolsd 407 root mem REG 8,1 14696 347393 /usr/lib/open-vm-tools/plugins/vmsvc/libdeployPkgPlugin.so
vmtoolsd 407 root mem REG 8,1 14536 347391 /usr/lib/open-vm-tools/plugins/common/libhgfsServer.so
kali: > lsof -p 1420 | grep plugins
vmtoolsd 1420 root mem REG 8,1 362440 331821 /usr/lib/open-vm-tools/plugins/vmusr/libdndcp.so
vmtoolsd 1420 root mem REG 8,1 135000 347392 /usr/lib/open-vm-tools/plugins/common/libvix.so
vmtoolsd 1420 root mem REG 8,1 23568 331820 /usr/lib/open-vm-tools/plugins/vmusr/libdesktopEvents.so
vmtoolsd 1420 root mem REG 8,1 14536 347391 /usr/lib/open-vm-tools/plugins/common/libhgfsServer.so

Re the comment about isolation settings by @peterdjalaliev, I noted that there are isolation configuration settings available in my virtual machine settings also (even though I am not using ESXi, just vmware fusion on my desktop). In my case, the «Enable Drag and Drop» and «Enable Copy and Paste» settings are both selected.

I should also probably clarify that copy/paste works fine in both directions (from host to guest and from guest to host). Drag and drop doesn’t work in either direction.

Источник

Darg and drop from vmware to kali linux — solve drag and drop problem in kali linux 2020.2 vmware

How to Share File between Kali Linux and Windows 10 Easily
share files from pc to kali linuxTransfer files between kali linux and Windows — YouTubeHow transfer files from pc to kali linux in Vmware or virtual box (New) How to share files Between windows and Kali linux| Drag n Drop

In this i will tell u How transfer files from pc to kali linux in Vmware or virtual box usefull commonds ls /mnt/hgfs ln -s /mnt/hgfs/urfoldername
drag and drop or copy and paste between virtualbox host and guest machines.
how to share file between kali linux and windows 10 easily?
================================================================================
Social Media :
Facebook :https://bit.ly/2PDb4n4
Instagram :https://bit.ly/3gL51ZD
Twitter :https://bit.ly/3kzlYbt
Linked In :https://bit.ly/2XNEzqx
================================================================================
Sorry Friends No Translation Video It Is Just Pratical
================================================================================
THIS VIDEO IS JUST FOR EDUCATIONAL PURPOSE ONLY I AM NOT RESPONSIBLE FOR ANY OF YOUR ACTIVITIES.
================================================================================Additional Tags:
how to enable copy paste in kali linux virtualbox
how to transfer files from windows to kali linux in vmware
kali linux copypaste not working vmware
vmware drag and drop not working kali linux
kali linux virtualbox drag and drop not working
how to enable copy paste in kali linux vmware
how to copy and paste from windows to kali linux
how to copy files from windows to virtualbox kali linux
shared clipboard kali
kali linux vmware cannot copy paste
drag and drop open vm tools
vmware drag and drop not working linux
vmware tools on kali 2020
kali linux copy paste not working virtualbox
kali failed to register resizing support
modprobe vboxsf failed kali
kali virtualbox mount shared folder
vboxlinuxadditions run permission denied
update kali linux on virtualbox
virtualbox clipboard not working 2020
ceos3c
kali install guest additions
kali linux full screen in virtualbox
install kali linux virtualbox
virtualbox copy/paste not working mac
vmware drag and drop not working
vmware workstation 15 drag and drop
guest isolation vmware missing
vmware copy large files
transfer files to virtual machine virtualbox
how to transfer files vmware horizon client
kali vmware shared folder
kali vmware install
manjaro virtualbox clipboard
oscp vm copy paste
how to copy and paste in kali
virtualbox copy and paste windows 10
================================================================================

Читайте также:  Как включить обновление windows 10 вручную

Видео Darg and drop from vmware to kali linux — solve drag and drop problem in kali linux 2020.2 vmware канала Cyber Security Tamil

Источник

H4hacks

Robotics, DIY, hacking, 3d printing, Hardware Hacking, penetration testing, prusa i3, linux, python, information security, SSL, qualys, arduino, 3d printer etc

Monday, May 30, 2016

Fixing VMWARE tools on kali linux to enable copy paste properly — especially when you are doing OSCP

So if you are playing around with kali linux on a VM you might have faced the issue of getting the vmware tools work properly. Especially when you want to copy paste files and clipboard contents between guest and host. This is very annoying thing and took lot of my precious time when i was doing OSCP course. Here is how i fixed it.

My Setup


I run a kali linux distro on vmware player which is recommended for doing the OSCP course. By default it has GNOME as the default GUI. I kind of hate it as it uses lot of resources and has all those stupid animations and stuff. I want something clean and precise when i am working, i am not into looks and too many features, just the bare minimum responsive system is always my favourite.

So I installed LXDE which is light weight GUI for linux. you can install it with following command

apt-get install lxde-core lxde kali-defaults kali-root-login desktop-base

update-alternatives —config x-session-manager

First things First

First of all, Kali Linux new versions comes with open vm tools pre installed, this should supposedly enable all functionalities but unfortunately it doesn’t work just like that. So typically eveyone installs VMware tools on top of this.

To fix it properly first remove any additional libraries that you have installed, in my case its vmware tools. To uninstall it you have to issue the command

if you have virtualbox additions you can uninstall it by the something like this (based on version it may differ)

just make sure its all gone for good

sudo aptitude purge virtualbox-guest-x11 virtualbox-dbg virtualbox-dkms

Now uninstall open vm tools

aptitude purge open-vm-tools open-vm-tools-desktop open-vm-tools-dkms

Remove any residual files

Now that everything is properly gone. Do a restart to clean up everything.

Lets start

Lets install open vm tools properly

apt-get install open-vm-tools open-vm-tools-desktop fuse

Now open the file /etc/rc.local on a text editor and add following lines towards the end of file just before the exit 0 statement

sudo mkdir /var/run/vmblock-fuse
sudo su -l -c «vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fuse»

[Desktop Entry]
Type=Application
Name=copypaste start
Comment=Start copy paste and drag n drop for vm tools
Exec=/root/Desktop/OSCP/setup/cpaste.sh
OnlyShowIn=LXDE

#!/bin/sh -e
sudo chmod u+s /usr/bin/vmware-user-suid-wrapper
vmware-user-suid-wrapper

Thats it. Now restart and you should have copy paste functionality working properly. In case drag and drop does not work, just right click copy and then paste it works everytime for me.

Источник

Оцените статью