Skip to content

Cannot connect after disconnecting from RDP session #964

@ReenigneArcher

Description

@ReenigneArcher

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the nightly release?

  • This issue is present in the nightly release

Describe the Bug

With Sunshine running as a service, cannot connect to Sunshine from Moonlight after using the Windows built in method of disconnecting from a remote desktop session.

Can connect if using this workaround, but that leaves the system unlocked, so is not preferred. This is a batch script that must be run as admin. It is not a prep command for Sunshine.

@echo off
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
  %windir%\System32\tscon.exe %%s /dest:console
)

Can also connect to locked desktop as before using RDP.

Expected Behavior

No response

Additional Context

No response

Host Operating System

Windows

Operating System Version

11

Architecture

64 bit

Sunshine commit or version

v0.18.3

Package

Windows - installer

GPU Type

Nvidia

GPU Model

GeForce RTX 2080 Super

GPU Driver/Mesa Version

528.49

Capture Method (Linux Only)

No response

Relevant log output

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions