Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new Guide for how to enable autostart of Sunshine on KDE Plasma and Wayland without enabling autologin #3200

Conversation

midwesternrodent
Copy link
Contributor

@midwesternrodent midwesternrodent commented Sep 18, 2024

Description

Add a new guide for how to enable autostart for Sunshine on KDE Plasma and Wayland without enabling autologin. This guide utilizes the existing guide by Eric Dong as the base, and then expands on it to enable the autostart functionality.

After following the guide, sunshine will start on boot, and moonlight will connect to the login screen.

There are a few caveats to this guide that I will update as I find workarounds:

  1. It does not work with multi monitor setups
  2. You cannot change the screen properties with a sunshine application prep command via kscreen-doctor as plasma has not initiated the screens when on the login screen. Attempting to do so will cause moonlight to fail to connect to the sunshine host. You can still modify the screens manually or via kscreen-doctor after you have logged into wayland.

However, if you agree I think it's ready for prime time for advanced users. I am looking to help out with documentation on a couple of projects in the near future so if you have any feedback for me on how I've handled this pull request, please let me know! Thank you for building an amazing FOSS solution!

Screenshot

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Created a new guide on how to enable sunshine to start on boot without enabling autologin.
Copy link

@midwesternrodent
Copy link
Contributor Author

I discovered that audio with pipewire is not working with this setup. I had only ever tested it over lunch at work so I didn't notice until last night!

I have a workaround but it will require a rework of this guide. I will re-open this PR once I've made those edits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant