this post was submitted on 10 Nov 2024
-7 points (40.0% liked)

Technology

59667 readers
3766 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

I'm in a weird situation, i have a dedicated mini pc for my Jellyfin server Here are the requirements for solutions

  • I cannot use an interface like a keyboard or mouse -I will not use linux for this particular machine -The device does have USB ports and a screen So to just have the jellyfin server start automatically, i would like to be able to hit the power button and have it boot into windows, thus automatically starting the jellyfin server and allowing me to do server restarts to fix issues.

Problem is the login screen, i can go as far as removing my password but it still requires user input to login. I need to bypass this but on the other hand i would not like to leave this giant vulnerability in my system. Is there any sort of way to get the best of both worlds? to have the PC be able to go from power button to jellyfin server started and still have some measure of security?

Thanks if anyone has any insight to my problem it would be wildly appreciated

you are viewing a single comment's thread
view the rest of the comments
[–] yokonzo 1 points 2 weeks ago (2 children)

This might work, do you know how secure this is? Could i just put it in to automatically input the password on startup? i imagine that wouldn't just "unlock" the machine for anyone trying to SSH in

[–] [email protected] 5 points 2 weeks ago (1 children)

Automatically entering the password at the login prompt would be FAR more insecure than task scheduler starting the task on startup. What you should do is go into task scheduler and tell it to start your jellyfin service. Then jellyfin is running, but your user isn't even signed in.

If you just want auto login then look at these:

https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon

https://answers.microsoft.com/en-us/windows/forum/all/auto-sign-in-missing-from-netplwiz/1c06918b-04e0-4b2f-ab67-8b5bd7eee89b

That's how windows intends you to automatically log in even though your user has a password.

[–] yokonzo 2 points 2 weeks ago

Thank you this worked

[–] [email protected] 2 points 2 weeks ago

I have used this for something else a few years ago: It let me select what user to run it as and prompted me for a password while configuring it and then later it didn't need a login any more.