Search This Blog

Sunday, January 7, 2018

How to run vmware workstation as root in ubuntu 16.04


How to run vmware workstation as root in ubuntu 16.04 ? 
  1. sudo apt-get install gksu
  2. edit /usr/share/applications/vmware-workstation.desktop
  3. change the "exec" line from
    Exec=/usr/bin/vmware %U
    to
    Exec=/usr/bin/gksu /usr/bin/vmware %U
That's all. 

p.s
There are reasons for and against running one's virtual machines engine as root. Do it only if you understand the complete reasons for doing so. 

p.s2
If you are doing it because of Promiscuous Mode reasons, check the following link (but bear in mind that usermod differs in syntax between centOS and Ubuntu).