tallero / GNUColab

A persistent Google Colab notebook that lets you run a full GNU desktop.
119 stars 33 forks source link

some more issues #2

Closed genvara closed 3 years ago

genvara commented 3 years ago

Again, this notebook is running at default settings.

Running the "Simple Keep Alive" cell at the "Persistence" section of the notebook would keep running and won't execute successfully, will keep spamming "Error: Can't open display: (null) Failed creating new xdo instance" (had to manually interrupt to stop it) image The "Restore" cell looks like it runs successfully, but it doesn't? it outputs "No such file or directory" so i don't think it's running correctly? maybe im wrong. image Oh, and this just doesn't work lol image This also doesn't work image The "Connect" cell also doesn't work, reverse proxy is disabled. image Here is the "Connect" cell config: image

And here's some suggestions:

tallero commented 3 years ago

Running the "Simple Keep Alive" cell at the "Persistence" section of the notebook would keep running and won't execute successfully, will keep spamming "Error: Can't open display: (null) Failed creating new xdo instance" (had to manually interrupt to stop it)

Press this button from the desktop environment to keep this machine alive for 12 hours.

It means inside VNC session. I will split persistence in load/save + no suspend. I don't like the fact that the to keep the machine turned on we have to run a graphical session, maybe at some point we will have a better alternative.

tallero commented 3 years ago

@genvara Apart from the one in the Connect cell, all those errors were non-blocking, I should have fixed them completely in the last commit.

I recommend trying to implement pyngrok as a way to connect to the notebook (https://github.com/alexdlaird/pyngrok)

I did not implement ngrok partly because it is closed-source, but mostly because reverse ssh was the fastest option for a VNC session; I thought that if people just needed a simple universal way to connect they could use Tor anyway (just for connection, inside the session one can run whatever he wants (anydesk, chrome remote desktop, etc.).

I know there is code for ngrok integration in avatarify, we could look there if the licenses are compatible.