danielcardeenas/sulla

Sulla with in VPS and browser client

andreynobre opened this issue · 3 comments

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?

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.

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

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.