Computers, Programming, Technology, Music, Literature

Posts Tagged ‘kali

Fixing VMWare Player Cannot write to local file Cancelling the file copy operation

leave a comment »

 

 

PROBLEM: When copying files from VMWare player to the host (Windows host in this case), you get “Cannot write to local file”.

SOLUTION: Make space. Clear temp and %temp% directories, on your operating system drive.

 

I was trying to copy 5 GB of files from my VMWare player guest OS Kali Linux to my Windows Host. VMWare player displays Copying file “part2.rar” from virtual machine and exits with “Cannot write to local file. Cancelling the file copy operation.”.

 

image

image

This knowledge base from vmware hints disabling tempfs in linux operating systems.  https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2056353 

I looked at the temp and %temp%  windows directories and dicovered the below temp location  where VMWarePlayer copies the files from the VM Guest, and from there it copies to the destination directory in the host OS.

image

My Operating System drive C: was full, and I had to clear the temp directories and free up some space to do 5 GB copy operation from WMWare Player Guest Kali Linux to Windows Host.

Advertisements

Written by gmaran23

March 3, 2017 at 6:30 pm

Installing gedit on kali linux

with 6 comments

 

yeah, it’s really a bummer when you try to edit a file with your (our) favorite text editor gedit, and you get “command not found”. You may be better off using gvim or leafpad but when it comes to breaking the habit of using gedit, you would have a second thought of installing gedit by hook or crook. Just as in backtrack, Off you go, and try

apt-get install gedit

 

you get Unable to locate package gedit

Screenshot_010214_031027_PM

You may be wondering if your sources.list should be updated. That is the answer. Update the /etc/apt/sources.list first based on your need with the list of repositories from here. [Or directly try apt-get update from the terminal and then install gedit with apt-get install gedit]

Or for a minimum configuration of repository list, in the terminal run

leafpad /etc/apt/sources.list

replace (or make sure) the contents of sources.list is as below

deb http://http.kali.org/kali kali main contrib non-free 
deb http://security.kali.org/kali-security kali/updates main contrib non-free 
deb cdrom:[Debian GNU/Linux 7.0 Kali - Official Snapshot i386 LIVE/INSTALL Binary 20130905327-07:57]/ kali contrib main non-free 



Save the changes to the sources.list and run apt-get update to update the package repositories.

apt-get update 

 

That’s it, once the apt-get repository is updates, you can run

apt-get install gedit

and then

gedit /etc/hosts

or

leafpad /etc/hosts Winking smile

Written by gmaran23

January 2, 2014 at 3:52 pm

Posted in kali

Tagged with , , ,