How To Install And Get A Linux Desktop On A Chromebook! (No Rooting!)

Поделиться
HTML-код
  • Опубликовано: 27 июн 2024
  • #technology #tech #how #linux #chromebook #computer #howto #tutorial #debian #debian12 #lxde #linuxdesktop
    This video covers how to install and get a Linux desktop running on a Chromebook WITHOUT rooting with about 12 commands. If you have not already installed Linux on a Chromebook, then I recommend watching my "Install Linux On A Chromebook (No Rooting!)" video first, and then come back to this video.
    Install Linux On A Chromebook (No Rooting!): • Install Linux On A Chr...
    Linux On A Chromebook Without Rooting! Playlist: • Linux On A Chromebook ...
    The Chromebook Guide to Google Linux (Companion Book): www.amazon.com/Chromebook-Gui...
    ISBN: 9798852219312
    More Information/Documentation:
    Debian Website: www.debian.org/
    Debian Handbook: debian-handbook.info/browse/s...
    LXDE Website: www.lxde.org/
    Chrome/ChromeOS Documenation: www.chromium.org/chromium-pro...
    Chapters:
    0:00 Intro
    0:53 Update Debian
    1:40 Install Software
    2:40 Disable LightDM
    3:11 Create Go Script
    5:19 Startup The Desktop
    6:21 Proper Shut Down & Startup
    6:52 Terminal/Desktop Startup General Fix
    7:28 LightDM Greeter Solution
    8:06 More Info
    8:58 Companion Book
    9:06 Outro
    Enjoy the desktop!
    ____________________________________
    Find Me On:
    Play Store: play.google.com/store/apps/de...
  • НаукаНаука

Комментарии • 111

  • @ruthake
    @ruthake  4 месяца назад +5

    UPDATE 02/12/2024 - Adjusting the ChromeOS resolution will no longer dynamically update the Debian desktop resolution. Once the ChromeOS resolution is adjusted, shut down and then restart Linux.
    If you have not already installed Linux, I recommend watching my Install Linux On A Chromebook (No Rooting!) video:
    ruclips.net/video/4bKeaVw_eqc/видео.html
    Complete install instructions:
    From the Terminal app:
    sudo apt update -y
    sudo apt dist-upgrade -y
    sudo apt install task-lxde-desktop -y
    sudo apt install xserver-xephyr -y
    sudo apt install nano -y
    sudo systemctl disable lightdm
    sudo nano /usr/bin/gol
    Xephyr -br -fullscreen -resizeable :20 &
    sleep 5
    DISPLAY=:20 startlxde &
    Ctrl-O, Enter, and Ctrl-X to save the file and exit nano
    sudo chmod +x /usr/bin/gol
    gol
    Shut down Linux:
    Right click (2 finger click on Chromebook mousepad) Terminal app > select Shut down Linux > close Terminal app
    Startup the desktop:
    Open Terminal app > select penguin > gol
    Most Linux issues are caused by ChromeOS updates, the following procedure generally fixes those issues:
    Right click Terminal app > select Shut down Linux > close Terminal app
    Shut down the Chromebook
    Start the Chromebook back up
    Put the Chromebook online
    Open the Terminal app > select penguin
    Wait a few moments for the terminal to start up (shouldn't take more then 10 minutes, generally this takes less time, long start up times are usually due to updates)
    Execute gol script
    LightDM greeter issue (login screen). The LightDM greeter clashes with the ChromeOS container design. Because of that, a login window pops up that we can't interact with and if we try to close out of it, it closes the terminal session as well.
    WITHOUT closing the LightDM greeter, from the Terminal:
    sudo systemctl disable lightdm
    Reboot Linux, there should no longer be a password window.
    More Information/Documentation:
    Debian Website: www.debian.org/
    Debian Handbook: debian-handbook.info/browse/stable/
    LXDE Website: www.lxde.org/
    Chrome/ChromeOS Documenation: www.chromium.org/chromium-projects/
    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.

  • @brainbrian4495
    @brainbrian4495 4 месяца назад +4

    Ruth, your vids are great, you do have a very good style to present this Linux stuff. Highly appreciated!

  • @richardbernhard5731
    @richardbernhard5731 4 месяца назад +1

    Another visually appealing video full of information, great job!!!!

  • @user-tx3fl8dq1t
    @user-tx3fl8dq1t 19 дней назад

    It worked thank you so much cause at first I watched one of your older videos but it did not work but after watching this new up to date version it worked

  • @dapplerose
    @dapplerose 18 дней назад +1

    Excellent guide, very clear.

  • @4ndrwm
    @4ndrwm 4 месяца назад

    Excellent work! 🎉

  • @user-hb7ls2rj8s
    @user-hb7ls2rj8s 4 месяца назад +1

    Thank you Ruth!

  • @alfredpayne1762
    @alfredpayne1762 3 месяца назад

    awesome! thanks for sharing

  • @AhmetAgrbas-wm6xo
    @AhmetAgrbas-wm6xo 2 месяца назад +1

    Wonderful explaining. Thank you. How i change screen resolution? icons and fonts are looks very small.

    • @ruthake
      @ruthake  2 месяца назад +1

      Before starting up the desktop the screen resolution can be lowered to make everything bigger:
      Chromebook Settings > Device > Displays > Display size.
      Start up the desktop from the terminal.
      Fonts can be adjusted inside the desktop from multiple places:
      To adjust the majority of the fonts:
      Menu > Preferences > Customize Look and Feel
      Fonts can be generally be set under the Widget tab and Window Border subtabs.
      Click Apply button to apply font changes.
      To adjust the desktop font:
      Right click desktop background > select Desktop Preferences > go to the Appearance tab
      Font can be adjusted under the Text section.
      To adjust the bottom taskbar font:
      Right click the taskbar > select Panel Settings > go to the Appearance tab
      Font can be adjusted under the Font section.
      You can also adjust the size of the desktop icons:
      Menu > System Tools > File Manager PCManFM
      View menu > select Zoom In or Zoom Out
      I have a video that covers adjusting the Display size, fonts, and icon sizes:
      ruclips.net/video/7fqpNJl3aDc/видео.html
      -------------------------
      Here's a method for enlarging the entire desktop, this has been an ongoing area of research. We've tried hundreds of combinations, don't hesitate to experiment. 0.5 doubles the screen size, 2 is half size, decimals can be used (ex. --scale=0.671):
      sommelier -X --scale=0.5 Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Reboot Linux and startup the desktop again for the scale to take affect.
      For reference this is the unmodified version of the go script:
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      For a sommelier quick reference from a terminal:
      sommelier --help
      Sommelier Documentation:
      chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools/sommelier/
      I have a video that goes into detail on Sommelier:
      ruclips.net/video/2Rpnudnjc1g/видео.html

  • @milouaristos3568
    @milouaristos3568 4 месяца назад +1

    Hi, thanks. It works great but I can't change the monitor resolution! Can you help me?

    • @ruthake
      @ruthake  4 месяца назад +3

      Before starting up the desktop the screen resolution can be lowered to make everything bigger:
      Chromebook Settings > Device > Displays > Display size.
      Start up the desktop from the terminal.
      Fonts can be adjusted inside the desktop from multiple places:
      To adjust the majority of the fonts:
      Menu > Preferences > Customize Look and Feel
      Fonts can be generally be set under the Widget tab and Window Border subtabs.
      Click Apply button to apply font changes.
      To adjust the desktop font:
      Right click desktop background > select Desktop Preferences > go to the Appearance tab
      Font can be adjusted under the Text section.
      To adjust the bottom taskbar font:
      Right click the taskbar > select Panel Settings > go to the Appearance tab
      Font can be adjusted under the Font section.
      You can also adjust the size of the desktop icons:
      Menu > System Tools > File Manager PCManFM
      View menu > select Zoom In or Zoom Out
      I have a video that covers adjusting the Display size, fonts, and icon sizes:
      ruclips.net/video/HRq_uxDMDWg/видео.html

  • @chuckr1951
    @chuckr1951 Месяц назад +1

    In terms of security on a EAU Chromebook: Would running a browser inside the container be more, less, or the same? I'm especially interested because I bank on line. Wonderful video, works great, thanks.

    • @ruthake
      @ruthake  Месяц назад

      I'm not a security specialist, that is beyond the scope of my channel.
      Here's a few links you may be interested in:
      Article about Apple:
      www.apple.com/customer-letter/
      Naomi Brockwell TV Channel:
      www.youtube.com/@naomibrockwelltv
      SecurityFWD Channel (Current):
      www.youtube.com/@SecurityFWD
      Nullbyte Channel (Original):
      www.youtube.com/@NullByteWHT
      What happened to Nullbyte?:
      ruclips.net/video/5MsTm-v0ykQ/видео.html
      Privacy Linux Distro:
      tails.net/

  • @gigahashes
    @gigahashes 4 месяца назад

    Great guide! I got an error "Xephyr cannot open host display. Is DISPLAY set?" Any tips?

    • @gigahashes
      @gigahashes 4 месяца назад

      never mind. it doesn’t show up anymore

  • @brycejardinemusic
    @brycejardinemusic 4 месяца назад

    hello @ruthake I followed all the steps which I appreciated greatly but am getting a black screen after starting up lxde that says DISPLAY:command not found. Any idea how to fix? I've rebooted the machine after shutting down server but the problem persists

  • @DaggerfallHash
    @DaggerfallHash 18 дней назад

    ruth you are very smart ngl

  • @EmmanuelArijo
    @EmmanuelArijo Месяц назад

    new here and really work buh, can I install wine application on it

    • @ruthake
      @ruthake  Месяц назад

      I have not experimented with Wine. Here is an article that covers Wine on Chromebooks:
      alvarotrigo.com/blog/wine-chromebook/
      You may also be interested in:
      chromeunboxed.com/run-a-variety-of-virtual-machines-on-your-chromebook-with-gnome-boxes/

  • @kc0lze
    @kc0lze 15 дней назад

    Can, the linux apps loaded previously still work with systemdctl disabled? I am talking about after enabling Linix container, we can load linux apps to use on the chromebook just like any other app.

    • @ruthake
      @ruthake  13 дней назад

      Theoretically yes, I would not recommend that. systemd is the init and automation system. Disabling systemd may result in unintended consequences.
      Linux apps can be run without the desktop directly from the Terminal app. To ease the process of running apps from the command line, launch scripts can be created which we often refer to as go scripts. This is useful for starting and stopping supporting programs and setting configurations.
      For example, if you're using Sommelier to launch an app (scale will vary. The larger the number the smaller the image, and the smaller the number, the bigger the image. 0.5 is double, and 2 is half.):
      sommelier -X --scale=1.2 --glamor --frame-color=#000000 supertuxkart
      Sommelier video:
      ruclips.net/video/2Rpnudnjc1g/видео.html

  • @gigioh981
    @gigioh981 2 месяца назад

    really awesome video! I wonder if it'll work on my arm chromeOS device (it's a lenovo duet with a mediatek hardware) :P probably all the Debian packages are amd64

    • @ruthake
      @ruthake  2 месяца назад +1

      I also have a Lenovo Duet, I love my portable 8 core monster! Linux runs without any issues.

    • @gigioh981
      @gigioh981 2 месяца назад

      @@ruthake hooooly, it worked 🤣🤣♥ I had so much fun. And I wanted to try plasma and plasma mobile (but startkde doesn't work, so it's "XDG_SESSION_TYPE=wayland dbus-run-session startplasma-x11 (or startplasmamobile)", it worked amazing beside the mouse/touchpad not being detected 😂♥ I think I can just try to modify the gol script too. Buuut I'll also try the Lxde, probably will work even better XD

    • @ruthake
      @ruthake  2 месяца назад +1

      Some Desktops can peacefully coexist and even run at the same time, use a different DISPLAY id if you intend to run them at the same time.
      The following desktops were tested with Debian 12:
      XFCE Desktop:
      Install: task-xfce-desktop
      Create the file: /usr/bin/gox
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      sudo -u DISPLAY=:40 startxfce4 &
      The following desktops were tested with Debian 11:
      KDE Desktop:
      Install: task-kde-desktop
      Create the file: /usr/bin/gok
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 startplasma-x11 &
      GNOME Desktop:
      Install: task-gnome-desktop, mutter
      In the script below, the ChromeOS display size is 1518x853. 33 has been subtracted from the height to compensate for the top bar. You may have to experiment with the height. The display size can be found in Chromebook Settings > Device > Displays > Display size.
      Create the file: /usr/bin/gog
      export MUTTER_DEBUG_DUMMY_MODE_SPECS=1518x820
      sleep 5
      gnome-shell --nested --wayland &> /dev/null &
      IceWM Desktop:
      Install: icewm
      Create the file: /usr/bin/goice
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 icewm-session &
      Menu → Settings → Themes → NanoBlue
      TWM Desktop:
      Install: twm, suckless-tools, nitrogen
      Create the file: /usr/bin/got
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 twm &> /dev/null &
      DISPLAY=:40 nitrogen --restore &> /dev/null &
      Create the run command file TWMRC for TWM configuration: ~/.twmrc
      ShowIconManager
      IconifyByUnmapping
      Button3 = : root : ! “dmenu_run -fn ‘Mono-20’ &> /dev/null &”
      Mouse is invisible until first app opens. Right click the desktop to run Dmenu.
      Run Nitrogen first to setup the wallpaper.
      To shut down TWM, do killall Xephyr in Chromebook Terminal and then do a regular Linux shutdown

    • @gigioh981
      @gigioh981 2 месяца назад

      @@ruthake My, you're an angel, this is great material. I'll "play" with these asap :D

  • @poomanhighlights
    @poomanhighlights 8 дней назад +1

    Would this work if i installed it on Debian running on WSL2 (WIndows Subsystem for Linux version 2) rather than on a chromebook? My laptop natively runs windows, but WSL2 lets linux run almost like it is installed directly on the hardware, I already run Win-Kex on kali linux, but want to test debian so i can write scripts for my sister to use on her own, however having a GUI rather than CLI will make this easier.

    • @ruthake
      @ruthake  7 дней назад

      I do not have any experience with WSL. I would recommend installing Linux on an SD card (running Linux from an SD card connected by a USB adapter), this would allow you to run full blown Debian Linux without interfering with Windows.
      Theoretically, Xephyr should allow you to run a desktop. Here's a Debian Wiki page on WSL:
      wiki.debian.org/InstallingDebianOn/Microsoft/Windows/SubsystemForLinux

  • @ThomasShelby-sm3yu
    @ThomasShelby-sm3yu 2 месяца назад +1

    I get a warning and it says “is display set cannot open display :20 any suggestions on what should be done next. Plz and thank you

    • @ruthake
      @ruthake  2 месяца назад +1

      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 gol script (6:52).
      If that doesn't work, it's likely an issue with the go script. For your convenience I've included the complete install instructions. If you continue to have an issue, please copy and paste your go script (4:38):
      Here's the full list of install commands:
      From Terminal app:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install task-lxde-desktop -y
      sudo apt install xserver-xephyr -y
      sudo apt install nano -y
      sudo systemctl disable lightdm
      sudo nano /usr/bin/gol
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl-O, Enter, Ctrl-X
      sudo chmod +x /usr/bin/gol
      gol

  • @user-br4iu
    @user-br4iu 6 дней назад

    some apps open outside Xephyr, for example lxterminal, firefox for example does launch inside Xephyr, anyone knows why?

    • @ruthake
      @ruthake  6 дней назад

      Here's a video that covers running apps inside the desktop (it's not always possible to run an app inside the desktop, it depends on how the program is coded):
      ruclips.net/video/duwJHojF1kc/видео.html
      Here's a video that covers running apps outside the desktop with sommelier:
      ruclips.net/video/2Rpnudnjc1g/видео.html

    • @user-br4iu
      @user-br4iu 5 дней назад

      @@ruthake that worked, thank you

  • @theofficialnoah1668
    @theofficialnoah1668 Месяц назад

    also this works but the taskbar is in the middle if the screen

    • @ruthake
      @ruthake  Месяц назад

      It sounds like there is an issue with the go script. Please copy and paste your go script (4:37). Here's a copy of the complete go script:
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      ----------------------------
      For your convenience here's the full list of install commands:
      From Terminal app:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install task-lxde-desktop -y
      sudo apt install xserver-xephyr -y
      sudo apt install nano -y
      sudo systemctl disable lightdm
      sudo nano /usr/bin/gol
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl-O, Enter, Ctrl-X
      sudo chmod +x /usr/bin/gol
      gol

  • @victormotajr.1313
    @victormotajr.1313 25 дней назад

    Greetings Ruth,
    I hope this message finds you well. I executed the steps correctly. Was able to Linux desktop running and working great. Couple days later I go to open desktop and screen is black, I did see the pop up error message but no graphics. Any suggestions??

    • @ruthake
      @ruthake  24 дня назад

      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 gol script (6:52).
      --------------------------
      It could also be the lock file. Try removing the lock file and then try starting the desktop again:
      sudo rm /tmp/.X20-lock
      gol
      --------------------------
      If possible, it would be helpful to have the error message, I know sometimes they can disappear before having a chance to read them. If the message is disappearing before you have a chance to read it, it may help to screen record it from the ChromeOS side.

    • @victormotajr.1313
      @victormotajr.1313 24 дня назад

      @ruthake hello Ruth, thanks for responding. Yes I did shutdown and chromebook about 4-5 times and that didn't work. I tried to followed the steps again but no luck. Can I uninstall the desktop and reinstall it?

    • @ruthake
      @ruthake  23 дня назад

      After trying to start the desktop, return to the ChromeOS Terminal app for Linux. From there, try to launch galculator:
      galculator
      Tell me what you see.

    • @victormotajr.1313
      @victormotajr.1313 22 дня назад

      @@ruthake I see a calculator

    • @ruthake
      @ruthake  21 день назад

      It sounds like it could possibly be a bad update, this is difficult to troubleshoot without an error message. Please try the following from the ChromeOS Terminal app for Linux:
      sudo systemctl disable lightdm
      Reboot Linux.
      gol
      If the desktop doesn't start, please create this /usr/bin/gol2 script:
      sudo nano /usr/bin/gol2
      sudo killall Xephyr
      sudo rm /tmp/.X20-lock
      sleep 3
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl+O, Enter, and Ctrl+X to save the file and exit nano.
      sudo chmod +x /usr/bin/gol2
      gol2
      If the gol2 script doesn't work, then there are 3 desktops (IceWM, TWM, and I3wm) that can be installed without causing issues with LXDE. Let's try IceWM (it's lightweight and takes about 1 min to install. I strongly recommend changing the theme to NanoBlue.):
      sudo apt install icewm -y
      sudo nano /usr/bin/goice
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 icewm-session &
      Ctrl+O, Enter, and Ctrl+X to save the file and exit nano.
      sudo chmod +x /usr/bin/goice
      goice
      Menu > Settings > Themes > NanoBlue
      If that doesn't work, please copy and paste the gol script for LXDE.
      --------------------------
      For your convenience, here's the full list of install commands. From Terminal app:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install task-lxde-desktop -y
      sudo apt install xserver-xephyr -y
      sudo apt install nano -y
      sudo systemctl disable lightdm
      sudo nano /usr/bin/gol
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl-O, Enter, Ctrl-X
      sudo chmod +x /usr/bin/gol
      gol

  • @DarthLungs
    @DarthLungs 4 месяца назад

    Do one with openbox please

    • @ruthake
      @ruthake  4 месяца назад +1

      LXDE uses Openbox as the window manager:
      openbox.org/wiki/LXDE
      Here's an example on installing and configuring Openbox:
      www.maketecheasier.com/configure-andcustomize-openbox/

    • @DarthLungs
      @DarthLungs 3 месяца назад

      okay nice got you ill do this install then strip everything down. I like just a openbox desktop and nothing else lol@@ruthake

  • @yudahanindita5038
    @yudahanindita5038 21 день назад

    Hello Ruth, how to delete/uninstall this linux desktop, i need more space storage 😁

    • @ruthake
      @ruthake  21 день назад

      Linux can be completely removed from Linux development environment in Chromebook Settings, and click on the Remove button.
      The Linux storage can be adjusted at any time from Linux development environment in Chromebook Settings, and click on the Change button for Disk size.
      You may also be interested in the Disk Usage Analyzer. Install baobab. Open from Menu > System Tools > Disk Usage Analyzer.
      Removing just the LXDE desktop will likely make Linux dysfunctional. It may be easier to uninstall Linux and reinstall Linux without the desktop, and then install a lighter weight desktop such as IceWM (takes about 1 min to install. I strongly recommend changing the theme to NanoBlue.):
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install icewm -y
      sudo nano /usr/bin/goice
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 icewm-session &
      Ctrl+O, Enter, and Ctrl+X to save the file and exit nano.
      sudo chmod +x /usr/bin/goice
      goice
      Menu > Settings > Themes > NanoBlue

  • @jimsimmons2674
    @jimsimmons2674 2 месяца назад

    Will this work on a outdated Chromebook and would i still get the latest security updates in Linux on my Chromebook?

    • @ruthake
      @ruthake  2 месяца назад

      I believe this what you are looking for:
      support.google.com/chrome/a/answer/6220366?hl=en#zippy=
      There are more aggressive methods of installing Linux. The Chrome Unboxed Team covers alternative methods for installing Linux on Chromebooks.
      Chrome Unboxed Links:
      www.youtube.com/@chromeunboxed
      chromeunboxed.com/
      Rooting is a line I don't cross because it can destroy someone's Chromebook. On a Chromebook, developer mode is rooting. This will also erase everything on your Chromebook.
      I recommend creating a recovery chip before going into developer mode. If the firmware is damaged, the recovery chip won't work:
      chromewebstore.google.com/detail/chromebook-recovery-utili/pocpnlppkickgojjlmhdmidojbmbodfm?pli=1
      Here's the official Google documentation for developer mode:
      www.chromium.org/chromium-os/developer-library/guides/device/developer-mode/
      Here's a website dedicated to rooting a Chromebook:
      mrchromebox.tech/

    • @jimsimmons2674
      @jimsimmons2674 2 месяца назад

      I have a Lenovo N23 so my updates ended in june 2022,can i install Linux along side Chrome OS without rooting?

    • @ruthake
      @ruthake  2 месяца назад

      It looks like Lenovo N23 supports Linux on ChromeOS:
      www.chromium.org/chromium-os/chrome-os-systems-supporting-linux/
      You may wish to see if the Linux development environment is available from Chromebook Settings > Advanced > Developers > Linux development environment. If the option is there, then you can try following my videos:
      Install Linux On A Chromebook (No Rooting!):
      ruclips.net/video/4bKeaVw_eqc/видео.html
      How To Install And Get A Linux Desktop On A Chromebook! (No Rooting!):
      ruclips.net/video/Ea6xKZD41hI/видео.html&lc
      Side loading Linux on ChromeOS is beyond the scope of what I do.

  • @andreasundkaty
    @andreasundkaty 2 месяца назад

    just done this, it worked. Then chrome OS installed an update of this Linux container. Next start of Linux did not go well. A Debian-window appeared, wants a password. But password window is not responsive, not possible to put anything in. In the window with the command lines cryptical failure messages. My frustration tolerance for this day is now spent.

    • @ruthake
      @ruthake  2 месяца назад

      It sounds like the Linux container updated to Debian 12 and the LightDM greeter window is popping up (the non responsive password window). To fix this, click on the Terminal window, NOT the password window and execute the following command (7:28):
      sudo systemctl disable lightdm
      Then right click the Terminal app in the bottom shelf, select Shut down Linux, shut down the Chromebook, then restart the Chromebook, put the Chromebook online, start up Linux and try executing the gol script.
      ------------------------
      For your convenience, here's the full list of install commands:
      From Terminal app:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install task-lxde-desktop -y
      sudo apt install xserver-xephyr -y
      sudo apt install nano -y
      sudo systemctl disable lightdm
      sudo nano /usr/bin/gol
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl-O, Enter, Ctrl-X
      sudo chmod +x /usr/bin/gol
      gol

    • @andreasundkaty
      @andreasundkaty 2 месяца назад

      @@ruthake Thanks, it worked fine.
      Greetings from Norway

  • @HasaniTempest
    @HasaniTempest 21 день назад

    Can you run multiple distros?

    • @ruthake
      @ruthake  20 дней назад

      Canonical, the primary source for containers has discontinued making containers. You can clone and modify the penguin Debian container. In some cases it may be possible to turn one distro into another one. Containers require bridge software. Multiple containers can run at the same time.
      Canonical is no longer supporting LXC:
      discuss.linuxcontainers.org/t/important-notice-for-lxd-users-image-server/18479
      There are older articles:
      wiki.archlinux.org/title/Chrome_OS_devices/Crostini
      ubuntu.com/tutorials/install-ubuntu-on-chromebook#1-overview
      ChromeOS runs Linux in a nested structure:
      ChromeOS / CROSH -> VM / Termina -> LXC Container / penguin
      There are 2 ways to start up a CROSH terminal:
      Alt+Ctrl+T
      From the ChromeOS Chrome browser:
      URL: chrome-untrusted://crosh
      VM / Termina
      VMC list, start, stop, reconnect, destroy (USE DESTROY WITH CAUTION), and help:
      vmc list
      vmc start termina
      vmc stop termina
      vsh termina
      vmc destroy termina
      vmc --help
      LXC Container / penguin
      List, start, stop, connect user, connect root (it's dash dash space bash), help. In order to issue an lxc stop command, you must first exit the container:
      lxc list
      lxc start penguin
      lxc stop penguin
      lxc exec penguin su -
      lxc exec penguin -- bash
      lxc --help
      You may find it helpful to clone a container. A container must be stopped before it can be cloned:
      lxc copy penguin mycontainer
      lxc list
      lxc start mycontainer
      lxc stop mycontainer
      lxc exec mycontainer su -
      lxc exec mycontainer -- bash
      Example session:
      Alt+Ctrl+T
      vmc start termina
      lxc start penguin
      lxc exec penguin su -
      gol
      exit
      lxc stop penguin
      exit
      vmc stop termina
      exit
      ------------------------------------
      The issue with non Google containers, is the bridge software that connects the container to the outside world. This will affect communications and GUI applications. Cros Container Guest Tools is Google's bridge software (chromium.googlesource.com/chromiumos/containers/cros-container-guest-tools/ ). Bazel build is the install software recommended by Google. By default, Google uses Canonical (Ubuntu) containers.
      Here's a list of ChromeOS definitions and links: www.chromium.org/chromium-os/developer-library/guides/containers/containers-and-vms/

    • @HasaniTempest
      @HasaniTempest 17 дней назад

      @@ruthakethank you

  • @MrGroovyTowel
    @MrGroovyTowel 3 месяца назад

    Hello, mine showed "permission denied" after i entered gol

    • @ruthake
      @ruthake  3 месяца назад

      It sounds like the script doesn't have execute permissions. I recommend the following command, from a terminal:
      sudo chmod +x /usr/bin/gol
      For your convenience, here's the complete instructions:
      From Terminal app:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install task-lxde-desktop -y
      sudo apt install xserver-xephyr -y
      sudo apt install nano -y
      sudo systemctl disable lightdm
      sudo nano /usr/bin/gol
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl-O, Enter, Ctrl-X
      sudo chmod +x /usr/bin/gol
      gol

  • @theofficialnoah1668
    @theofficialnoah1668 Месяц назад

    would this work with different desktops?

    • @ruthake
      @ruthake  Месяц назад

      Some Desktops can peacefully coexist and even run at the same time, use a different DISPLAY id if you intend to run them at the same time.
      The following desktops were tested with Debian 12:
      XFCE Desktop:
      Install: task-xfce-desktop
      Create the file: /usr/bin/gox
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      sudo -u DISPLAY=:40 startxfce4 &
      The following desktops were tested with Debian 11.
      KDE Desktop:
      Install: task-kde-desktop
      Create the file: /usr/bin/gok
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 startplasma-x11 &
      GNOME Desktop:
      Install: task-gnome-desktop, mutter
      In the script below, the ChromeOS display size is 1518x853. 33 has been subtracted from the height to compensate for the top bar. You may have to experiment with the height. The display size can be found in Chromebook Settings > Device > Displays > Display size.
      Create the file: /usr/bin/gog
      export MUTTER_DEBUG_DUMMY_MODE_SPECS=1518x820
      sleep 5
      gnome-shell --nested --wayland &> /dev/null &
      IceWM Desktop:
      Install: icewm
      Create the file: /usr/bin/goice
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 icewm-session &
      Menu → Settings → Themes → NanoBlue
      TWM Desktop:
      Install: twm, suckless-tools, nitrogen
      Create the file: /usr/bin/got
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 twm &> /dev/null &
      DISPLAY=:40 nitrogen --restore &> /dev/null &
      Create the run command file TWMRC for TWM configuration: ~/.twmrc
      ShowIconManager
      IconifyByUnmapping
      Button3 = : root : ! “dmenu_run -fn ‘Mono-20’ &> /dev/null &”
      Mouse is invisible until first app opens. Right click the desktop to run Dmenu.
      Run Nitrogen first to setup the wallpaper.
      To shut down TWM, do killall Xephyr in Chromebook Terminal and then do a regular Linux shutdown

    • @YoungMister0
      @YoungMister0 26 дней назад

      THX SOOO MUCH i wash just about to say it didnt woork then gnome just lloaded!

  • @animemaster8023
    @animemaster8023 4 месяца назад +1

    my web browser isnt loading up

    • @ruthake
      @ruthake  4 месяца назад +3

      To see if the Linux side is connecting to the internet, try pinging Google from a terminal:
      ping www.google.com
      Ctrl-C to stop the ping
      If the internet is working, try running the browser from a terminal and copy and paste the output here.

  • @BlueReverse
    @BlueReverse 4 дня назад

    I did everything you said but when i got to the browser it was a black screen?

    • @ruthake
      @ruthake  4 дня назад

      It sounds like there is an issue with the go script. Please copy and paste your go script. Here's a copy of the complete go script:
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      ---------------------------
      Here's a copy of the complete instructions for your convenience:
      From the Terminal app:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install task-lxde-desktop -y
      sudo apt install xserver-xephyr -y
      sudo apt install nano -y
      sudo systemctl disable lightdm
      sudo nano /usr/bin/gol
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl-O, Enter, Ctrl-X
      sudo chmod +x /usr/bin/gol
      gol

    • @BlueReverse
      @BlueReverse 4 дня назад

      @@ruthake just did some adjusting and i finally got it to work! thanks a ton!

  • @zerkovic
    @zerkovic 4 месяца назад +1

    Hi Ruth, a black screen thats what I get. And yes, i rebooted.

    • @ruthake
      @ruthake  4 месяца назад

      If you've rebooted it while it was online, then it is likely a typo in the go script.
      For your convenience I've included the complete install instructions. If you continue to have an issue, please copy and paste your go script (4:38):
      From Terminal app:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install task-lxde-desktop -y
      sudo apt install xserver-xephyr -y
      sudo apt install nano -y
      sudo systemctl disable lightdm
      sudo nano /usr/bin/gol
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl-O, Enter, Ctrl-X
      sudo chmod +x /usr/bin/gol
      gol

    • @zerkovic
      @zerkovic 4 месяца назад

      @@ruthake Tx Ruth, I just figured it out - before reading your answer. It appeared that lxde couldn't be started, so I installed lxde (full). Following your instructions .... it worked. It's nice. Thank you for your instructional video.

  • @3008noobs
    @3008noobs 13 дней назад

    How old is this Linux software?

    • @ruthake
      @ruthake  12 дней назад

      2008 - Linux containers created (LXC)
      2018 - Chromebooks start running Linux
      2021 - Chromebook Linux no longer in Beta
      This is the list of ChromeOS systems supporting Linux on ChromeOS:
      www.chromium.org/chromium-os/chrome-os-systems-supporting-linux/
      Update on containers:
      discuss.linuxcontainers.org/t/important-notice-for-lxd-users-image-server/18479

  • @yeniranda
    @yeniranda 4 месяца назад

    how installl xfce debian 12

    • @ruthake
      @ruthake  4 месяца назад +1

      Some Desktops can peacefully coexist and even run at the same time, use a different DISPLAY id if you intend to run them at the same time. is your user id. These have not yet been tested with Debian 12.
      KDE Desktop:
      Install: task-kde-desktop
      Create the file: /usr/bin/gok
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 startplasma-x11 &
      XFCE Desktop:
      Install: task-xfce-desktop
      Create the file: /usr/bin/gox
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      pkexec --user env DISPLAY=:40 startxfce4 &> /dev/null &
      GNOME Desktop:
      Install: task-gnome-desktop, mutter
      In the script below, the ChromeOS display size is 1518x853. 33 has been subtracted from the height to compensate for the top bar. You may have to experiment with the height. The display size can be found in Chromebook Settings > Device > Displays > Display size.
      Create the file: /usr/bin/gog
      export MUTTER_DEBUG_DUMMY_MODE_SPECS=1518x820
      sleep 5
      gnome-shell --nested --wayland &> /dev/null &
      IceWM Desktop:
      Install: icewm
      Create the file: /usr/bin/goice
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 icewm-session &
      Menu → Settings → Themes → NanoBlue
      TWM Desktop:
      Install: twm, suckless-tools, nitrogen
      Create the file: /usr/bin/got
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 twm &> /dev/null &
      DISPLAY=:40 nitrogen --restore &> /dev/null &
      Create the run command file TWMRC for TWM configuration: ~/.twmrc
      ShowIconManager
      IconifyByUnmapping
      Button3 = : root : ! “dmenu_run -fn ‘Mono-20’ &> /dev/null &”
      Mouse is invisible until first app opens. Right click the desktop to run Dmenu.
      Run Nitrogen first to setup the wallpaper.
      To shut down TWM, do killall Xephyr in Chromebook Terminal and then do a regular Linux shutdown

    • @yeniranda
      @yeniranda 3 месяца назад

      thanks ruth❤

  • @Oddball2k
    @Oddball2k 3 месяца назад

    Will this work with lxqt?

    • @ruthake
      @ruthake  3 месяца назад

      I have not tested lxqt. Here are some desktops I've tested. Some Desktops can peacefully coexist and even run at the same time, use a different DISPLAY id if you intend to run them at the same time. is your user id. The following desktops were tested with Debian 11.
      KDE Desktop:
      Install: task-kde-desktop
      Create the file: /usr/bin/gok
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 startplasma-x11 &
      XFCE Desktop:
      Install: task-xfce-desktop
      Create the file: /usr/bin/gox
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      pkexec --user env DISPLAY=:40 startxfce4 &> /dev/null &
      GNOME Desktop:
      Install: task-gnome-desktop, mutter
      In the script below, the ChromeOS display size is 1518x853. 33 has been subtracted from the height to compensate for the top bar. You may have to experiment with the height. The display size can be found in Chromebook Settings > Device > Displays > Display size.
      Create the file: /usr/bin/gog
      export MUTTER_DEBUG_DUMMY_MODE_SPECS=1518x820
      sleep 5
      gnome-shell --nested --wayland &> /dev/null &
      IceWM Desktop:
      Install: icewm
      Create the file: /usr/bin/goice
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 icewm-session &
      Menu → Settings → Themes → NanoBlue
      TWM Desktop:
      Install: twm, suckless-tools, nitrogen
      Create the file: /usr/bin/got
      Xephyr -br -fullscreen -resizeable :40 &
      sleep 5
      DISPLAY=:40 twm &> /dev/null &
      DISPLAY=:40 nitrogen --restore &> /dev/null &
      Create the run command file TWMRC for TWM configuration: ~/.twmrc
      ShowIconManager
      IconifyByUnmapping
      Button3 = : root : ! “dmenu_run -fn ‘Mono-20’ &> /dev/null &”
      Mouse is invisible until first app opens. Right click the desktop to run Dmenu.
      Run Nitrogen first to setup the wallpaper.
      To shut down TWM, do killall Xephyr in Chromebook Terminal and then do a regular Linux shutdown

    • @Oddball2k
      @Oddball2k 3 месяца назад

      @@ruthake heard it prolly will work thanks for the tutorial

  • @aeregreenway8096
    @aeregreenway8096 7 дней назад

    Does this also work on ChromeOS Flex?

    • @ruthake
      @ruthake  7 дней назад +1

      I have not specifically used ChromeOS Flex, but I believe the process is the same. Linux can be installed and deleted as many times as desired from Chromebook Settings > About ChromeOS > Developers > Linux development environment. Or just search for Linux in Chromebook Settings.
      Base Install:
      ruclips.net/video/4bKeaVw_eqc/видео.html
      Desktop Install:
      ruclips.net/video/Ea6xKZD41hI/видео.html
      ----------------------------------
      For your convenience, here are the complete install instructions:
      To enable Linux from Chromebook Settings:
      Search for Linux > select Set up 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
      To get a LXDE desktop:
      From Terminal app:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install task-lxde-desktop -y
      sudo apt install xserver-xephyr -y
      sudo apt install nano -y
      sudo systemctl disable lightdm
      sudo nano /usr/bin/gol
      Xephyr -br -fullscreen -resizeable :20 &
      sleep 5
      DISPLAY=:20 startlxde &
      Ctrl-O, Enter, Ctrl-X
      sudo chmod +x /usr/bin/gol
      gol

    • @aeregreenway8096
      @aeregreenway8096 7 дней назад

      @@ruthake Thank you very much! I will give it a try, and let you know how it turns out. I use the LXDE desktop on my 32-bit architecture test machines, including on Debian 12. If this works, it will make my ChromeOS test machine more useful. I develop and support the KeyMusician Keyboard application.

    • @aeregreenway8096
      @aeregreenway8096 6 дней назад

      Well, it worked on ChromeOS Flex, for the most part. My application, running on the LXDE desktop, can position all of its windows, and even access the browser to access the Help and Tutorials. There are big problems with audio that will have to be puzzled-out. I got it to work once with JACK and QSynth. But never again. Shutting down the desktop was a problem, because it didn't work the same as you demonstrated in the video. Right-clicking on the terminal's tray icon didn't give me the option to shut down Linux - only to close it. I entered the terminal, and did a control-C, which seemed to stop the desktop. There appears to be a shelf icon for the desktop itself, but right-clicking it yields only the option to close it (not to shut down Linux).

    • @ruthake
      @ruthake  6 дней назад

      Thank you for the feedback!
      This script may be a helpful alternative to shutting down the desktop:
      nano /usr/bin/gostop
      sudo killall Xephyr &> /dev/null &
      sudo rm /tmp/.X20-lock &> /dev/null &
      Ctrl+O, Enter, and Ctrl+X to save the file and exit nano.
      sudo chmod +x /usr/bin/gostop
      To shut down Linux from the ChromeOS Terminal app:
      gostop
      exit
      --------------------------
      If an application does not have sound, here's an option you may want to try:
      env XDG_RUNTIME_DIR=/run/user/1000 GDK_BACKEND=x11
      If that doesn't work, try (the bigger the number the smaller the screen, the smaller the number the larger the screen):
      sommelier -X --scale=1.2 --glamor
      For awareness:
      ALSA (Advanced Linux Sound Architecture) - Kernel based sound service.
      PulseAudio - A depreciated sound server.
      JACK (JACK Audio Connection Kit) - A depreciated sound server.
      PipeWire - Handles multimedia for Linux such as audio. PipeWire is replacing PulseAudio and JACK sound servers.
      WirePlumber - Manages PipeWire.
      XDG (Cross-System Group) - XDG environmental variables help programs find things like PipeWire and D-Bus.
      D-Bus (Desktop Bus) - An IPC (InterProcess Communications) middleware meaning it helps programs talk to each other.

    • @aeregreenway8096
      @aeregreenway8096 6 дней назад

      @@ruthake Thanks. This does allow me to shut down the LXDE desktop cleanly. The KeyMusician Keyboard ran on it, using QSynth and JACK, connected to a USB audio interface. To my surprise, even with this audio arrangement, there was a lot of (too much) latency for live performance. I tried the same thing on the ChromeOS Flex desktop, and it has the same excessive latency. Apparently changes have gone in causing that. It used to have a noticeable, but not too large, amount of latency. It seems to be yet another chapter in the saga of my testing on Chromebook or ChromeOS Flex. There's always some "gotcha" that makes it unusable, or marginally usable, no matter what you try. I am beginning to conclude, that with Chromebook or ChromeOS Flex, the only winning move is not to play...

  • @zabpro1719
    @zabpro1719 4 месяца назад

    next install ubuntu on chromebook no rooting please

    • @ruthake
      @ruthake  4 месяца назад

      Here's a complete set of instructions for installing a Ubuntu container: ubuntu.com/tutorials/install-ubuntu-on-chromebook#1-overview
      Here's a list of ChromeOS definitions and links: www.chromium.org/chromium-os/developer-library/guides/containers/containers-and-vms/
      I believe the most difficult part will be with the bridge software.

  • @AhmetAgrbas-wm6xo
    @AhmetAgrbas-wm6xo Месяц назад +1

    🥰😍

  • @DJ-br6vh
    @DJ-br6vh 4 месяца назад

    it`s a real women!?

  • @Babbili
    @Babbili 12 дней назад

    cute