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

Soumya

OBS

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 / OBS

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.

TightVNC/ OBS

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

TightVNC/ OBS

3.Continue Installation: Keep clicking Next until you reach the Install button, then click it.
TightVNC/ OBS
4. Set Password: After installation, you’ll be prompted to set a password for the TightVNC server. Set your password and click OK .
TightVNC/ OBS
TightVNC/ OBS

5. Finish Setup: Click the Finish button to complete the installation.

6. Verify Running Status: Click the up arrow at the bottom right corner of your RDP window, next to the speaker icon, to ensure TightVNC is running.

Using RealVNC Viewer on your local computer

RealVNC/ OBS

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

OBS / REALVNC

  • Install RealVNC Viewer: Follow the setup wizard and click the Install button.
  • Complete Installation: Click the Finish button to exit the setup.
  • Launch RealVNC Viewer: Click the Windows start button and find RealVNC Viewer under Recently added. Click to run it.
  • Initial Setup: On the initial screen, uncheck Send anonymous usage data to help improve RealVNC Viewer. Then click Use RealVNC Viewer Without signing in.

OBS

  • Connect to Server: At the top, in the bar labeled Enter a VNC server address or search, enter your VPS IP address followed by a colon and the port number.
  • Connect: Press the Enter key on your keyboard to connect.

Setting up OBS

OBS

  • Connect via RDP: Log in to your server using Remote Desktop Protocol (RDP) and set up OBS.
  • Link OBS to Account: Connect OBS to the account where you’ll broadcast your live stream.

OBS

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

OBS

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

OBS

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

OBS

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

OBS

OBS

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

OBS

OBS

  • Disconnect RDP: Once confirmed, disconnect from RDP.

OBS

  • 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

OBS

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.