<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-gave-sunshine-a-virtual-display-and-game-streams-stopped-hijacking-my-monitor-yirg9fcmc" -->

---
title: I gave Sunshine a virtual display, and game streams...
description: A game-streaming host set up with Sunshine found that his physical monitor was being hijacked by streaming clients, with resolution, scale, and refresh rate...
canonical: https://daily.dev/posts/i-gave-sunshine-a-virtual-display-and-game-streams-stopped-hijacking-my-monitor-yirg9fcmc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I gave Sunshine a virtual display, and game streams stopped hijacking my monitor | daily.dev
og:description: A game-streaming host set up with Sunshine found that his physical monitor was being hijacked by streaming clients, with resolution, scale, and refresh rate...
og:url: https://daily.dev/posts/i-gave-sunshine-a-virtual-display-and-game-streams-stopped-hijacking-my-monitor-yirg9fcmc
og:image: https://api.daily.dev/og/posts/YIRg9fcmC.png
og:image:alt: I gave Sunshine a virtual display, and game streams stopped hijacking my monitor
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I gave Sunshine a virtual display, and game streams stopped hijacking my monitor

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 4 min read · 0 upvotes · 0 comments

## Summary

A game-streaming host set up with Sunshine found that his physical monitor was being hijacked by streaming clients, with resolution, scale, and refresh rate changing to match the remote device. The fix involved installing a free virtual display driver to create a headless monitor for Sunshine to capture instead of the physical screen, letting the desktop stay untouched while the stream runs to a separate device. Steps included configuring the virtual display at 1080p60Hz, restarting Sunshine, and locating the virtual display's GUID in Sunshine's log file to confirm it's being used.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/i-gave-sunshine-virtual-display-game-streams-stopped-hijacking-my-monitor>

## Questions this post answers

### How do I stop Sunshine from taking over my physical monitor when streaming games with Moonlight?

Install a virtual display driver, such as Virtual Display Driver from GitHub, to create a headless monitor for Sunshine to capture instead of the physical screen. Set the virtual display to match the client resolution, like 1080p60Hz, restart Sunshine so its boot logs show the virtual display's ID, and confirm the GUID in Sunshine.log located at C:\Program Files\Sunshine\Config.

_daily.dev surfaces setup guides like this for anyone fine-tuning a home game-streaming rig._

### Why does my monitor's resolution and refresh rate change when someone connects to my Sunshine game stream?

Sunshine captures whatever display Windows exposes to it, and by default that is the physical monitor on the desk. When a client connects and resolution matching is enabled, Sunshine adjusts the physical monitor's resolution, scale, and refresh rate to match the client instead of streaming a separate virtual screen.

_Developers hosting their own streaming setups can track fixes like this through daily.dev._

## Similar posts on daily.dev

- [A tiny $4 HDMI dummy plug somehow fixed my entire game streaming setup](https://daily.dev/posts/a-tiny-4-hdmi-dummy-plug-somehow-fixed-my-entire-game-streaming-setup-2czbgzkfg) · XDA Developers · 3 upvotes · 0 comments
- [Sunshine and Moonlight let me build my own game streaming service for the cost of one GPU](https://daily.dev/posts/sunshine-and-moonlight-let-me-build-my-own-game-streaming-service-for-the-cost-of-one-gpu-nkvnikcnn) · XDA Developers · 2 upvotes · 0 comments
- [I used Sunshine and Moonlight to build my own cloud gaming setup, and I don’t need GeForce Now anymore](https://daily.dev/posts/i-used-sunshine-and-moonlight-to-build-my-own-cloud-gaming-setup-and-i-don-t-need-geforce-now-anymo-xe8nvwji6) · XDA Developers · 3 upvotes · 0 comments
- [GitHub - hgaiser/moonshine: Headless streaming server for Moonlight clients, written in Rust.](https://daily.dev/posts/github---hgaiser-moonshine-headless-streaming-server-for-moonlight-clients-written-in-rust--famjmxwpd) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#self-hosting](https://daily.dev/tags/self-hosting)

[View this post on daily.dev](https://daily.dev/posts/i-gave-sunshine-a-virtual-display-and-game-streams-stopped-hijacking-my-monitor-yirg9fcmc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I gave Sunshine a virtual display, and game streams stopped hijacking my monitor","url":"https://daily.dev/posts/i-gave-sunshine-a-virtual-display-and-game-streams-stopped-hijacking-my-monitor-yirg9fcmc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-gave-sunshine-a-virtual-display-and-game-streams-stopped-hijacking-my-monitor-yirg9fcmc"},"datePublished":"2026-09-10T22:02:19.011Z","dateModified":"2026-10-15T02:22:14.750Z","description":"A game-streaming host set up with Sunshine found that his physical monitor was being hijacked by streaming clients, with resolution, scale, and refresh rate...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c254e4909b2f6e0b3fa2e7afb97fc052?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c254e4909b2f6e0b3fa2e7afb97fc052?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-gave-sunshine-a-virtual-display-and-game-streams-stopped-hijacking-my-monitor-yirg9fcmc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"self-hosting","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"I gave Sunshine a virtual display, and game streams stopped hijacking my monitor"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-gave-sunshine-a-virtual-display-and-game-streams-stopped-hijacking-my-monitor-yirg9fcmc#faq","mainEntity":[{"@type":"Question","name":"How do I stop Sunshine from taking over my physical monitor when streaming games with Moonlight?","acceptedAnswer":{"@type":"Answer","text":"Install a virtual display driver, such as Virtual Display Driver from GitHub, to create a headless monitor for Sunshine to capture instead of the physical screen. Set the virtual display to match the client resolution, like 1080p60Hz, restart Sunshine so its boot logs show the virtual display's ID, and confirm the GUID in Sunshine.log located at C:\\Program Files\\Sunshine\\Config. daily.dev surfaces setup guides like this for anyone fine-tuning a home game-streaming rig."}},{"@type":"Question","name":"Why does my monitor's resolution and refresh rate change when someone connects to my Sunshine game stream?","acceptedAnswer":{"@type":"Answer","text":"Sunshine captures whatever display Windows exposes to it, and by default that is the physical monitor on the desk. When a client connects and resolution matching is enabled, Sunshine adjusts the physical monitor's resolution, scale, and refresh rate to match the client instead of streaming a separate virtual screen. Developers hosting their own streaming setups can track fixes like this through daily.dev."}}]}
```

