I'm working remotely, using the Secure Shell App to ssh to my Linux machine from my Mac via the browser (https://chrome.google.com/webstore/detail/secure-shell-app/pnhechapfaindjhompbnflcldabbghjo)
editing with vim and building works fine but when I try to run the tests over ssh it fails with the following error:
e.g.
ninja -C out/LinuxDebug -j2000 -l20 content_unittests && time out/LinuxDebug/content_unittests --gtest_filter="*RTCRtpSenderTest*"
[25850:25850:0409/235335.264732:566828105821:FATAL:x11_event_source.cc(104)] Check failed: display_.
#0 0x7f8731f8155d base::debug::StackTrace::StackTrace()
#1 0x7f8731f7fb1c base::debug::StackTrace::StackTrace()
#2 0x7f873200692a logging::LogMessage::~LogMessage()
#3 0x7f8719683411 ui::X11EventSource::X11EventSource()
#4 0x7f8719693611 ui::X11EventSourceGlib::X11EventSourceGlib()
#5 0x7f8719693dd9 ui::PlatformEventSource::CreateDefault()
#6 0x7f8728b2a205 aura::Env::Init()
#7 0x7f8728b2a066 aura::Env::CreateInstance()
#8 0x000003892fdc aura::AuraTestSuiteSetup::AuraTestSuiteSetup()
#9 0x0000035755e3 content::UnitTestTestSuite::UnitTestTestSuite()
#10 0x0000023db524 main
#11 0x7f871b32e2b1 __libc_start_main
#12 0x000000b5002a _start
works fine over Chrome Remote Desktop though.
The fun thing is that even interactive_ui_tests run fine, with the correct command line args, so how come content_unittests can't be run? Are there similar magic command line args that would make it work? (I tried '--use-headless-config' as per Issue 480040 but it didn't help).
Comment 1 by awdf@chromium.org
, Apr 12 2018