A new member of the family
Go straight to the TL;DR.
I recently purchased a new Chromebook. It’s been over a decade since I’ve owned a true ‘personal laptop’. Most of the time I got by with the limited personal use allowed on a work laptop or my phone or a tablet or my partner’s laptop. Well, it was finally time to purchase one of my own. After doing some research and weighing the pros and cons of the different options, I decided on a Chromebook. The model that I chose was the Acer Spin 713 w/ an i5 processor, 8 GB RAM, and a 256 GB SSD. I decided to spend the extra money on a mid/high range Chromebook because one of my pet peeves is slow computers and I didn’t want to have to fight with a computer that was always having performance problems. I was also looking for a convertible laptop that did tablet and tent mode.
So far, I’m pleased with my decision and am getting used to Chrome OS. I was a little peeved that Microsoft discontinued support for their Office apps. That means no offline options for OneNote, my preferred notetaking app. About ten years ago, I migrated all my notes from Evernote to OneNote and I’m not ready for another migration. I’m also hoping that it gets full Netflix support; to date Netflix only works in the browser and the app is not compatible.
External DVD drive for Chromebook
Now onto the subject of this post. My brother recently recommended a movie to us, Only the Brave, and we were interested in watching it. It wasn’t available on any streaming service that is available to us, so we decided to see if the library had it. Our local Boulder City library didn’t have it, but it was available from one of the other libraries in the Las Vegas Clark County Library District. We requested it and we had it in hand in a couple of days. I went to pop it in our HTPC and that’s when I remembered we were having issues with the sound card on that machine. So, I decided that maybe it was time to buy an external DVD player that we could use with one of the other laptops in the house. We picked a highly rated one at a decent price from Best Buy due to my initial research telling me that most any USB DVD drive would work.
Initial problems
A couple of days passed, the new Chromebook arrived and we decided we’d try to watch the movie. Well, I didn’t realize that the external DVD drive wouldn’t work out of the box with Chrome OS and that led me on a new adventure. I could have just given in and watched it on the Windows laptop in the house, but I’m always up for a good challenge. I originally tried doing it with crostini, but it appears that you can share the DVD files with crostini, but you can’t really share the device with crostini (i.e. /dev/sr0 is not accessible in crostini). I was able to install libdvdcss and vlc in crostini and it would try to open the VOB files on the DVD, but I couldn’t get them to actually play. That’s when I decided to try crouton and chroot which eventually did work.
Installing VLC and getting it to work in a chroot
My initial research led me to believe that I would be able to access /dev/sr0 in a chroot. My first try was installing an Ubuntu chroot with the Unity desktop environment. There are great instructions for installing chroots at the crouton Github repository. Unfortunately, all the Ubuntu chroots that I tried had this weird and annoying bug where the screen wouldn’t refresh until you moved the mouse. I tried a bunch of different desktop environments, but they all had the same bug. So, I then decided to move to a Debian chroot. The sid release errored out, so I tried buster and that one installed fine. I initially installed lxde and it didn’t have the same bug that the Ubuntu chroots had, so I proceeded to install vlc, libdvd-pkg, and libdvdcss and everything worked. Yay!!!! Well, yay for at least a little while. I think Chrome OS updated, I deleted my existing chroot, tried installing a new one, and for some reason or another I couldn’t get it to work.
I then installed the buster debian chroot with lxde, but alsa or sound in general wouldn’t work. The DVD played fine, but no sound. I then updated the chroot using the ‘-u’ flag. Sound would then work, but there were no panels in the lxde environment. I then decided to try xfce and that did the trick. So, now I have a functional chroot that will play DVDs in VLC on /dev/sr0.
Actual steps to get it working
- Open terminal – Ctrl-Alt-T
- Enter shell by typing shell at the crosh prompt
- Follow steps 1-3 from the crouton example to install the crouton script
- Install debian buster chroot with xfce by typing
sudo –r buster -n debian -t xfce
- Open xfce session by typing
sudo startxfce4
- Once inside the chroot open a terminal and install libdvd-pkg, libdvdcss, and vlc
sudo apt install libdvd-pkg
sudo apt install vlc
Once libdvd-pkg is installed, you’ll need to run dpkg-reconfigure to get libdvdcss installed
sudo dpkg-reconfigure libdvd-pkg
Follow the on-screen instructions to install libdvdcss
- Once all that is installed, you’ll need to run one more command to allow the chroot access to /dev/sr0. This last step I found on this reddit thread.
sudo chmod 644 /dev/sr0
- Open VLC and enjoy watching your DVD
Have fun
Hopefully, you’ll be able to do this without going through all the steps/troubleshooting that I did. I know it’s probably not a common use case due to Chromebook’s primary use of streaming content. But if you do find yourself with an external DVD drive and a Chromebook, rest assured that you can use both to actually watch a DVD. Cheers!