-
Notifications
You must be signed in to change notification settings - Fork 379
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
x11-docker to use latest desktops like gnome3 or others #16
Comments
Hi,
You can use option As all installed packages get lost this way, I prefer to customize the dockerfile. For example, you can create a dockerfile with some desired extra packages:
Build with
Currently I am trying out several desktop environments for x11docker. New images already on docker hub are Unfortunately, Gnome 3 and related desktops like Cinnamon, Budgie and Pantheon still refuse to work in docker images. I am not sure about the core reasons, maybe some systemd/logind dependencies that won't work in a container. I will give it some more tries, it would be cool to have Gnome 3 and Cinnamon in a container. As a quite new desktop in development, you may like Liri: https://hub.docker.com/r/lirios/unstable/
You mean your "real" home dir? You can set |
x11docker has new options This makes it possible to run desktop environments that need some daemon services in background. For
For
|
x11docker supports two new desktop environments. One is
The other one is
|
Meanwhile I've created several images containing a desktop environment: https://hub.docker.com/u/x11docker/ Gnome 3 and its forks Budgie and Pantheon are still missing. There seems to be serious bugs in gnome-shell and libmutter causing segfaults regardless what I try to adjust. |
@mviereck Did you try to run GNOME3 with working dbus/systemd as used here for snapd? |
Yes, I did. x11docker provides a similar setup with |
I found a GNOME docker repository and updated it: Dockerfile-Ubuntu-Gnome. It runs GNOME in a VNC server (which is probably harder than using a X server directly). Starting some components in
Unfortunately, the full |
The commands in
Yes, I failed to run them, too. Sometimes I find a segfault of My last attempts to get I'd like to get Gnome 3 running in a container, but I am skeptic. It seems to be too buggy. |
Did you see this tutorial? |
Did you try the setup? I don't see any Gnome 3 specific configuration and doubt that it will work. I see the screenshots, but it might be just some luck that it did not crash. |
I tested it on my laptop with Ubuntu desktop 19.04 with running Gnome 3 (without docker) and it worked as described in the tutorial. There were some conflicts with daemons/indicators (like Seafile, Nextcloud) started multiple times though... Further, I installed Ubuntu server 19.04 in a VirtualBox VM and followed the tutorial which equally worked! I just simply followed the tutorial which also starts PS: I filed an upstream bug. |
Thank you for insisting and investigating! I seems that some serious bugs in libmutter are fixed. In some tests I was able to run I found one X configuration in x11docker that still caused Gnome 3 segfaults. Gnome 3 crashes if X extension I've enabled Example:
It seems there is no general issue that prevents
|
I have created a dockerfile that provides some additional appliations and extensions:
However, I am not entirely happy.
|
Thank you so much for your investigation! Your example is working out of the box for me!
Maybe you can submit it upstream since you discovered it? This should be the corresponding project location.
I did some further tests (see below) and also noticed that control center does not work. I think we should create bugs upstream here as well. I got Ubuntu with GNOME 3 in VNC within Docker running as well finally!!! I experienced similar problems too. |
A Dockerfile for budgie desktop, a Gnome 3 fork:
Seems to work, I got no segfaults so far. (The fork seems to have less issues than the original ...). Budgie needs |
Thanks for your work! It would be nice if you add builds on |
However, this will take a bit of time, I have some other projects in RL yet. I'll close here for now. If you make some progress on the Gnome issues or open further Gnome bug tickets, please let me know. |
List of upstream bug reports |
The solution for the GNOME apps ( @mviereck Could you please add your segfault to gnome-control-center bug? I could only reproduce the assertion failure. |
But why?
I cannot reproduce the segfault, sorry. Probably I confused it with the segfault of I've fixed a possible issue: x11docker now runs |
In my VNC version, I start the session via |
Some more information about my VNC setup: I start the docker container with While testing a bit with x11docker, I got some errors because of invalid container names (when passing a command containing a slash like |
I am currently trying your VNC setup. A build with EDIT: The full Ubuntu desktop works! The VNC setup comes up as well as x11docker with:
Thanks! Is fixed now. |
I forgot to change the comment. It's updated now in the repo:
I don't know what your |
Now it sort of works. I have published an experimental Gnome 3 Dockerfile and a Gnome 3 image on Docker hub. Some issues remain. Most annoying:
x11docker does a similar setup with |
Thanks for your work 👍
My Ubuntu desktop works in VNC for several days now.
I have the same problem in my VNC setup. |
You could check |
You should update your README on Docker hub since
Wrong. Starting with This is my working Dockerfile:
Running with
|
Indeed.
Indeed, great! I don't know why there is a difference between ubuntu and debian. I should change my image to ubuntu base. (EDIT: change done) If you still have the logout issue in your VNC setup, you could check your dbus user service with BTW: With EDIT: EDIT2:
|
It is running in my setup. I guess I should take some time and make a concept which behavior I want. Should logout really close the session and stop the VNC server? Maybe it would be better to somehow forward this request to close the VNC session but keep the server running.
Indeed I have the same problem in my VNC setup. Your idea about BTW:
Since it started as a fork, it used the settings from upstream. I updated the settings to support issues now.
Thanks for your information! I updated my |
Hi
I've just tested x11docker with lxde, with
./x11docker --desktop --size 1920x1080 --xorg --gpu --vt 4 x11docker/lxde --home
unfortunately, in this image, I found no way of sudoing and install packages.
A really cool application would be to switch between several desktop distros and test the latest ones with all gpu acceleration, and home dir shared. This is like https://github.com/ustuehler/lxc-desktop (which unfortunately doesn't work for me in xenial)
I wouldn't really care about security. This seems like a very cool application.
The text was updated successfully, but these errors were encountered: