Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to screencat #64

Open
kernelfreak opened this issue Feb 15, 2017 · 11 comments
Open

Cannot connect to screencat #64

kernelfreak opened this issue Feb 15, 2017 · 11 comments

Comments

@kernelfreak
Copy link

Hello friends,

I have installed screencat on my local Ubuntu 16.10 system. I have also installed robotjs and electron from the links given in guide. However, when I start it, it shows it has started, but no UI and no idea how to connect to it or show the html page.

This is what I see when I issue npm start

npm start

> screencat@4.2.0 start /usr/local/lib/node_modules/screencat
> electron electron.js

(electron) ipc module is deprecated. Use require("electron").ipcMain instead.
ready

How can I connect to screencat? Thank you.

@PUGE
Copy link

PUGE commented Feb 16, 2017

You can build your own server
1.install + run server
npm install cat-lobby -g
cat-lobby
2.modify peer.js var server = 'http://catlobby.maxogden.com' to var server = 'http://localhost:5005'
3.run
npm run start

@kernelfreak
Copy link
Author

@PUGE : So, this is what I did, in node_modules directory, I installed cat-lobby via the command you provided. Then I ran it. I get in console listening on 5005. And then changed the line in peer.js, which I saw was just commented, so uncommented it. Now when I run localhost:5005, I get resource not found. Do I also need to change the remoteConfigURL to something else? I changed the first URL in it to localhost:5005, still no luck. Thank you.

@PUGE
Copy link

PUGE commented Feb 16, 2017

try
1.Clone or download https://github.com/PUGE/screenShare
2.cd screenShare
3.npm i
4.npm run lobby
5.(Create a new window) npm run start

@kernelfreak
Copy link
Author

@PUGE
Copy link

PUGE commented Feb 16, 2017

Are you running on mac? Is there a cat in the upper right corner?

@kernelfreak
Copy link
Author

@PUGE Nope, its Ubuntu Linux 16.10. No cat unfortunately anywhere on my system.

@PUGE
Copy link

PUGE commented Feb 16, 2017

Maybe this project can only run on the mac

@redanium
Copy link

@kernelfreak I'm running it on ubuntu 16.04 x64 and I got the cat in the taskbar and got the ui for sharing and joining ....etc.Otherwise, I'm having another problem related with the window to show ,telling me :
A JavaScript error occurred in the main process Uncaught Exception: TypeError: Cannot read property 'show' of undefined at EventEmitter.<anonymous> (/home/redanium/Projects/webRTC/screencat/electron.js:49:14) at emitTwo (events.js:87:13) at EventEmitter.emit (events.js:172:7) at EventEmitter.<anonymous> (/home/redanium/Projects/webRTC/screencat/node_modules/electron-prebuilt/dist/resources/atom.asar/browser/api/web-contents.js:134:25) at emitTwo (events.js:87:13) at EventEmitter.emit (events.js:172:7)

@Nebula-Spark
Copy link

@redanium Do you Found any solution after that ?,, Even i am facing the same issue !!

@bhushankummar
Copy link

Did anyone able find the solution?

@hafiztahajamil
Copy link

I face a similar problem while joining a remote screen
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants