-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
White screen when login after logout #271
Comments
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 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 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 @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
The text was updated successfully, but these errors were encountered: