Skip to content

Instantly share code, notes, and snippets.

@devCharles
Last active May 31, 2017 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devCharles/8415af0f36025cc1c9b83f75bae8ef16 to your computer and use it in GitHub Desktop.
Save devCharles/8415af0f36025cc1c9b83f75bae8ef16 to your computer and use it in GitHub Desktop.

linux solutions

fix kali linux sound

  • just type “systemctl --user enable pulseaudio && systemctl --user start pulseaudio” in a terminal

Add a JDK to a chooser:


install chrome in Kali and be able to use it as root

  1. Instal the .deb
  2. open the file
nano opt/google/chrome/google-chrome
  1. look for the line “exec -a "$0" "$HERE/chrome" "$@"”
  2. and append “--user-data-dir --no-sandbox”
  3. now looks like this exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandbox

WIFI ISSUES Kali/debian


solution to constant printing the next message in tty

 pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
  • this error was present in pure ARCH linux,solved following the next steps:
  1. sh nano /etc/default/grub
  2. look for a line like this “GRUB_CMDLINE_LINUX_DEFAULT”
  3. append the next boot parameter “pcie_aspm=off”, it will look like this GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off"
  4. make # sudo update-grub; if the script does not exist do # grub-mkconfig -o /boot/grub/grub.cfg
  5. reboot the sistem and validate solution

referencies :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment