![]() |
SOLVED: Can't stream until logged in (Linux) - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: SOLVED: Can't stream until logged in (Linux) (/t-solved-can-t-stream-until-logged-in-linux) |
Can't stream until logged in (Linux) - Poppy0260 - 2025-03-25 Hello, I recently installed Jellyfin server 10.10.6 (deb) on my laptop, love it. Laptop is running Kubuntu 24.04. I am only ever streaming on my home network to my chromecast or android devices. I would like for family members / children to be able to power on the laptop when they want to watch something on the TV. I don't want to leave it on 24/7. But I also don't want to give everyone in the household user access. My issue is when the laptop is powered on but left at the login screen, our device apps can browse the libraries, but not play any media. When I try to play, I get this error: Playback Error - Playback failed due to a fatal player error. After I log in to Kubuntu, then everything works great. And it will continue to stream media correctly even if I then log out and leave the laptop on the same login screen. I found the logs in Jellyfin dashboard and the failed stream logs end with these lines: Code: [in#0 @ 0x56ae18f62740] Error opening input: No such file or directory I thought it might be a permissions issue, so I added permissions for user jellyfin to the /media/<username>/Data/Movies folder. Didn't seem to help. The mount point is owned by root, not my user. Now I think it is a mounting issue. I don't see my "Data" partition listed in /etc/fstab but I can see it in KDE Partition Manager. It also gets mounted by other users logging in. I don't know if there is a way to have it auto mount at system boot, should I add it to /etc/fstab? Many thanks to anyone who can point me in the right direction! RE: Can't stream until logged in (Linux) - TheDreadPirate - 2025-03-25 If you have storage you need mounted when the system is powered on needs to be in fstab. Right now your storage disk is being mounted by the udisk2 service, which only runs when someone logs in. Manually mount your drive via /etc/fstab. RE: Can't stream until logged in (Linux) - Poppy0260 - 2025-03-29 Thank you for your response! Also replying to make notes for myself and others. I'll update if I get this working. I've spent an evening searching and reading and getting frustrated that I can't understand how to do this. Learned a bit about fstab, spent a long time trying to figure out where the udisksctl / udisksd config files are, but I guess there isn't any and it just auto-mounts whatever it can find. I found this https://help.ubuntu.com/community/AutomaticallyMountPartitions I tried fstab edit using this line: /dev/nvme0n1p4 /media/Chris/Data btrfs defaults 0 0 I took note of this message and followed the instructions. Code: mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload. And so far I'm at the point where my changes are breaking more things than they fix. Especially puzzled that If I remount partitions during a session, it breaks my KDE application launcher "shut down" and "restart" buttons, and I need to ctrl+alt+del to restart the computer. Wish me luck. RE: Can't stream until logged in (Linux) - TheDreadPirate - 2025-03-30 udisk2 will mount drives in /media/<insert username>/<insert device name>. Can you share the output of these two commands? Code: sudo fdisk -l /dev/nvme0n1 And also share the current contents of /etc/fstab. RE: Can't stream until logged in (Linux) - Poppy0260 - 2025-03-30 Code: sudo fdisk -l /dev/nvme0n1 Code: cat /proc/mounts | grep nvme0n1 Code: # /etc/fstab: static file system information. Looking at the existing fstab, I was confused about the "subvol" parameter for other partitions and didn't know how to use it or find details about it. I see in the above output that for the partition I'm trying to mount /dev/nvme0n1p4, the values "subvol=/" and "subvolid=5" are listed. Can/should I do something like: Code: /dev/nvme0n1p4 /media/Data btrfs defaults,subvolid=5 0 2 ![]() RE: Can't stream until logged in (Linux) - TheDreadPirate - 2025-03-31 It looks like you have not unmounted or rebooted since making these changes to fstab. Code: sudo umount /media/chris/Data The subvol parameter is needed for btrfs. https://unix.stackexchange.com/questions/209037/how-do-you-mount-a-specific-btrfs-subvolume RE: Can't stream until logged in (Linux) - Poppy0260 - 2025-03-31 Huzzah it's working now! Thank you TheDreadPirate for giving your time to help me out. The subvol / subvolid was the missing piece. New line in /etc/fstab is: /dev/nvme0n1p4 /media/Data btrfs defaults,subvolid=5 0 2 |