Open vemonet opened 2 years ago
The issue happens when you logout, then try to log back in, even when using the image locally. The desktop app bar at the bottom is not there anymore
It is due to x:wm
being in EXITED
status when the python backend checks the processes status with supervisorctl
I found a way to mitigate this by restarting x:wm
if it is found to be in EXITED
status when doing the check
You can find the changes here: https://github.com/vemonet/docker-ubuntu-vnc-desktop/blob/develop/rootfs/usr/local/lib/web/backend/vnc/state.py#L44
Not sure if this is optimal, but it fixes the issue for us! Locally and when deploying on Kubernetes
You can use it with the published docker image ghcr.io/vemonet/docker-ubuntu-vnc-desktop:latest
docker run -p 6080:80 -v /dev/shm:/dev/shm -e PASSWORD=pass -e HTTP_PASSWORD=pass -e VNC_PASSWORD=pass ghcr.io/vemonet/docker-ubuntu-vnc-desktop:latest
I also added a GitHub Action workflow that I could contribute, to automatically build and publish an image to the GitHub Container Registry at each push to the develop
branch.
@fcwu Let me know if you are interested for me to send a pull request for one or both features!
Describe the bug White screen when login to the web UI after logout
To Reproduce Steps to reproduce the behavior:
Expected behavior Should be able to re-login
Versions (please complete the following information):
Additional context
Error message printed by the server:
It is due to this line: https://github.com/fcwu/docker-ubuntu-vnc-desktop/blob/develop/rootfs/usr/local/lib/web/backend/vnc/state.py#L31
It's weird because it I try to run this from the terminal with
os.system
instead ofgevent.subprocess
after connecting with the root user it works:But it does not work with
gevent
:@fcwu do you have any idea where it could come from? I'll look into it more deeply and try to fix this in my fork https://github.com/vemonet/docker-ubuntu-vnc-desktop