-
-
Notifications
You must be signed in to change notification settings - Fork 965
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
Mac autostart fail #1909
Comments
Why? |
sunshine-0.21.0 can't be recognize in Finder as an Unix Excutable file but shown as unknow document file, even after I |
Same here, any clues or workarounds for this? Thanks |
I tried replacing the filename, but when I run it I get the following message: Last login: Fri Jan 19 03:53:51 on ttys000 Saving session... [进程已完成] |
Ah I was wondering why sunshine was not working for me. |
I try to add a new plist to run sunshine to solve the problem.
There is also a
|
My guess is it's trying to load the macport one before the user is actually logged in. |
@XuXianTao , just replace "{Sunshine}" on original .plist to "sunshine"... Grant "screen recording permission" to the executable "/opt/local/bin/daemondo"
After the service starts, its settings, logs, etc. can be accessed in ~root/.config/sunshine So, auto start "fixed", however, I still have a problem... When accessing the desktop, the MacOS desktop is displayed, however, that's it... there are no more screen updates. If I open an application, I don't see the new window for it in my "moonlight" client :-( This happens whether running sunshine as a service, in the context of "root", or interactively, via terminal, from my user. |
(...)
Thank God.... I'm not the only one to face this type of problem on the Mac 😂... Would the "solution" be to downgrade Sunshine?! |
Apologies for my delay @Hazer ... So, because I found it easier to manage, I ended up adopting the "brew" installation method, which did not present the problems to setup auto start services as like macport. Anyway, assuming I were to use the method via macport again, how do I install the "nightly" version with this fix ? |
You download the Portfile from the release of interest, in this case https://github.com/LizardByte/Sunshine/releases/nightly-dev |
@ReenigneArcher ... I would really like to stay with the "brew installation method"... How to download and install the latest version (pre-release)?! You know how ?! When trying to install, it always downloads the source of the current release (v0.23.1 8b21db6) :-( |
I thought you asked how to use the nightly Portfile. For brew, I'm not 100% sure but I think you can use the head branch somehow. |
@ReenigneArcher I should probably submit a PR including instructions for |
@Hazer ... Thank you very much... It worked!!! Now just wait a few hours to finish the compilation/installation... I'll be back with feedback soon ;-) About improving documentation... It would be very good, especially for people like me, who are "newbies" when it comes to the MacOS universe and its tools. You would be amazed at how many people on the internet have exactly this doubt... I researched a lot before before asking for help here ;-) Once again, thank you very much for everyone's attention. |
@Hazer , everything works Ok now... The only question for me now is understand why my mouse pointer disappears when I open, for example, Safari ;-) ... The pointer works, it just doesn't appear in the streaming (only while streaming), perhaps due to interference from another software, like Barrier (KVM), since I don't have a physical mouse connected to MacOS Thank you very, very much for the support. |
@wbrione Do you have the steps to get it to autostart using the homebrew method? |
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks! |
This issue was closed because it has been stalled for 10 days with no activity. |
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
After running
sudo port load Sunshine
, Sunshine can't autostart on Mac startup. launchctl shows it is loaded% sudo launchctl list | grep macports - 0 org.macports.Sunshine - 0 org.macports.shared-mime-info-updater
Expected Behavior
No response
Additional Context
what is checked:
running
sunshine
directly in the terminal apps is workingscreen recording enable the terminal app and sunshine excutable (sunshine softlink is deleted and rename sunshine-0.21.0 is renamed to sunshine)
run
sudo port load Sunshine
multiple times without fail-infotried
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
but not fixing thisHost Operating System
macOS
Operating System Version
12.7.1
Architecture
64 bit
Sunshine commit or version
0.21.0
Package
macOS - Portfile
GPU Type
Intel
GPU Model
Intel Iris Pro 1536 MB
GPU Driver/Mesa Version
Metal GPUFamily macOS 1
Capture Method (Linux Only)
No response
Config
~/.config/sunshine/sunshine.conf controller = disabled
Apps
No response
Relevant log output
cant find a log file in launchctl
The text was updated successfully, but these errors were encountered: