Friday, November 8, 2013

VMWare Tools

Once you are done setting Kali Linux with VMWare, there is still stuff that you might want to do.
Note: This article assumes that you have basic knowledge about linux cli and have already installed kali linux. If not, read this article about installing kali linux and getting acquainted to command line interface.

Should you decide to create your own VMware installation of Kali Linux rather than using the  pre-made VMware images available at Kali Linux official site, you will need to follow the instructions below in order to successfully install VMware Tools in your Kali installation. You can opt to install either open-vm-tools, or the native VMWare tools.

Installing open-vm-Tools

This is probably the easiest way to get “VMWare tools” functionality inside a kali VMWare guest.
apt-get install open-vm-tools

This should be sufficient, but if you are feel that this was way too easy, then you are up for an adventure. Without knowledge of cli, what follows might look like a nightmare.

Installing VMware Tools in Kali

If open-vm-tools does not work for you, or if you prefer using native VMWare tools, begin by installing some packages that are required by the VMware Tools installer:
echo cups enabled >> /usr/sbin/update-rc.d
echo vmware-tools enabled >> /usr/sbin/update-rc.d

apt-get install gcc make linux-headers-$(uname -r)
ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/
Next, mount the Vmware tools ISO by clicking “Install VMware Tools” from the appropriate menu. Once the VMware Tools ISO has been attached to the virtual machine, we mount the drive and copy the VMware Tools installer to /tmp/.
mkdir /mnt/vmware
mount /dev/cdrom /mnt/vmware/
cp -rf /mnt/vmware/VMwareTools* /tmp/
Then, change directory to /tmp/, extract the tarball and start the installer:
cd /tmp/
tar zxpf VMwareTools-*.tar.gz
cd vmware-tools-distrib/
./vmware-tools-install.pl
Follow the prompts for the VMware Tools installation and you are done.
Lastly, to get rid of possible VMWare service errors, edit the /etc/init.d/vmware-tools script, and at around line 876, change:
 # POSIX shell uses '!' for negation during bracket expansion.
   # See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
   IFS=.
   set -- `uname -r`
to :
 # POSIX shell uses '!' for negation during bracket expansion.
   # See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
   IFS=.
   set -- `uname -r|cut -d"-" -f1`
Once changed, proceed to restart the VMWare tool service.

Slow Mouse Movement in VMware

If your mouse movement is slow and sluggish in a Kali Linux VMware guest, try installing the xserver-xorg-input-vmmouse package in the Kali guest.
apt-get install xserver-xorg-input-vmmouse
reboot

34 comments:

  1. hi actually i have installed kali linux and being new i didnt knew about making a dual boot option for windows and now only thing i have left is linux i want to re-install windows so any help??

    ReplyDelete
    Replies
    1. I think fresh install from windows CD will work. If you need data recovered then don't do anything yet I'll tell you what tools to use.

      Delete
  2. i have installed kalilinux on my virtualbox my physical machine is liunx mint while booting it's giving error "Oh no! Something has gone wrong.A problem has occured and the system can't recover. Please contact a system administrator" i have googled it and pressed CTRL+ALT+F1 to get in to the termial but in vain its taking me to physical machine terminal any help pls

    ReplyDelete
    Replies
    1. Sorry, but I have no experience with either Linux Mint (My host is usually Windows) or Virtual Box. You should try reinstalling Kali VM or use it with dual boot or live boot. I have never used Linux inside Linux.

      Delete
  3. Hey mate i had that problem too with that "oh no".All what you need to do is put at least 10 GB for the disk, because then the system doesnt have enough space to install and both run the machine so just put around 10-15 GB and it will work, worked for me

    ReplyDelete
  4. When you have taken a decision to Professional Homework Service , you need to ensure you ask the below mentioned questions from online service.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Thank You for providing us with such an insightful information through this blog. Beetatissues.in

    ReplyDelete
  7. To improve your blogging skills. Very informative content thanks for sharing with us. https://www.studylearngrow.com

    ReplyDelete
  8. How can I run VMware faster from beginning
    illustrative logo design services in London
    It's going so slow when I power on its giving maximum time to installing packets everyday so, how can I run it directly without installing packets.

    ReplyDelete
  9. Being a new user, I didn't know about creating a dual boot option for Windows when I installed Kali linux. When you decide to choose https://www.ukassignmenthelp.uk/health-care-assignment/, make sure to ask the online service the following prompts.

    ReplyDelete
  10. Other students do not want to do their college homework because they have no interest in their college courses. However, if you do not want to spend your time on college homework, there are various things you can do to make sure that you complete your college homework on time.

    ReplyDelete
  11. At my driving school in uk, I have all sorts of manual and automatic driving instructors, so if you'd like to learn driving skills, please do get in touch.

    ReplyDelete
  12. excellent blog, among the best I caught it. I had issues with VMwarel tool not being enabled in VM, but using your method fixed the issue and it now says to cancel if I don't want it. However, I am unable to locate the host's shared folder. I know I made it in my computer's Windows configuration options folder, Professional Wiki Writers but I have no idea how to find it. I've written down the name of the folder in various locations folder, but nothing has given me a hint. I require aid. I wasted a lot of time trying to install Virtual VOX on VMware.

    ReplyDelete
  13. Anyone whose records have been previously expunged will greatly benefit from this article. Thanks for sharing this wonderful article! life coaching

    ReplyDelete
  14. This is quite informative and useful for me. The louis vuitton tote neverfull Mostly black is the favorite color of ladies. That’s why this product is best for you.

    ReplyDelete
  15. This is quite unique post. I like it. The online photo compressor has a very extensive list of photo compressor and optimizers.

    ReplyDelete
  16. This is indeed a very well researched post. If you are looking for research paper help in the UK , consider checking Academic Assignments online service. We provide flawless, in depth research writing which are customizable, proffessional written and id delivered on time.

    ReplyDelete
  17. VMWare Tools is a great way to manage your virtual machine settings and configurations. It's easy to use and has a lot of features that make it a great tool for managing your virtual machines.

    ReplyDelete
  18. To adjust the settings and configurations of your virtual machines, use VMware Tools. It's an excellent solution for managing your virtual machines because it's functionality and simple to use.

    ReplyDelete
  19. The content was really very interesting.

    ReplyDelete
  20. Hope more people will read this article

    ReplyDelete
  21. Designs77 entirely believes in concentrating on the client's business growth with the assistance of splitting IT techniques, that we provide in the variety of IT, digitization, and design services.

    ReplyDelete
  22. For several years, we have been provided assignment writing assistance to students all around the world. Our team is composed of Ph.D. specialists from multiple topics and expertise. Given that we are one of the big names providing academic guidance to students, we only produce the finest work and employ the best writers to do so.

    ReplyDelete
  23. Assignment Help Online
    Thank you for sharing this article
    Do you need assignment help online from academic writers? Visit us. Casestudyhelp.com is the most popular and trusted website for assignment help and writing services providers worldwide. Case Study Help has a team of highly qualified subject-area experts. We are available on the Internet.

    ReplyDelete
  24. What a valuable article you have posted. Thanks for sharing it.
    Are you searching for Business Case Study Help at a reasonable price? We provide case study writing services with 100% original content. Students who Need Case Study Help experts for Business case study services. Connect with our 24/7 live chat team.

    ReplyDelete

© Kali Tutorials, 2016. Unauthorized use and/or duplication of this material without express and written permission from this site’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Shashwat Chaudhary and Kali Tutorials with appropriate and specific direction to the original content.
Bitcoin: 1B5aLqJcMW7zznffTxQwta8JTZsxBDPguC