Tuesday 15 March 2016

Kali Linux 2.0 - How to run Google Chrome and VLC as root

The Best way to run google-chrome  in Kali Linux


If you haven't install google-chrome yet follow these steps below.

  • Download google-chrome here 
  • cd to your download folder or where you downloaded your google-chrome file
  • install by issue without Quotation Marks "dpkg -i google-chrome-64.deb"
Now that you have successfully install google-chrome you need to give google-chrome root privileges.
  • cd to /opt/google-chrome/chrome
  • use nano to edit google-chrome file
  • scroll down to last line to <exec -a "$0" "$HERE/chrome"  "$@">
  • add <--user-data-dir>
  • press ctrl o to wrtie the file and ctrl x to exit
  • now that you your file edited you will need to go open on /usr/share/application folder
  • look for Google Chrome
  • Right click on Google Chrome, click on property and add the following command
  • /usr/bin/google-chrome-stable %U --no-sandbox
  • Allow executing file as program on Permissions section

  • Now you can go and run your google chrome !!



The Best way to run VLC in Kali Linux 2.0

If have not yet install vlc issue apt-get install vlc

  • use which command to locate vlc hexfile
  • use hexeditor to edit vlc by "hexeditor /usr/bin/vlc"
  • Press ctrl w for search for geteuid
  • Press Tab to edit change getruid sting to getppid
  • press ctrl x to save and exit
  • Now you can run your VLC











No comments:

Post a Comment