moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
10.4k stars 609 forks source link

Add shutdown host possibility for Sunshine hosts #934

Open apoklyps3 opened 1 year ago

apoklyps3 commented 1 year ago

Since sunshine isn't bound by nvidia gamestream limitations it would be cool if shutdown & restart host would be added to the right-click menu on a host computer. Wouldn't hurt if we got key combos for these actions too. I asked on the sunshine github and they claim shutdown and restart host is already supported on their server, but they have to be implemented in moonlight too. Is that correct?

ivanmara555 commented 1 year ago

Good idea to add logout option to moonlight, because some times game freeze and does not respond to key presses on the keyboard ... but system still working. Usually in this situation i connect to RDP as Administrator and shutdown game process manually. Logout in moonlight would be more comfortable.

jorisdejosselin commented 1 year ago

As a workaround I use an application in Sunshine with the detached command cmd /C "C:\Windows\system32\shutdown.exe /s /t 5" but it would be nice to have it as an option in the host menu.