fcwu / docker-ubuntu-vnc-desktop

A Docker image to provide web VNC interface to access Ubuntu LXDE/LxQT desktop environment.
Apache License 2.0
3.98k stars 1.44k forks source link

Novnc Webclient not working with Raspberry #202

Open n3me5is-git opened 4 years ago

n3me5is-git commented 4 years ago

I built the image for the raspberry PI, I can connect with a VNC client but not with the browser client (novnc) The docker logs are

2020-08-14 16:46:04,011 INFO spawned: 'x11vnc' with pid 60
2020-08-14 16:46:04,126 INFO spawned: 'web' with pid 61
Traceback (most recent call last):
  File "/usr/local/lib/web/backend/run.py", line 9, in <module>
    from vnc.util import ignored
  File "/usr/local/lib/web/backend/vnc/util.py", line 5, in <module>
    from gevent import GreenletExit
ModuleNotFoundError: No module named 'gevent'
2020-08-14 16:46:04,295 INFO exited: web (exit status 1; not expected)
2020-08-14 16:46:05,298 INFO success: pcmanfm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-08-14 16:46:05,298 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-08-14 16:46:06,307 INFO spawned: 'web' with pid 69
Traceback (most recent call last):
  File "/usr/local/lib/web/backend/run.py", line 9, in <module>
    from vnc.util import ignored
  File "/usr/local/lib/web/backend/vnc/util.py", line 5, in <module>
    from gevent import GreenletExit
ModuleNotFoundError: No module named 'gevent'
2020-08-14 16:46:06,508 INFO exited: web (exit status 1; not expected)
2020-08-14 16:46:09,521 INFO spawned: 'web' with pid 70
Traceback (most recent call last):
  File "/usr/local/lib/web/backend/run.py", line 9, in <module>
    from vnc.util import ignored
  File "/usr/local/lib/web/backend/vnc/util.py", line 5, in <module>
    from gevent import GreenletExit
ModuleNotFoundError: No module named 'gevent'
2020-08-14 16:46:09,679 INFO exited: web (exit status 1; not expected)
2020-08-14 16:46:10,681 INFO gave up: web entered FATAL state, too many start retries too quickly
n3me5is-git commented 4 years ago

Will it be possible to add in docker hub also the ARM version for the raspberry (32bit) for the latest image?

lightatzero commented 4 years ago

Got same issue yesterday morning. I hope this helps you @n3me5is-git :

diff --git a/rootfs/usr/local/lib/web/backend/run.py b/rootfs/usr/local/lib/web/backend/run.py --- a/rootfs/usr/local/lib/web/backend/run.py +++ b/rootfs/usr/local/lib/web/backend/run.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python

I changed python3 to python and followed the steps inhttps://github.com/fcwu/docker-ubuntu-vnc-desktop/issues/98