Fix Vmware tools ” kernel header path is not valid ” error

UPDATE!

Post has moved to https://manios.org/2013/06/12/fix-vmware-tools-kernel-header-path-is-not-valid-error

About cmanios

programming
This entry was posted in Linux, Mint, Ubuntu, Virtualisation, vmware and tagged , , , , , , , , . Bookmark the permalink.

26 Responses to Fix Vmware tools ” kernel header path is not valid ” error

  1. ioan says:

    I think creating the symbolic link is not needed. The build-essential package was the only pre-requisite in my case.

  2. Paco says:

    Works like a charm. Thank you very much!!!

  3. Asami Konno says:

    Wow, and people wonder why Linux isn’t more popular.

  4. Arnold Schwarzenigger says:

    Excellent, quick and valid solution. Clear and concise. Much appreciated. BIg ups!

  5. dc says:

    Perfect…. works for me! Thanks

  6. daddy says:

    awesome

  7. Guest says:

    Thank you very much!

  8. Peter says:

    ioan is right, but thanks anyway!

  9. pravin says:

    nice it worked for me…thanks a lot

  10. Benito says:

    perfect ! thanks for your help with the symbolic link.

  11. foodbaby says:

    Thanks, much appreciated work

  12. Lucas Gorski says:

    poop! yes, i wish linux were more popular but i also benefit from its obscurity. people at work are “wowed” when i tell them that i run linux at home. yes, i’m kind of a dick but i’m a happy dick!

  13. markus says:

    You’re the best!!!!
    Your instruction works like oil for vmware

  14. Kiwi says:

    headers installed properly, symlink created, but the same error
    doesnt work for me

  15. melk says:

    Thanks you guy! It works perfectly

  16. Joeri says:

    Thanks! worked for me on Debian 7 – 64bit. VMWare workstation 10.
    Didn’t had to make the symbolic link 🙂

  17. Jagdish N says:

    Thanks bro.

  18. Gustavo says:

    Thanks! Perfect!

  19. Ngux says:

    I got :
    sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h
    ln: failed to create symbolic link `/usr/src/linux-headers-3.18.0-kali3-686-pae/include/linux/version.h’: No such file or directory

    What can I do ? Thanx

    • cmanios says:

      Hello Ngux!

      I have not tested that solution in Kali Linux. Your error tells me that you may had mistakenly put LINK_NAME as TARGET in your ln -s command, because it tries to find the link which you want to create and normally does not exist.

      Hope that helps you,
      Cheers!

  20. JiriS says:

    You are lifesaver! Thanks very much sir!

  21. linuxbeginner says:

    thanks a ton!

  22. linuxfan says:

    thank you! this worked perfect for me.

  23. Eli Godoy says:

    In debian 9 linux directory in /usr/src/linux-headers-$(uname -r)/include/ dont exists, you need to create it

Leave a comment