How to Prevent OBS Live Stream from Stopping After Closing RDP: A Detailed Guide

Published November 5, 2024

OBS LIVE STREAM

How to Prevent OBS Live Stream from Stopping After Closing RDP

One of the common issues faced by streamers and content creators who use OBS (Open Broadcaster Software) is that their live stream stops after disconnecting a Remote Desktop Protocol (RDP) session. This happens because RDP, by design, closes the virtual display when the session is disconnected, which causes OBS to stop capturing and streaming. In this detailed guide, we will explain the root causes behind this problem and walk you through several potential solutions to keep your stream running without interruption.

Why OBS Live Stream Stops When You Disconnect RDP?

OBS requires an active display output to capture video from the screen. When you use RDP to remotely control a computer, it creates a virtual display (essentially, a fake monitor) that OBS can recognize and use for streaming.

However, when you close the RDP session, that virtual display is removed, leaving OBS without an active display to capture. As a result, the streaming process is interrupted and your live stream stops. To maintain your live stream, you need to ensure that the computer has a persistent display output, even when the RDP session is closed.

TightVNC solves this problem by keeping the display output active even after you disconnect, allowing OBS to continue streaming as if the remote computer were still actively connected to a monitor.

Step-by-Step Guide: Using TightVNC to Keep OBS Live Streaming After Remote Session Ends

TightVNC

Download and Install TightVNC

To get started, you need to install TightVNC on both your local computer (from where you’ll control the remote machine) and the remote computer (where OBS is installed and streaming from).

1. Visit the TightVNC website and download the TightVNC Server for Windows.

OBS LIVE STREAM

2. Install TightVNC: Follow the setup wizard. When prompted, select Complete as the setup type.

OBS LIVE STREAM

3. Continue the installation by clicking Next until you reach the Install button, then click Install.

OBS LIVE STREAM

4.Set the Password: After the installation, the TightVNC server will prompt you to set a password. Enter your password and click OK.

OBS LIVE STREAM

OBS LIVE STREAM

5.Finish Setup: Complete the installation by clicking the Finish button.

6. Verify Running Status: In your RDP window, click the up arrow at the bottom right corner near the speaker icon to confirm that TightVNC is running.

Using RealVNC Viewer on your local computer

OBS LIVE STREAM

  • Download RealVNC Viewer: Get RealVNC Viewer from their official website.

OBS LIVE STREAM

  • Install RealVNC Viewer: Follow the setup wizard and click Install to begin.
  • Complete Installation: Click Finish to exit the setup.
  • Launch RealVNC Viewer: Open the Windows Start menu, locate RealVNC Viewer under Recently Added, and click to launch it.
  • Initial Setup: On the first screen, uncheck “Send anonymous usage data to help improve RealVNC Viewer,” then click “Use RealVNC Viewer Without Signing In.”

OBS LIVE STREAM

  • Connect to Server: In the field labeled “Enter a VNC server address or search” at the top, type your VPS IP address followed by a colon and the port number.
  • Connect: Press Enter on your keyboard to establish the connection.

Setting up OBS

OBS LIVE STREAM

  • Connect via RDP: Use Remote Desktop Protocol (RDP) to log in to your server and set up OBS.
  • Link OBS to Account: Connect OBS to the account for broadcasting your live stream.

OBS LIVE STREAM

  • Add Source: In the Source section of OBS, click the plus icon and choose Window Capture.

OBS LIVE STREAM

  • Configure Window Capture: Describe the capture briefly, then click OK.

OBS LIVE STREAM

  • Window: Choose the window you want to capture from the dropdown list.

OBS LIVE STREAM

  • Confirm Settings: Keep other settings default and click OK.

OBS LIVE STREAM

OBS LIVE STREAM

  • Check Live Stream: On your local computer’s web browser, ensure the live stream displays correctly.

OBS LIVE STREAM

OBS LIVE STREAM

  • Disconnect RDP: Once confirmed, disconnect from RDP.

OBS LIVE STREAM

  • Connect via TightVNC Reconnect to your server using TightVNC.
  • Start/Stop Stream: In OBS, click Stop Stream if it’s streaming but showing a blank screen. Then click “Start Streaming” to begin the live stream.
  •  Verify Stream: Check the web browser on your local computer to ensure the live stream is active.
  • Disconnect TightVNC: Once everything is working, you can disconnect TightVNC.

BEST SOLUTION

Use a Dedicated Streaming Server

For streamers who require a more robust solution, using a dedicated streaming server might be the best option. A Virtual Private Server (VPS) or dedicated machine specifically configured for live streaming can run OBS continuously without interruptions.

Benefits:

  • Higher performance and stability.
  • No reliance on a local machine.
  • Freedom to disconnect without affecting the stream.