I'm setting up a Plex server on an Intel NUC running Kubuntu 24.04 after a year on Windows, looking for more stability. I've got Plex, Sonarr, Radarr, Prowlarr, and qBittorrent working well, but I'm struggling with a few things:
1. **External Hard Drive Access**: I had to set the permissions on my external drives to 777 to let my server apps access them. I've heard that's not a good practice, and I'm confused about the right way to manage permissions without getting too technical. My guess is I should create a user group for my apps and allow that group permissions instead, but I'm lost on how to do that.
2. **Remote Desktop Issues**: I've been having a tough time with remote desktop connections. I installed XRDP but only get a black screen when I try to connect. I've been told that switching to VNC might help, but it only works if my monitor is connected and on. When it's unplugged or off, I encounter lag that makes it barely usable.
3. **Password Prompts in Discover**: The Discover app constantly asks for my password for practically every action, and I'm looking for a way to disable this. It's inconveniencing me, especially since Discover seems to have outdated versions of the apps I want.
4 Answers
Regarding the external drive access, instead of setting permissions to 777, you can create a group. Add your applications to that group and change the ownership of the drives to that group. Something like `sudo chown :yourgroup /path/to/your/drives` followed by `sudo chmod 770 /path/to/your/drives` should do the trick. This way, only users in that group can access the drives without compromising security.
As for VNC, if it's only working when your monitor is on, you might want to give NoMachine a shot. I have multiple machines set up with it, and while one doesn't have a monitor, I can still connect without issues. Just make sure to download the latest version directly from their site—I’ve found the version in app stores can be outdated and problematic.
For the remote desktop issue, it sounds like you're running into the default Wayland session in Kubuntu 24.04, which can be problematic with RDP. I recommend trying Rustdesk—it works well for remote access on Wayland without all those headaches. Alternatively, you can switch your session to X11, which might give you a smoother experience with XRDP and other remote software.
For the Discover password prompts, you can manage your user permissions to avoid those annoying requests. In System Settings, go to 'Account Details' and then 'Authorization' to adjust the settings for Discover. However, if you mainly need newer app versions, I recommend using Flatpak or Snap instead—they can help you get more updated software without those frequent prompts.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Fix Not Being Able To Add New Categories With Intuitive Category Checklist For Wordpress
Get Real User IP Without Installing Cloudflare Apache Module
How to Get Total Line Count In Visual Studio 2013 Without Addons
Install and Configure PhpMyAdmin on Centos 7
How To Setup PostfixAdmin With Dovecot and Postfix Virtual Mailbox