OBS live stream stops after closing RDP
Remote Desktop Protocol (RDP) creates virtual GPU and audio devices to redirect images from your local computer’s camera and audio from its microphone to the Virtual Private Server (VPS). Once the RDP connection is established and OBS (Open Broadcaster Software) is launched, OBS detects and utilizes these virtual GPU and audio devices to record and stream, ensuring smooth functionality. However, when you disconnect from the RDP session, Windows Server removes these virtual devices as part of its garbage collection management process. With the RDP connection closed, the virtual GPU and audio devices are deemed unnecessary and are consequently removed from memory. This removal causes OBS to stop, as it relies on these virtual devices to continue its recording and streaming tasks.
Setting up TightVNC on the Server
- Download TightVNC: Get TightVNC from their official website.
https://www.tightvnc.com/download/2.8.81/tightvnc-2.8.81-gpl-setup-64bit.ms
Click the next
- Install TightVNC: Follow the setup wizard. When prompted, select Complete as the setup type.
- Continue Installation: Keep clicking Next until you reach the Install button, then click it.
Click the next
- Set Password: After installation, you’ll be prompted to set a password for the TightVNC server. Set your password and click OK .
- Finish Setup: Click the Finish button to complete the installation.
- 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.
Setting up RealVNC Viewer on your local computer
- Download RealVNC Viewer: Get RealVNC Viewer from their official website.
https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.11.1-Windows.exe
- 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.
- 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 (default is 219). For example: 64.49.9.219
- Connect: Press the Enter key on your keyboard to connect.
Setting up OBS is a step-by-step process:
- 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.
- Add Source: In OBS, under the Source section, click the plus icon and select Window Capture.
- Configure Window Capture: Describe the capture briefly, then click OK.
- Choose Window: Select the window you want to capture from the dropdown list.
- Confirm Settings: Keep other settings default and click OK.
- Check Live Stream: On your local computer’s web browser, ensure the live stream displays correctly.
- Disconnect RDP: Once confirmed, disconnect from RDP.
- 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.
Updated on: 26/08/2025
Thank you!