Current time: 01-29-2020, 03:09 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nodejs on Ubuntu
06-26-2015, 04:26 AM
Post: #5
RE: Nodejs on Ubuntu
I managed to get a result using 32bit Debian Wheezy but for some reason the second test run is still failing in the same manner as the first was previously. I was previously using 64bit versions of Ubuntu Server so this may be a 32bit vs 64bit issue I was seeing before.

As a hack to test if using xvfb would work I chopped out the args and options variables from the spawn function (process_utils.js:366) and hard set the args in the xvfb command:

killall chrome -9
killall xvfb -9
killall Xvfb -9
killall xvfb-run -9
cd /home/test/
sudo -u test xvfb-run --server-args='-screen 0, 1024x768x16' google-chrome -start-maximized --disable-fre --enable-benchmarking --metrics-recording-only --remote-debugging-port=1234 > /dev/null &

This is the only way I've been able to get chrome running properly with devtools in a headless environment but im guessing this is causing the second run to fail for some reason. I've attached the full output.

The above xvfb solution could be implemented a little more elegantly however if you have any idea's as to the probable cause of the second run failing it would be very helpful. Would it normally close and respawn chrome or use the existing session? Are different args/options ever used when spawning chrome?

Any help is appreciated on this its so close!! Im happy to document the full process of getting this far if we can get this working as there are a few tweaks required.



Attached File(s)
.txt  wpt.txt (Size: 24.03 KB / Downloads: 107)
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Nodejs on Ubuntu - Sam8 - 06-24-2015, 07:55 AM
RE: Nodejs on Ubuntu - pmeenan - 06-25-2015, 12:07 AM
RE: Nodejs on Ubuntu - Sam8 - 06-25-2015, 02:36 AM
RE: Nodejs on Ubuntu - Sam8 - 06-25-2015, 12:12 PM
RE: Nodejs on Ubuntu - Sam8 - 06-26-2015 04:26 AM
RE: Nodejs on Ubuntu - Sam8 - 06-27-2015, 02:21 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)