UPDATE (06/26/2024) - As of a fresh build (06/21/2024), it's no longer necessary to apply fixes for sound. Test an app for sound before applying the fixes described in the video. --------------------------------------- ALSA (Advanced Linux Sound Architecture) - Kernel based sound service. PulseAudio - A depreciated sound server. JACK (JACK Audio Connection Kit) - A depreciated sound server. PipeWire - Handles multimedia for Linux such as audio. PipeWire is replacing PulseAudio and JACK sound servers. WirePlumber - Manages PipeWire. XDG (Cross-System Group) - XDG environmental variables help programs find things like PipeWire and D-Bus. D-Bus (Desktop Bus) - An IPC (InterProcess Communications) middleware meaning it helps programs talk to each other. --------------------------------------- To fix no audio, edit the launch command of the app and prefix the Command with: env XDG_RUNTIME_DIR=/run/user/1000 For games, you may need to add /usr/games. For example, for Frozen Bubble: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble Some programs may require a special feature to be enabled. You may need to check the documentation for that program. For example, /usr/games/powermanga --help shows that --sound enables sound for powermanga: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga --sound --------------------------------------- To get a working volume control, remove the greyed out volume control icon from the top Panel, edit the launch command for PulseAudio Volume Control, and then Add PulseAudio Volume Control to the top Panel. The Command for PulseAudio Volume Control should be changed to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol --------------------------------------- To fix no internet on the Linux side, create a new resolv.conf file (it's resolve without an 'e' on the end). After creating the file, reboot Linux. Linux may recreate the file after rebooting, that's normal. This should restore internet on the Linux side. The nameserver 8.8.8.8 and nameserver 8.8.4.4 are the Google DNS. From a terminal: cd /etc sudo nano resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 Ctrl-O, Enter, and Ctrl-X to save the file and exit nano Reboot Linux. --------------------------------------- These videos include examples of using other prefixes: GDK_BACKEND=x11: kzitem.info/news/bejne/xautsHylo3hinpg&list Sommelier: kzitem.info/news/bejne/k4im1Kmap5yUZJw&list Questions are welcome and encouraged. Due to the design of KZitem's comment section, posting questions under the pinned comment or under another user's comment makes it difficult for me to find and answer questions. Please do not post your questions under the pinned comment or under other user's questions. Please create a new comment.
@evilkittens9
5 ай бұрын
Im trying to find my comment on the other kali linux video but i cant, i wanted to let you know that youre an actual angel for making this follow up fixes for kali linux running on a chromebook. I couldnt connect to the internet and you helped me out tremendously. I will be subscribing and liking as well :) thank you very much for the help, i was kinda pulling my hair out looking for answers and then i decided to come and take a second look at your channel and it made my morning alot easier ❤
@user-ye4mz7ni5g
7 ай бұрын
Thank you. Greatly appreciate how walk us through step by step on all your videos.
@user-bi8cl4ev5i
2 ай бұрын
The word Thank you may not costs but you deserved it for relief i got after spending a lot of time in folowing similar courses as you are explaining through educational videos the reverse advantage has been resulted as you and other professionals found what happened to my device time and money loss in moving back my phone to its initial factory default settings in order to reset my phone as it is and hope users those who were trust this professionals doing bad in the name of trusted professionals expecting acquiring knowlege especially in detecting and knowing who is hacking scamming and relating problems on them and their device must follow professionals like you.
@mofomushrooms4973
Ай бұрын
Wow amazing guide. How did you learn to do all this stuff? Hopefully I can be knowledgeable in this stuff eventually. If I wanted to download something like how you downloaded kali Linux on bash, if I didn’t have these videos how would I go about figuring out what to type in?
@ruthake
Ай бұрын
Because Sommelier will disembowel a desktop without mercy, it was necessary to use a nested Xserver. From that point it was trial and error to figure out the rest. One of the things I love about Debian is the extensive documentation: The URL file:/// can be used with any browser. This gives an easy way to search/view PDF/HTML books. qpdfview is also an excellent PDF reader (install: qpdfview). Debian Handbook: Install: debian-handbook File location: /usr/share/doc/debian-handbook/html Debian Reference: Install: debian-reference File location: /usr/share/debian-reference Installation Guide: Search for: installation-guide File location: /usr/share/doc/installation-guide-system Maintenance Guide: Install: maint-guide File location: /usr/share/doc/maint-guide/html Reference Card: Install: debian-refcard File location: /usr/share/doc/debian-refcard Advanced BASH-Scripting Book (This one's really fun!): Install: abs-guide File location: /usr/share/doc/abs-guide/html Google is in the process of merging Android and ChromeOS VMs and hardware. This may provide better solutions in the future. www.androidauthority.com/chrome-os-running-on-pixel-3442496/ For everything Chrome related: www.chromium.org/chromium-projects/
@arsyeedutube
Ай бұрын
Great , thanks working for me , but no audio
@ruthake
Ай бұрын
Thank you for the question, I just re-tested Kali on the Chromebook (fresh build from last week) and I did not have to apply any fixes for the sound to work.Try running applications that use sound without the fix described in this video. Just to confirm this is the go script I am using with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & For games I still had to specify the full path, /usr/games/
@Tony-mu3re
Ай бұрын
Big Thanks! I was not getting audio on a Debian 12 with Xfce4, the steps in video corrected the problem. My question to you is there another way to address this problem with Debian 12 Xfce4. Also using auto remove cmd after updating my Debian causes it to not boot up after shutdown. Again thank you for sharing.🙏🏿
@ruthake
Ай бұрын
For the "not booting issue" I would recommend putting the Chromebook online before starting Linux. If that doesn't work, try starting Linux through the ChromeOS Chrome browser. From the ChromeOS Chrome browser: Go to the URL: chrome-untrusted://crosh vmc list vmc start termina lxc list lxc start penguin lxc exec penguin su - gox If it works, the desktop will be running. If not, please let me know where you get stuck. ChromeOS containers can be backed up and restored from the Linux development environment > Backup & restore. External chips can be used for backups. If a restore fails, remove Linux, empty the ChromeOS Trash, do a fresh base install (nothing extra). Then with the Chromebook online, start Linux, then stop Linux and try the restore again with the Chromebook still online. --------------------------- We have been testing a new script with LXDE. It may resolve the sound issue: If this is the XFCE script you are using: Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u DISPLAY=:20 startxfce4 Here is the one we are testing. Lines that end in \ are continued on the next line and can be placed on the same line if desired (sommelier scaling explained below): sudo killall Xephyr sudo rm /tmp/.X20-lock sleep 3 sommelier -X --scale=.83 --glamor \ Xephyr -br -fullscreen -resizeable :20 sleep 3 sudo -u env XDG_RUNTIME_DIR=/run/user/1000 \ GDK_BACKEND=x11 \ PATH=/usr/local/bin:/usr/bin:/usr/local/games:/usr/games \ DISPLAY=:20 startxfce4 & Linux is not meant to be run this way and can produce screen fulls of messages. To send the messages to the bit bucket use: &> /dev/null. For example: DISPLAY=:20 startxfce4 &> /dev/null & To calculate scale, for example to make the screen 20% larger, 100/120=.83 or the current screen is 83% as big as the screen you want which is 120% as big as your current screen. A scale of .5 is twice the size, a scale of 2 is half size. --------------------------- I recommend backing up any important files to an external chip after working on an important project.
@abcdeath4951
6 ай бұрын
thanks😊❤
@nztxt9783
Ай бұрын
is there a way to get the clipboard working?
@ruthake
Ай бұрын
I am not aware of any issues with the clipboard for Kali Linux. Please elaborate on what you are trying to copy.
@Fecdor
2 ай бұрын
when I open Kali, it doesn't do anything, just a black screen, is there any way to fix this?
@ruthake
2 ай бұрын
It is likely an issue with the go script. Please copy and paste your go script (4:30). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ------------------------- For your convenience I've included the complete instructions. This procedure requires a fresh Linux install on a Chromebook, which installs a base Debian container which we transform into Kali. 1. Base Install: kzitem.info/news/bejne/lZiBy5WMsJGWpJg 2. Install Kali: kzitem.info/news/bejne/pKZ9y3eLbZd4ZaQ&lc=Ugwo_ICwIfUItHYJiet4AaABAg Here are the complete instructions: Install nano from a terminal: sudo apt install nano -y Delete everything in the repository source file and add the following line: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Download Kali software key: sudo wget archive.kali.org/archive-key.asc -O /etc/apt/trusted.gpg.d/kali-archive-keyring.asc Update system: sudo apt update -y sudo apt full-upgrade -y Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script: sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, Ctrl-X to save the file and exit nano. Make gox script executable: sudo chmod +x /usr/bin/gox Create gosyn script (may no longer be necessary, use only if needed): sudo nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save the file and exit nano. Make gosyn executable: sudo chmod +x /usr/bin/gosyn Shut down Linux, shut down Chromebook, and then restart Chromebook and start up Linux. Then execute gox script: gox Change launch command for Synaptic Package Manager to: gosyn
@deathstroke2407
3 ай бұрын
Hey, I have a problem. when I use the "ifconfig" it doesn't show my wlan0 connection and the network sign on the top right says " No network device". can you please help me fix this?
@ruthake
3 ай бұрын
Chromebook containers use bridge software to connect to the outside world, this will show as eth0. There is no direct connection between the Linux container and the Chromebook's WiFi. You can add the Network Monitor to the Panel: Right click the Panel and in the Panel sub menu, select Add New Items. From the Add New Items window, select Network Manager, and click the Add button. By default, the Network Monitor should be set to eth0 (Linux thinks it's connected to internet by ethernet). Open a browser to generate some traffic for the monitor.
@FeTetra
7 ай бұрын
does using this variable when running apps just fix audio in any distro on a chromebook? i thought it was a driver related issue
@ruthake
7 ай бұрын
No, it does not fix audio on any distro. You are correct, it is often a driver related issue. In this case, due to the missing XDG environmental variable, it was not able to find the sound system.
@user-xy3uk4cf6i
5 ай бұрын
i didn't find any game in mine 😭😭
@ruthake
5 ай бұрын
Games are not automatically installed. The package name for Frozen Bubble is frozen-bubble and the package name for Powermanga is powermanga. When using Synaptic, selecting "Games and Amusement" from the list of "Sections" on the left side will show games that you can install.
@princememphis7726
2 ай бұрын
First, I wanna say youre gorgeous. Second, whenever I close my kali (I have to force close btw), but when I try to go to my penguin terminal and "gox" to get back in, I get this from the terminal: (EE) Fatal server error: (EE) Server is already active for display 20 If this server is no longer running, remove /tmp/.X20-lock and start again. (EE) I do that, but it still doesn't load again and I have to restart my entire PC :(. Do you have a fix for this?
@ruthake
2 ай бұрын
Always shut down Linux from the ChromeOS Terminal app by right clicking the Terminal app in the bottom shelf and select the Shut down Linux option. Do not try to shut down Linux on the Linux side and do not close the Kali Linux desktop window. The Shut down Linux option will close the Kali Linux desktop window. If that fails, you can try adding two lines to the gox script. The &> /dev/null stops any messages from displaying: killall Xephyr sudo rm /tmp/.X20-lock Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
@Flame13131
15 күн бұрын
When i run gox i just get a black screen
@ruthake
11 күн бұрын
It is likely an issue with the go script. Please copy and paste your go script (4:30). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ---------------------------- For your convenience I've included the complete instructions. This procedure requires a fresh Linux install on a Chromebook, which installs a base Debian container which we transform into Kali. 1. Base Install: kzitem.info/news/bejne/lZiBy5WMsJGWpJg 2. Install Kali: kzitem.info/news/bejne/pKZ9y3eLbZd4ZaQ&lc=Ugwo_ICwIfUItHYJiet4AaABAg Here are the complete instructions: Install nano from a terminal: sudo apt install nano -y Delete everything in the repository source file and add the following line: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Download Kali software key: sudo wget archive.kali.org/archive-key.asc -O /etc/apt/trusted.gpg.d/kali-archive-keyring.asc Update system: sudo apt update -y sudo apt full-upgrade -y Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script: sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, Ctrl-X to save the file and exit nano. Make gox script executable: sudo chmod +x /usr/bin/gox Create gosyn script (may no longer be necessary, use only if needed): sudo nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save the file and exit nano. Make gosyn executable: sudo chmod +x /usr/bin/gosyn Shut down Linux, shut down Chromebook, and then restart Chromebook and start up Linux. Then execute gox script: gox Change launch command for Synaptic Package Manager to: gosyn
@GameOfNine
7 ай бұрын
How did you install kali linux on your Chromebook?
@ruthake
7 ай бұрын
Be sure to start with a fresh Chromebook Linux install (kzitem.info/news/bejne/lZiBy5WMsJGWpJg ). For clarity, we are doing a base Debian install and then turning it into Kali. Here are the complete instructions on installing Kali Linux (kzitem.info/news/bejne/pKZ9y3eLbZd4ZaQ&lc=UgyBek77MEgUJPVARPh4AaABAg ): Install nano from a terminal: sudo apt install nano -y Edit repository source file: cat /etc/apt/sources.list # Generated by distrobuilder # deb deb.debian.org/debian bullseye main # deb deb.debian.org/debian bullseye-updates main # deb deb.debian.org/debian-security/ bullseye-security main deb http.kali.org/kali kali-rolling main contrib non-free Download Kali software key: sudo wget archive.kali.org/archive-key.asc -O /etc/apt/trusted.gpg.d/kali-archive-keyring.asc Update system: sudo apt update -y sudo apt full-upgrade -y Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script: sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, Ctrl-X to save the file and exit nano. Make gox script executable: sudo chmod +x /usr/bin/gox Create gosyn script: sudo nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save the file and exit nano. Make gosyn executable: sudo chmod +x /usr/bin/gosyn Shut down Linux, shut down Chromebook, and then restart Chromebook and start up Linux. Then execute gox script: gox Change launch command for Synaptic Package Manager to: gosyn
@GameOfNine
7 ай бұрын
@@ruthake Thank you so much 😊 🙏🏽
@Westman5
7 ай бұрын
Hi, could you please do a tutorial of how to install ubuntu on chromebook?
@ruthake
7 ай бұрын
Here's a complete set of instructions for installing a Ubuntu container: ubuntu.com/tutorials/install-ubuntu-on-chromebook#1-overview Here's a list of ChromeOS definitions and links: chromium.googlesource.com/chromiumos/docs/+/HEAD/containers_and_vms.md I believe the most difficult part will be with the bridge software.
@احس
Ай бұрын
falied to open terminal after download linux
@ruthake
Ай бұрын
If the terminal won't start, you can first try shutting down Linux, shut down the Chromebook, restart the Chromebook, put it online, and then open the Terminal. --------------------------------- If that doesn't work, you can try starting up the desktop through the crosh terminal. From the ChromeOS Chrome browser: chrome-untrusted://crosh vmc start termina lxc list lxc start penguin To log in as your user: lxc exec penguin su - To log in as root (it's dash dash space bash): lxc exec penguin -- bash gox To shut down from the ChromeOS Chrome browser: exit (give it a moment, and press Enter if it ends with the message logout) lxc stop penguin exit vmc stop termina Close the browser. --------------------------------- For your convenience I've included the complete instructions. This procedure requires a fresh Linux install on a Chromebook, which installs a base Debian container which we transform into Kali. 1. Base Install: kzitem.info/news/bejne/lZiBy5WMsJGWpJg 2. Install Kali: kzitem.info/news/bejne/pKZ9y3eLbZd4ZaQ&lc=Ugwo_ICwIfUItHYJiet4AaABAg Here are the complete instructions: Install nano from a terminal: sudo apt install nano -y Delete everything in the repository source file and add the following line: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Download Kali software key: sudo wget archive.kali.org/archive-key.asc -O /etc/apt/trusted.gpg.d/kali-archive-keyring.asc Update system: sudo apt update -y sudo apt full-upgrade -y Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script: sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 5 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, Ctrl-X to save the file and exit nano. Make gox script executable: sudo chmod +x /usr/bin/gox Create gosyn script (may no longer be necessary, use only if needed): sudo nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save the file and exit nano. Make gosyn executable: sudo chmod +x /usr/bin/gosyn Shut down Linux, shut down Chromebook, and then restart Chromebook and start up Linux. Then execute gox script: gox Change launch command for Synaptic Package Manager to: gosyn
@forurinformation985
7 ай бұрын
please can you tell us how to install xammp on kali chromebook
@ruthake
7 ай бұрын
Xammp is outside of the Debian repository. Here is an Apache example. We'll be starting and stopping Linux through the ChromeOS developer shell, crosh: From the ChromeOS Chrome browser: chrome-untrusted://crosh vmc start termina lxc list lxc start penguin lxc list (we'll be using the IPV4 address listed here) To log in as your user: lxc exec penguin su - sudo apt update -y sudo apt dist-upgrade -y apt list apache2 sudo apt install apache2 -y sudo systemctl start apache2 exit lxc list Copy the IPV4 address. In the Chrome browser do NOT close the Linux tab, and open a 2nd tab. Paste the IPV4 address into the 2nd tab and press Enter. You will see the Apache2 Debian Default Page. To shutdown the server from the Linux tab: Log in as your user: lxc exec penguin su - sudo systemctl stop apache2 exit (give it a moment, and press Enter if it ends with the message logout) lxc stop penguin exit vmc stop terminal Close the browser. FYI: To log in as your user: lxc exec penguin su - To log in as root (it's dash dash space bash): lxc exec penguin -- bash
@forurinformation985
7 ай бұрын
@@ruthake thx
@HasaniTempest
4 ай бұрын
Random, but you look like a younger vers of my teacher.
@user-im1zw2qd8n
7 ай бұрын
I cant use wifite
@ruthake
7 ай бұрын
I don't believe the Linux development environment can directly access WiFi: support.google.com/chromebook/thread/59406567/wireless-interface-not-appearing-in-linux-apps-in-chrome-os?hl=en You can add the Network Monitor to the Panel: Right click the Panel and in the Panel sub menu, select Add New Items. From the Add New Items window, select Network Manager, and click the Add button. By default, the Network Monitor should be set to eth0 (Linux thinks it's connected to internet by ethernet). Open a browser to generate some traffic for the monitor. You may wish to research it and see if ports need to be opened. Ports can be opened in Chromebook Settings > Advanced > Developers > Linux development environment > Port forwarding Wifite Documentation: www.kali.org/tools/wifite/
Пікірлер: 38