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

Sulla with in VPS and browser client #365

Open
andreynobre opened this issue Jun 1, 2020 · 3 comments
Open

Sulla with in VPS and browser client #365

andreynobre opened this issue Jun 1, 2020 · 3 comments

Comments

@andreynobre
Copy link

Hello everyone,

The Sulla it's work in VPS, It's a great! but i need know if Sulla work's in VPS and the client can to open the web whatsapp in your computer?

@lhgrigio
Copy link

lhgrigio commented Jun 2, 2020

Sulla works as a regular Web Whatsapp session, if there is a second session for the same account open on another browser it will not work, similar to the regular web sessions.

@andreynobre
Copy link
Author

when I use this in my pc It's work:

sulla.create("chat",()=>{},{headless:false}).then((client) => start(client));
function start(client) {
client.onMessage((message) =>

So, I want to know if it is possible to open this google chrome on my pc via VPS, because it gives an error when I run it because I am not in the graphical interface

@lhgrigio
Copy link

lhgrigio commented Jun 2, 2020

Oh I see, you won't be able to see the same session in 2 different browsers (The Node running Sulla counts as one), I'm assuming that the VPS does not have a graphical interface installed? If that is the case you can install one and access it it via VNC or something similar so you can view the browser.

Or develop it locally so you can view the browser and then move it to the VPS when it's no longer needed.

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

2 participants