Question / Help Failed to initialize video running from remote

FUBAR

New Member
I run a stream from remote on windows but window capture doesn't work so someone recommended switching to linux awhile back as it was better suited to what I was trying to do. Built a new machine this week and tried to run OBS Studio and just get Failed to initialize video: unspecified error. Hooked up a monitor to the machine and logged in locally and OBS starts up fine. Seems it's not finding opengl for some reason. Any solution to this issue? The line in the terminal output says: libGL error: failed to load driver: swrast

Code:
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Default.qss
Attempted path: /usr/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: Processor: 8 logical cores
info: Processor: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
info: Physical Memory: 16067MB Total
info: Kernel Version: Linux 3.13.0-41-generic
info: Distribution: "Ubuntu" "14.04"
QObject::connect: invalid null parameter
info: OBS 0.14.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
   samples per sec: 44100
   speakers:  2
libGL error: failed to load driver: swrast
error: ARB_GLX_create_context not supported!
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video:  Unspecified error
libGL error: failed to load driver: swrast
info: Freeing OBS context data
QPaintDevice::metrics: Device has no metric information
info: == Profiler Results =============================
info: run_program_init: 2226.92 ms
info:  ┣OBSApp::AppInit: 0.874 ms
info:  ┃ ┗OBSApp::InitLocale: 0.698 ms
info:  ┗OBSApp::OBSInit: 35.319 ms
info:  ┣obs_startup: 0.598 ms
info:  ┗OBSBasic::OBSInit: 18.604 ms
info:  ┣OBSBasic::InitBasicConfig: 0.143 ms
info:  ┣OBSBasic::ResetAudio: 0.04 ms
info:  ┗OBSBasic::ResetVideo: 18.373 ms
info: obs_hotkey_thread(25 ms): min=0.044 ms, median=0.372 ms, max=3.307 ms, 99th percentile=3.307 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.003 ms, median=0.015 ms, max=0.074 ms, 99th percentile=0.074 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.106 ms, median=25.473 ms, max=28.416 ms, 54.1176% within ±2% of 25 ms (0% lower, 45.8824% higher)
info: =================================================
info: Number of memory leaks: 128
 
Top