fireship-io / 223-electron-screen-recorder

Episode 223 - Build a Screen Recorder with Electron
273 stars 146 forks source link

Screen recorder is not launching on ec2-instance (AWS) #4

Open ArunDhwaj opened 4 years ago

ArunDhwaj commented 4 years ago

Hello Jeff, First of all, thanks a lot for this very nice Video/Project for screen recording.

This app is working perfectly on local machines ( Linux: Ubuntu 18.04 LTS; and MacOS).

But the app is unable to launch on ec2 instance (AWS)

Can you please help here?

Note-1: Initially in running the app. I was facing the issue, which resolved by installing the lib xcb.so.1

sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 ...

Now I'm able to successfully run this on ec2 instance: $ npm start.

ubuntu@ip-172-xx-xx-xx7:~/home$ npm start

xxxx@1.0.0 start /home/ubuntu/demo_streamming electron-forge start

✔ Checking your system ✔ Locating Application ✔ Preparing native dependencies ✔ Launching Application

Note-2: Unable to Launch the application App is not launching.

Thanks & Regards, Arun Dhwaj