=================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html =================================== FOR QUESTIONS: =================================== Questions are welcome and encouraged. Due to the design of RUclips'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.
Another Highly informative video from a Stellar Speaker!!! Ruth is very knowledgeable about Linux installations on chrome books. Each video released shows that she knows what she is talking about!!!!
The lock file can be manually removed. Then try starting the desktop again: sudo rm /tmp/.X20-lock gox If this is a continuous issue, it may be caused by improperly shutting down Linux. To shut down Linux, right click the Terminal app in the bottom shelf, and select Shut down Linux (21:09).
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update. I would recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46).
To fix sound for Firefox, or any other app, prefix the launch command with "env XDG_RUNTIME_DIR=/run/user/1000" (19:03). To edit the launch command for Firefox: Menu > Usual Applications > Internet > Right click Firefox > select Edit Application... Change the Command to: env XDG_RUNTIME_DIR=/run/user/1000 /usr/lib/firefox-esr/firefox-esr %u You may also need to edit the launch command for Firefox from the top Panel: Right click Firefox from the top Panel > Properties > click the button with multiple lines Change the Command to: env XDG_RUNTIME_DIR=/run/user/1000 /usr/lib/firefox-esr/firefox-esr %u
So I’m stuck after I restart the Chromebook I click on google to open a window and then I click the terminal then it’s says: [======\ ] starting the Linux container An then it will say start up has timed out after about 30 mins of waiting
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update. I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46).
Ok the problem I am getting is etc/apt/sources. list does exist there are no lines to # out. I tried to continue on with the rest of the commands but In the end it wont convert over to Kali. its still on debian gnc/linux
From the Terminal: cd /etc cd apt ls sudo nano sources.list If the sources.list file does not exist, then you can create it: sudo nano sources.list Add the following line: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl+O, Enter, and Ctrl+X to save the file and exit nano. Update, and then retry the full upgrade: sudo apt update -y sudo apt full-upgrade -y -------------------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
In general, Linux commands will work. Not all network commands and utilities will work as expected. The Linux development environment does not have direct access to 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. For some situations, opening ports may be helpful. Ports can be opened from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ----------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
The Chromebook needs to be connected to the internet. If the Chromebook is online then it is likely the connection dropped on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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
Powerwashing is not necessary to remove Linux. Linux can be removed from Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button. Chromebook questions can be directly posted to Google from here: support.google.com/chromebook/thread/new?hl=en 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 some reason, the xfce wallpaper shows up (teal with a mouse). I checked the desktop settings and it doesnt show up there, only the kali desktops. When I try kali-undercover, it shows the same xcfe wallpaper and not the windows. Any idea on how to fix this?
It sounds like the wallpapers didn't install. From the terminal, try reinstalling kali-defaults: sudo apt install kali-defaults -y If that doesn't work, then you can try installing kali-wallpapers-2024 if it's not already installed. --------------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
If you backed up Debian immediately after the initial setup. You can try to restore from a backup. Currently there is an issue with the Linux Backup & restore, this will likely be resolved soon. The backup and restore is available from: Chromebook Settings > About ChromeOS > Linux development environment > Backup & restore You can also remove Linux and reinstall Debian.
To confirm the gox file is in the proper location, from the Terminal: ls /usr/bin/go* If the gox script is not listed, create it. ----------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
Hi Nice tutorial, what do you mean by "put the chromebook online" ? I properly shut downed Linux and i restarted chrombook then same issue the container loading till Time failure.
1. If Linux is running: - Right click the Terminal icon in the bottom shelf - Select Shut down Linux 2. Shut down the Chromebook 3. Restart the Chromebook 4. Connect the Chromebook to the internet 5. Open the Terminal app 6. Select penguin
after restart I'm getting a error :Starting the Linux container Error starting crostini for terminal: 58 Launching vmshell failed: Error starting crostini for terminal: 58 (START_CONTAINER_TIMED_OUT). can you help me?
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update. I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46) Similar issues have been reported here: support.google.com/chromebook/thread/243436917/cannot-start-terminal?hl=en That's not a Linux issue, Linux never starts, it never gets past the virtual machine starting. This is a ChromeOS issue. You can post questions from here: support.google.com/chromebook/thread/new?hl=en --------------------------- For my own information, please tell me what make and model you are using.
Problem with: Sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Error: unable to correct problems, you have held broken packages.
Generally, apt will provide the fix command necessary to fix broken packages. If it did not provide a command, you can try the following: sudo dpkg --configure -a sudo apt --fix-broken install Then retry the install: sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" If that fails to resolve the issue, this page may be helpful: itsfoss.com/held-broken-packages-error/
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ----------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
your explanations are the most extensive and dot for dot like on the internet/ a dumb potato would be able to install kalilinux and become a GOV menacing hacker by watching your videos/ You are a doll lovely as a strawberry in the middle of the summer ! daaaamn!
It sounds like the script doesn't have execute permissions. I recommend the following command, from a terminal: sudo chmod +x /usr/bin/gox -------------------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
Confirm that the gox file exists from the Terminal: which gox cat /usr/bin/gox If there is no output, then create the gox file. ------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
When I do the sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" I get an error that says Error: Sub-process something something, and then it says "are you root?". Any idea on how to solve this???
It sounds like sudo is not being executed. Here is an article on the topic: itsfoss.com/fixed-are-you-root-error/ From the Terminal please execute "history" and copy and paste the result here. ---------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
It can be done from the termina command line (This can be done from the ChromeOS Chrome browser (chrome-untrusted://crosh) or from the crosh terminal (Alt+Ctrl+T)): vmc start termina lxc list lxc delete penguin lxc list exit vmc stop termina From the crosh terminal, execute "exit". For the ChromeOS Chrome browser, just close it. Generally, I recommend removing Linux from Chromebook settings > About ChromeOS > Linux development environment > click the Remove button -------------------------- Currently the backup and restore system from Chromebook Settings > About ChromeOS > Linux development environment > Backup & restore is broken. If you are able to backup the Linux container after a fresh install, restoring from that backup will have the same affect as removing and reinstalling Linux. This will save a lot of downloading.
Hi, thanks for the tutorial. But i have a problem when booting up the virtual machine. I type gox and it says "permission denied" what have i done wrong ? thanks
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ----------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
I have a question after I’ve successfully installed Linux I’m trying to connect my iPhone to the virtual machine but I can’t can you tell me any method to add my device to kali Linux virtual machine it only connected to Chromebook
I believe this is what you're looking for: chromeunboxed.com/how-to-find-your-chromebooks-ip-and-mac-address/ stackoverflow.com/questions/72630563/how-to-give-a-linux-container-on-chromeos-an-outside-accesible-ip
On one of my chromebooks this worked. On my dell 5190 2 in 1 it just sits on the "[======/ ] Starting the Linux container" screen and doesn't load for me to execute gox
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update. I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46)
@@ruthake Yeah I've read this reply elsewhere and already tried that unfortunately it does not work. There are no pending updates, Removed Linux and re set it up and re went through the whole process. Still stuck on starting the Linux container. The connection is good the entire time.
Similar issues have been reported here: support.google.com/chromebook/thread/243436917/cannot-start-terminal?hl=en That's not a Linux issue, Linux never starts, it never gets past the virtual machine starting. This is a ChromeOS issue. You can post questions from here: support.google.com/chromebook/thread/new?hl=en
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ----------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
I have a problem when completing commands and restarting Chromebook. I enter the terminal and run it. After a while, I get this message: Launching vishell failed: Error starting crostini for terminal: 58 (START CONTAINER TIMED_OUT)
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update. I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46) Similar issues have been reported here: support.google.com/chromebook/thread/243436917/cannot-start-terminal?hl=en That's not a Linux issue, Linux never starts, it never gets past the virtual machine starting. This is a ChromeOS issue. You can post questions from here: support.google.com/chromebook/thread/new?hl=en --------------------------- For my own information, please tell me what make and model you are using.
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & --------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
Error appeared when I ran “sudo apt install Kali-desktop-xfce -y -o dpkg: …….” command. The message was “ Error: Option dpkg: : Configuration item specification must have an =.
Based on the error, it appears that the command that was executed is missing the equal sign. All the commands used in this video are in the pinned comment for convenience. sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
If you are having an issue doing a 2 finger click, try holding Alt and then do a single click on the mousepad. Here's a Google reference for using the Chromebook touchpad: support.google.com/chromebook/answer/1047367?hl=en
I recommend starting the Kali install with a fresh container install which means you would have to reinstall your apps. In general, most apps that will run on Kali will run on Debian and vice versa.
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
If the terminal is working: When installing software, if the install results in an error, it will often include a command that can fix the error. For example, when I installed Kali on my new Acer Chromebook, I executed the "sudo apt full-upgrade -y" command. The install failed and told me to execute "sudo apt --fix-broken install". After running the fix, it's important to re-execute the install command again. ---------------------------- If the terminal is working and you are able to run gox and are receiving a black screen, and the above does not resolve the issue. It may be an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ---------------------------- If the terminal is not working: I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script. ---------------------------- If Linux is not able to start up, then you may need to remove and reinstall Linux. Linux can be removed from Chromebook settings > About ChromeOS > Linux development environment > click the Remove button ---------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
You may want to try emptying the Trash from the Files app > Trash > Click on the Empty trash now button. The Kali Linux install will need a minimum of 6 GB. I recommend a minimum of 10 GB You can also check how much storage is available from Chromebook Settings > System preferences > Storage management.
It sounds like Linux is not connecting to the internet. To confirm the network is down on the Linux side, try pinging Google from the Terminal: ping www.google.com Ctrl-C to stop the ping If there is no internet on the Linux side, try restarting the network with the following command: sudo systemctl restart networking If the issue continues, 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: cd /etc mv resolv.conf resolv.bak nano resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 Ctrl-O, Enter, Ctrl-X to save the file and exit nano Reboot Linux
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & ------------------------- For your convenience, I have included the complete instructions: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
Dear Ruth @ruthake, thank you for Your fantastic video, its works perfect.. my question that i cant install or add TL-WN722 usb wifi adapter to use kali for wifi testing.. what can i do?
The Linux development environment does not have direct access to 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. For some situations, opening ports may be helpful. Ports can be opened from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
A system crash or an improper shut down in Linux can cause a range of issues. To fix this from the Terminal app, remove the .Xauthority file and reboot Linux: ls -a rm .Xauthority ls -a Shut down Linux. To shut down Linux properly (21:09): - Right click (2 finger click on the mousepad) the Terminal app in the bottom shelf - Select Shut down Linux - Close the Terminal app
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
There are a few possibilities: 1. Check to see if Linux is connected to the internet by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 -------------------------------------- 2. In /etc/apt/sources.list ensure the only line not commented out by a pound sign is: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free -------------------------------------- 3. Ensure the software index list is updated: sudo apt update -y -------------------------------------- For your convenience I have included the complete instructions from the pinned comment: =================================== KALI INSTALL INSTRUCTIONS: =================================== The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode Install fresh Debian Linux container (we will transform the Debian container into Kali): Chromebook Settings > About ChromeOS > Linux development environment Click the Set up Button Click the Next button Enter a Username Select Disk size (can be changed later) Click the Install button ----------------------------------- From the Terminal app that loads up after installing Linux: I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller. We are starting with Debian and will be converting it into Kali: cat /etc/os-release Install nano: sudo apt update -y sudo apt install nano -y Point the sources.list file to the Kali repository: sudo nano /etc/apt/sources.list Comment out all of the lines by prefixing them with a pound sign "#" Add the following line to the end of the file: deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update Linux: sudo apt update -y sudo apt full-upgrade -y We can now see we are running Kali: cat /etc/os-release Install software: sudo apt install kali-defaults -y sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite" Remove [trusted=yes] in the sources.list file: sudo nano /etc/apt/sources.list deb http.kali.org/kali kali-rolling main contrib non-free Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Update and continue installing software: sudo apt update -y sudo apt install synaptic -y sudo apt install xserver-xephyr -y Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"): sudo nano /usr/bin/gox Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u DISPLAY=:20 startxfce4 &> /dev/null & Ctrl-O, Enter, and Ctrl-X to save the file and exit nano. Make the gox script executable: sudo chmod +x /usr/bin/gox Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script: gox ----------------------------------- To PROPERLY shut down Linux: Right click the Terminal app. Select Shut down Linux. Close the Terminal app. =================================== FIXES & CONFIGURATIONS: =================================== Remove Logout button from top panel (Logout causes Linux to crash): Right click the Logout button from the top right Select Remove Click the Remove button Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash): Right click the Terminal Emulator near the top left Select Properties Select Root Terminal Emulator Click the - button Click the Remove button. ----------------------------------- The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...). The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop. Change the PulseAudio Volume Control launch Command to: env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol Games may require the full /usr/games file path. For example: env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble ----------------------------------- If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal: ping google.com Ctrl+C to stop the ping If there is no internet, execute the following: sudo systemctl restart networking If the issue continues, 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: cd /etc sudo mv resolv.conf resolv.bak 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 ----------------------------------- Depending on the tools being used it may be necessary to open ports from: Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding =================================== DOCUMENTATION & MORE INFO: =================================== The Firefox browser has lots of bookmarks that link to plenty of Kali documentation. Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely: Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!: Install: abs-guide File location: /usr/share/doc/abs-guide/html/index.html
support.google.com/chromeosflex/answer/11542901?hl=en : Supported VMs and apps Google Play and Android apps: ChromeOS Flex does not support Android apps or Google Play. Parallels Desktop: ChromeOS Flex does not support running Windows virtual machines (VMs) using Parallels Desktop. Linux development environment: Support for Linux development environment on ChromeOS Flex varies, depending on the specific model. I have not personally tested it. I have had users that commented saying that it worked. This will require a slight variation for shutting down. To shut down from the Terminal app: sudo killall Xephyr sudo rm /tmp/.X20-lock exit
The instructions for changing to Stable channel can be found under "Change channel": support.google.com/chromebook/answer/1086915?hl=en If you encounter issues changing the channel back, you can post a question here: support.google.com/chromebook/thread/new?hl=en
ChromeOS will be unaffected by this procedure. The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS: - Stable channel (if you don't know what that means, then you're good to go!) - No Rooting - No Powerwashing - No Developer Mode
am here: Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. And the charging respond like that: [======| ] Starting the Linux container Error starting crostini for terminal: 58 (ST Launching vmshell failed: Error starting crostini for terminal: 58 (START_CONTAINER_TIMED_OUT)
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update. I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46) Similar issues have been reported here: support.google.com/chromebook/thread/243436917/cannot-start-terminal?hl=en That's not a Linux issue, Linux never starts, it never gets past the virtual machine starting. This is a ChromeOS issue. You can post questions from here: support.google.com/chromebook/thread/new?hl=en
Linux is case sensitive so Xephyr has to start with a capital X. Here's the go script for quick reference with the example user id being ruth: Xephyr -br -fullscreen -resizeable :20 & sleep 3 sudo systemctl restart networking &> /dev/null & sleep 3 sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null & I try to include complete instructions for quick reference in the pinned comments for all my videos.
Hi Ruth, I keep getting this error. dpkg: error processing archive /var/cache/apt/archives/kali-themes_2024.4.11_all.deb (--unpack): trying to overwrite '/etc/gtk-2.0/gtkrc', which is also in package cros-ui-config 0.15 Errors were encountered while processing: /var/cache/apt/archives/kali-themes_2024.4.11_all.deb Error: Sub-process /usr/bin/dpkg returned an error code (1) I have tried : 1. sudo apt --fix-broken install 2. sudo dpkg --configure -a received this error: vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:04.0/virtio3/block/vda/uevent': Permission denied vdb: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:05.0/virtio4/block/vdb/uevent': Permission denied pmem0: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:06.0/virtio5/ndbus0/region0/namespace0.0/block/pmem0/uevent': Permission denied loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 3. I tried removing Linux, reinstalling (Chromebook) 4. Clearing cache 5. Removing kali-themes, reinstalling Love your videos! Thanks for all you do!!
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
===================================
FOR QUESTIONS:
===================================
Questions are welcome and encouraged. Due to the design of RUclips'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.
Extemely Thorough video, great job.
been struggling to install kali until i watched this video!! thank you so much!!
Another Highly informative video from a Stellar Speaker!!! Ruth is very knowledgeable about Linux installations on chrome books. Each video released shows that she knows what she is talking about!!!!
The best video of 2024 ever 🥰🥰🥰🥰🥰💗💗💗💗
Thank you for your hard work and time for all infos 👍
Ruth, excellent video!
Thanks so much for redoing the video since it stopped working a month ago
Yes 🙏🙏🙏!!!
I finally have Kali on my Chromebook !
Thank you
thats a beautiful brain you have thier keep up the good job
Yes i finally did it thanks 💜💜💜
When I try to boot up my desktop, it gives my this error: (EE)
Fatal server error:
(EE) Could not create server lock file: /tmp/.X20-lock
(EE)
The lock file can be manually removed. Then try starting the desktop again:
sudo rm /tmp/.X20-lock
gox
If this is a continuous issue, it may be caused by improperly shutting down Linux. To shut down Linux, right click the Terminal app in the bottom shelf, and select Shut down Linux (21:09).
I send my issue and real quickly answer it and fix it. thank you so much
Thank you, saved my life
i have a problem, when starting it stucks in "Starting the Linux Container" this is just a translation because i have chromeos in french
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update.
I would recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46).
When I open mozilla and i play a video there is no sound
To fix sound for Firefox, or any other app, prefix the launch command with "env XDG_RUNTIME_DIR=/run/user/1000" (19:03). To edit the launch command for Firefox:
Menu > Usual Applications > Internet > Right click Firefox > select Edit Application...
Change the Command to:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/lib/firefox-esr/firefox-esr %u
You may also need to edit the launch command for Firefox from the top Panel:
Right click Firefox from the top Panel > Properties > click the button with multiple lines
Change the Command to:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/lib/firefox-esr/firefox-esr %u
Thank you so much! You’re awesome
thank you very informative
So I’m stuck after I restart the Chromebook I click on google to open a window and then I click the terminal then it’s says:
[======\ ] starting the Linux container
An then it will say start up has timed out after about 30 mins of waiting
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update.
I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46).
thank god you made another one!!!!
Ok the problem I am getting is etc/apt/sources. list does exist there are no lines to # out. I tried to continue on with the rest of the commands but In the end it wont convert over to Kali. its still on debian gnc/linux
From the Terminal:
cd /etc
cd apt
ls
sudo nano sources.list
If the sources.list file does not exist, then you can create it:
sudo nano sources.list
Add the following line:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl+O, Enter, and Ctrl+X to save the file and exit nano.
Update, and then retry the full upgrade:
sudo apt update -y
sudo apt full-upgrade -y
--------------------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
can you use proper kali linux commands tho because thats the main reason i want kali on my chromebook.
In general, Linux commands will work. Not all network commands and utilities will work as expected. The Linux development environment does not have direct access to 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.
For some situations, opening ports may be helpful. Ports can be opened from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
When I open linux it is just a black blank and never loads fully im not sure if its just a computer speed thing but idk
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
-----------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
It says “could not download all repository indexes” when I try to download package information 17:05
The Chromebook needs to be connected to the internet. If the Chromebook is online then it is likely the connection dropped on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
how do i revert? i installed and it works fine but now my counter strike source isnt running correctly? i tried powerwashing twice.
Powerwashing is not necessary to remove Linux. Linux can be removed from Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button.
Chromebook questions can be directly posted to Google from here:
support.google.com/chromebook/thread/new?hl=en
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 some reason, the xfce wallpaper shows up (teal with a mouse). I checked the desktop settings and it doesnt show up there, only the kali desktops. When I try kali-undercover, it shows the same xcfe wallpaper and not the windows. Any idea on how to fix this?
It sounds like the wallpapers didn't install. From the terminal, try reinstalling kali-defaults:
sudo apt install kali-defaults -y
If that doesn't work, then you can try installing kali-wallpapers-2024 if it's not already installed.
---------------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
quick question how do you get debian back just incase i need to go back?
If you backed up Debian immediately after the initial setup. You can try to restore from a backup. Currently there is an issue with the Linux Backup & restore, this will likely be resolved soon. The backup and restore is available from:
Chromebook Settings > About ChromeOS > Linux development environment > Backup & restore
You can also remove Linux and reinstall Debian.
Wow thank u very much I finally got it
Thank you Sister 😊
I got to start up and put in gox but it says command not found can someone help me
To confirm the gox file is in the proper location, from the Terminal:
ls /usr/bin/go*
If the gox script is not listed, create it.
-----------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
Hi Nice tutorial, what do you mean by "put the chromebook online" ? I properly shut downed Linux and i restarted chrombook then same issue the container loading till Time failure.
1. If Linux is running:
- Right click the Terminal icon in the bottom shelf
- Select Shut down Linux
2. Shut down the Chromebook
3. Restart the Chromebook
4. Connect the Chromebook to the internet
5. Open the Terminal app
6. Select penguin
after restart I'm getting a error :Starting the Linux container Error starting crostini for terminal: 58
Launching vmshell failed: Error starting crostini for terminal: 58 (START_CONTAINER_TIMED_OUT). can you help me?
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update.
I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46)
Similar issues have been reported here:
support.google.com/chromebook/thread/243436917/cannot-start-terminal?hl=en
That's not a Linux issue, Linux never starts, it never gets past the virtual machine starting. This is a ChromeOS issue. You can post questions from here:
support.google.com/chromebook/thread/new?hl=en
---------------------------
For my own information, please tell me what make and model you are using.
Problem with:
Sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Error: unable to correct problems, you have held broken packages.
Generally, apt will provide the fix command necessary to fix broken packages. If it did not provide a command, you can try the following:
sudo dpkg --configure -a
sudo apt --fix-broken install
Then retry the install:
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
If that fails to resolve the issue, this page may be helpful:
itsfoss.com/held-broken-packages-error/
uhh i have a problem, when i tried the command "gox" on linux and when Xephyr opens up it still shows a black screen for so long, can you help?
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
-----------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
@@ruthakeoh it worked, thanks!
your explanations are the most extensive and dot for dot like on the internet/ a dumb potato would be able to install kalilinux and become a GOV menacing hacker by watching your videos/ You are a doll lovely as a strawberry in the middle of the summer ! daaaamn!
when i put gox or similar its saying permission denied
It sounds like the script doesn't have execute permissions. I recommend the following command, from a terminal:
sudo chmod +x /usr/bin/gox
--------------------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
I got command not found I’m on time stamp 13:04
Confirm that the gox file exists from the Terminal:
which gox
cat /usr/bin/gox
If there is no output, then create the gox file.
-------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
When I do the sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
I get an error that says Error: Sub-process something something, and then it says "are you root?".
Any idea on how to solve this???
It sounds like sudo is not being executed. Here is an article on the topic:
itsfoss.com/fixed-are-you-root-error/
From the Terminal please execute "history" and copy and paste the result here.
----------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
Can I delete it through terminal and reinstall it again?
If yes, show me.
It can be done from the termina command line (This can be done from the ChromeOS Chrome browser (chrome-untrusted://crosh) or from the crosh terminal (Alt+Ctrl+T)):
vmc start termina
lxc list
lxc delete penguin
lxc list
exit
vmc stop termina
From the crosh terminal, execute "exit". For the ChromeOS Chrome browser, just close it.
Generally, I recommend removing Linux from Chromebook settings > About ChromeOS > Linux development environment > click the Remove button
--------------------------
Currently the backup and restore system from Chromebook Settings > About ChromeOS > Linux development environment > Backup & restore is broken.
If you are able to backup the Linux container after a fresh install, restoring from that backup will have the same affect as removing and reinstalling Linux. This will save a lot of downloading.
@@ruthake It worked. Thanks!!
Hi, thanks for the tutorial. But i have a problem when booting up the virtual machine. I type gox and it says "permission denied" what have i done wrong ? thanks
It sounds like the script doesn't have execute permissions. I recommend the following command, from a terminal:
sudo chmod +x /usr/bin/gox
gox
So now my problem is that once I input gox the screen just stays black and nothing loads. Where did I go wrong?
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
-----------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
It says that the command is not found
Please provide the command you executed.
I have a question after I’ve successfully installed Linux I’m trying to connect my iPhone to the virtual machine but I can’t can you tell me any method to add my device to kali Linux virtual machine it only connected to Chromebook
I believe this is what you're looking for:
chromeunboxed.com/how-to-find-your-chromebooks-ip-and-mac-address/
stackoverflow.com/questions/72630563/how-to-give-a-linux-container-on-chromeos-an-outside-accesible-ip
On one of my chromebooks this worked. On my dell 5190 2 in 1 it just sits on the "[======/ ] Starting the Linux container" screen and doesn't load for me to execute gox
Then it goes "launching vmshell failed: error starting crostini for terminal: 58 (START_CONTAINER_TIMED_OUT)
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update.
I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46)
@@ruthake Yeah I've read this reply elsewhere and already tried that unfortunately it does not work. There are no pending updates, Removed Linux and re set it up and re went through the whole process. Still stuck on starting the Linux container. The connection is good the entire time.
Similar issues have been reported here:
support.google.com/chromebook/thread/243436917/cannot-start-terminal?hl=en
That's not a Linux issue, Linux never starts, it never gets past the virtual machine starting. This is a ChromeOS issue. You can post questions from here:
support.google.com/chromebook/thread/new?hl=en
@@KCMOBankFishing I have this same exact issue, did you ever find a solution to it?
Hello! After starting the gox script all i see is a black screen when it boots up KaliLinux Desktop, any help?
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
-----------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
@@ruthake thank you, i got it now! Great video and help :) subbed
I have a problem when completing commands and restarting Chromebook. I enter the terminal and run it. After a while, I get this message: Launching vishell failed: Error starting crostini for terminal: 58 (START CONTAINER TIMED_OUT)
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update.
I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46)
Similar issues have been reported here:
support.google.com/chromebook/thread/243436917/cannot-start-terminal?hl=en
That's not a Linux issue, Linux never starts, it never gets past the virtual machine starting. This is a ChromeOS issue. You can post questions from here:
support.google.com/chromebook/thread/new?hl=en
---------------------------
For my own information, please tell me what make and model you are using.
When i retype the resizeable command to set it up the right way it says xephyr cannot open host display is display set?
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
---------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
Error appeared when I ran “sudo apt install Kali-desktop-xfce -y -o dpkg: …….” command. The message was “ Error: Option dpkg: : Configuration item specification must have an =.
Based on the error, it appears that the command that was executed is missing the equal sign. All the commands used in this video are in the pinned comment for convenience.
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
All went well until I tried opening (right click) or 2 finger tap the volume control or the games....
Nothing is opening
If you are having an issue doing a 2 finger click, try holding Alt and then do a single click on the mousepad.
Here's a Google reference for using the Chromebook touchpad:
support.google.com/chromebook/answer/1047367?hl=en
Hey, If i have apps installed with debian linux will they be deleted?
I recommend starting the Kali install with a fresh container install which means you would have to reinstall your apps. In general, most apps that will run on Kali will run on Debian and vice versa.
When I type gox on terminal , it just pop up a black screen any fix?
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
-------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
hi now my linux dont work dont allow me to text or do anything
If the terminal is working:
When installing software, if the install results in an error, it will often include a command that can fix the error. For example, when I installed Kali on my new Acer Chromebook, I executed the "sudo apt full-upgrade -y" command. The install failed and told me to execute "sudo apt --fix-broken install". After running the fix, it's important to re-execute the install command again.
----------------------------
If the terminal is working and you are able to run gox and are receiving a black screen, and the above does not resolve the issue. It may be an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
----------------------------
If the terminal is not working:
I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script.
----------------------------
If Linux is not able to start up, then you may need to remove and reinstall Linux. Linux can be removed from Chromebook settings > About ChromeOS > Linux development environment > click the Remove button
----------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
When I try to download Linux it’s says error something about storage and I have no files or anything can you help?
You may want to try emptying the Trash from the Files app > Trash > Click on the Empty trash now button.
The Kali Linux install will need a minimum of 6 GB. I recommend a minimum of 10 GB
You can also check how much storage is available from Chromebook Settings > System preferences > Storage management.
Hi i am having a problem with sudden apt update it says cant get main binary packages. What would this be ??
It sounds like Linux is not connecting to the internet. To confirm the network is down on the Linux side, try pinging Google from the Terminal:
ping www.google.com
Ctrl-C to stop the ping
If there is no internet on the Linux side, try restarting the network with the following command:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
mv resolv.conf resolv.bak
nano resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
Ctrl-O, Enter, Ctrl-X to save the file and exit nano
Reboot Linux
tolong bantu saya saya sudah mengikuti langkah demi langkah dengan benar tetapi mengapa saat saya menjalankanya menjadi blackscreen
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
-------------------------
For your convenience, I have included the complete instructions:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
Dear Ruth @ruthake, thank you for Your fantastic video, its works perfect.. my question that i cant install or add TL-WN722 usb wifi adapter to use kali for wifi testing.. what can i do?
The Linux development environment does not have direct access to 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.
For some situations, opening ports may be helpful. Ports can be opened from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
It didnt work i did everything you said and it has a black screen and is unresponsive is there a way to fix it ?
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
how do you uninstall Kali?
Linux can be removed completely from:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
@@ruthake Thanks a lot
I'm getting an error I typed in gox and returned with "Invalid MIT-MAGIC-COOKIE-1 key Zephyr cannot open host display. Is DISPLAY set?
A system crash or an improper shut down in Linux can cause a range of issues. To fix this from the Terminal app, remove the .Xauthority file and reboot Linux:
ls -a
rm .Xauthority
ls -a
Shut down Linux.
To shut down Linux properly (21:09):
- Right click (2 finger click on the mousepad) the Terminal app in the bottom shelf
- Select Shut down Linux
- Close the Terminal app
i'm stuck.after running gox black screen load but never run straight from it, I have Asus Chromebook cx5501fea model
It is likely an issue with the go script. Please copy and paste your go script (11:50). Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
@@ruthake its working thank you so much for the help.
unable to locate package Kali defaults
There are a few possibilities:
1. Check to see if Linux is connected to the internet by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
--------------------------------------
2. In /etc/apt/sources.list ensure the only line not commented out by a pound sign is:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
--------------------------------------
3. Ensure the software index list is updated:
sudo apt update -y
--------------------------------------
For your convenience I have included the complete instructions from the pinned comment:
===================================
KALI INSTALL INSTRUCTIONS:
===================================
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
Install fresh Debian Linux container (we will transform the Debian container into Kali):
Chromebook Settings > About ChromeOS > Linux development environment
Click the Set up Button
Click the Next button
Enter a Username
Select Disk size (can be changed later)
Click the Install button
-----------------------------------
From the Terminal app that loads up after installing Linux:
I recommend pinning the Terminal app to the bottom shelf by right clicking the Terminal app (right click = 2 finger click on the mousepad), and select Pin. To temporarily adjust the text size in the terminal, Ctrl++ makes the text bigger, and Ctrl+- makes the text smaller.
We are starting with Debian and will be converting it into Kali:
cat /etc/os-release
Install nano:
sudo apt update -y
sudo apt install nano -y
Point the sources.list file to the Kali repository:
sudo nano /etc/apt/sources.list
Comment out all of the lines by prefixing them with a pound sign "#"
Add the following line to the end of the file:
deb [trusted=yes] http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update Linux:
sudo apt update -y
sudo apt full-upgrade -y
We can now see we are running Kali:
cat /etc/os-release
Install software:
sudo apt install kali-defaults -y
sudo apt install kali-desktop-xfce -y -o dpkg::options::="--force-overwrite"
Remove [trusted=yes] in the sources.list file:
sudo nano /etc/apt/sources.list
deb http.kali.org/kali kali-rolling main contrib non-free
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Update and continue installing software:
sudo apt update -y
sudo apt install synaptic -y
sudo apt install xserver-xephyr -y
Create gox script (resizeable is spelled wrong with an extra "e" in the middle. The command prompt displays the before the "@penguin"):
sudo nano /usr/bin/gox
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u DISPLAY=:20 startxfce4 &> /dev/null &
Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
Make the gox script executable:
sudo chmod +x /usr/bin/gox
Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin. Then execute the gox script:
gox
-----------------------------------
To PROPERLY shut down Linux:
Right click the Terminal app.
Select Shut down Linux.
Close the Terminal app.
===================================
FIXES & CONFIGURATIONS:
===================================
Remove Logout button from top panel (Logout causes Linux to crash):
Right click the Logout button from the top right
Select Remove
Click the Remove button
Remove the Root Terminal Emulator from the top panel (Root terminal causes Linux to crash):
Right click the Terminal Emulator near the top left
Select Properties
Select Root Terminal Emulator
Click the - button
Click the Remove button.
-----------------------------------
The taskbar volume control is broken, I recommend fixing the PulseAudio Volume Control launch command and then replace the taskbar volume control with PulseAudio Volume Control (Menu > Usual Applications > Multimedia > right click PulseAudio Volume Control > select Edit Application...).
The XDG prefix enables the program to find the sound server. The GDK prefix keeps the program on the desktop.
Change the PulseAudio Volume Control launch Command to:
env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11 pavucontrol
Games may require the full /usr/games file path. For example:
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/powermanga
env XDG_RUNTIME_DIR=/run/user/1000 /usr/games/frozen-bubble
-----------------------------------
If the internet connection drops on the Linux side, confirm the network is down by pinging Google from a terminal:
ping google.com
Ctrl+C to stop the ping
If there is no internet, execute the following:
sudo systemctl restart networking
If the issue continues, 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:
cd /etc
sudo mv resolv.conf resolv.bak
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
-----------------------------------
Depending on the tools being used it may be necessary to open ports from:
Chromebook Settings > About ChromeOS > Linux development environment > Port forwarding
===================================
DOCUMENTATION & MORE INFO:
===================================
The Firefox browser has lots of bookmarks that link to plenty of Kali documentation.
Kali has rolling updates (www.kali.org/releases/ ) which has the potential to break Kali. If Kali breaks, then the best solution may be to reinstall Kali. To remove Linux completely:
Chromebook Settings > About ChromeOS > Linux development environment > click the Remove button
Advanced BASH-Scripting Book. It's a beginner friendly book that, "assumes no previous knowledge of scripting or programming." This is great for learning the Kali Linux command line and scripting!:
Install: abs-guide
File location: /usr/share/doc/abs-guide/html/index.html
can it also work in chrome os flex
support.google.com/chromeosflex/answer/11542901?hl=en :
Supported VMs and apps
Google Play and Android apps: ChromeOS Flex does not support Android apps or Google Play.
Parallels Desktop: ChromeOS Flex does not support running Windows virtual machines (VMs) using Parallels Desktop.
Linux development environment: Support for Linux development environment on ChromeOS Flex varies, depending on the specific model.
I have not personally tested it. I have had users that commented saying that it worked. This will require a slight variation for shutting down. To shut down from the Terminal app:
sudo killall Xephyr
sudo rm /tmp/.X20-lock
exit
my is at beta channel and wont change back can I use the beta channel
The instructions for changing to Stable channel can be found under "Change channel":
support.google.com/chromebook/answer/1086915?hl=en
If you encounter issues changing the channel back, you can post a question here:
support.google.com/chromebook/thread/new?hl=en
Good sister I love you videos ❤❤❤😂🎉🎉🎉🎉🎉🎉❤❤🎉🎉🎉🎉🎉❤❤❤❤
does it take away your chromeos
ChromeOS will be unaffected by this procedure.
The procedure in this video uses the built-in Linux feature on a Chromebook. So we are using the Chromebook AS IS:
- Stable channel (if you don't know what that means, then you're good to go!)
- No Rooting
- No Powerwashing
- No Developer Mode
It reads no such gile or directory
Please provide me with the command you were trying to run.
am here: Shut down Linux (right click the Terminal app, 2 finger click on the mousepad, and select Shut down Linux), shut down the Chromebook, restart the Chromebook, open the Terminal app and select penguin.
And the charging respond like that: [======| ] Starting the Linux container Error starting crostini for terminal: 58 (ST
Launching vmshell failed: Error starting crostini for terminal: 58 (START_CONTAINER_TIMED_OUT)
Often when ChromeOS updates, Linux will receive an update as well. It's a good practice to put the Chromebook online when starting up Linux after a ChromeOS update.
I recommend shutting down Linux, shutting down the Chromebook, restart the Chromebook, put the Chromebook online, start up Linux again, and try executing the gox script (21:46)
Similar issues have been reported here:
support.google.com/chromebook/thread/243436917/cannot-start-terminal?hl=en
That's not a Linux issue, Linux never starts, it never gets past the virtual machine starting. This is a ChromeOS issue. You can post questions from here:
support.google.com/chromebook/thread/new?hl=en
Nice
❤❤❤❤🎉🎉🎉🎉
🙏🙏🙏👌👌👌
Huu Huu :D
hi sweetheart please help me gox is working saying /usr/bin/gox: line 1: xephyr: command not found
Linux is case sensitive so Xephyr has to start with a capital X. Here's the go script for quick reference with the example user id being ruth:
Xephyr -br -fullscreen -resizeable :20 &
sleep 3
sudo systemctl restart networking &> /dev/null &
sleep 3
sudo -u ruth DISPLAY=:20 startxfce4 &> /dev/null &
I try to include complete instructions for quick reference in the pinned comments for all my videos.
@@ruthake thank you
Hi Ruth, I keep getting this error. dpkg: error processing archive /var/cache/apt/archives/kali-themes_2024.4.11_all.deb (--unpack):
trying to overwrite '/etc/gtk-2.0/gtkrc', which is also in package cros-ui-config 0.15
Errors were encountered while processing:
/var/cache/apt/archives/kali-themes_2024.4.11_all.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried :
1. sudo apt --fix-broken install
2. sudo dpkg --configure -a
received this error:
vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:04.0/virtio3/block/vda/uevent': Permission denied
vdb: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:05.0/virtio4/block/vdb/uevent': Permission denied
pmem0: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:06.0/virtio5/ndbus0/region0/namespace0.0/block/pmem0/uevent': Permission denied
loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied
loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied
loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied
loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied
loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied
loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied
loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied
loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied
3. I tried removing Linux, reinstalling (Chromebook)
4. Clearing cache
5. Removing kali-themes, reinstalling
Love your videos!
Thanks for all you do!!
It appears you are using the method from the old video. Please start with a fresh container using the procedure in this video.