Inserting a DVD: GUI vs. Terminal
For context, I'm working from home using a company provided computer. I've got a Raspberry Pi running Fedora 44 with a USB DVD drive. I'm working through trying to rip my DVDs to another drive. A KVM switch is out of the option list. I can either use RDP to run HandBrake on my Pi, or I can use the HandBrake terminal interface.
While attempting to use RDP, both HandBrake and VLC give errors about not being able to read the disk. It can't be opened. When I log in to the Pi locally, there are no issues reading the disk. It's clearly an RDP/VNC related issue.
After being unable to find an answer for that, I'm attempting to use the terminal over SSH. After popping in the DVD, HandBrakeCLI couldn't open the disk in /dev/sr0 despite 'ls /dev' showing its existence. On a hunch, I logged into a local graphical session on the Pi, and now I have no issues with HandBrakeCLI reading the /dev/sr0 over SSH. The drive is not mounted on the filesystem
What is going on behind the scenes when inserting a drive in a GUI session that doesn't happen in a terminal session to make /dev/sr0 available to be read by something like HandBrakeCLI? Again, the device is not being mounted into the files system, or at least it doesn't display when running mount.
Edit: as I think about it, it's probably the same issue for both the RDP issue and the terminal without GUI login issue.