-
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
Daemon not found on Fedora 28 #49
Comments
Thank you for reporting! As a "first aid" you can disable the check for docker daemon in x11docker code at line 3384. Obviously the docker daemon does no longer run with name
|
Thanks a lot! It was as stupid as that. I'm so sorry for wasting your time. I am about to drop the BTW, congratulations. Not only because of x11docker, but also because of kaptain. I'm leaving this issue open for you to close it when you push a fix that checks the daemon name. But it is solved for me, so you can close whenever you want. |
…ose --hostdisplay if nothing else works
It is a great help that you reported the bug! Although it was small, it rendered x11docker useless on fedora. x11docker now also checks for Another bug showing up was that x11docker tried to run And I see some errors about file descriptors I have to investigate further. It seems I have to do some extensive tests on fedora and other systems whether x11docker runs on them without failures. I did major code changes in the last weeks that may not work on all systems. If you run
I have considered to support X servers on Windows, too. Though, I don't have a working Windows installation. I got Win10 preinstalled on my laptop, but changed the hard disk. Win10 refuses to start on the same machine and same hard disk plugged in as usb drive. I cussed a bit and gave up the idea of supporting Windows. Though, it should not be too hard. I could add an option
Thank you! :-) |
Bugfix is now part of release v4.3.3. |
About Xming: I had a look at some documentation and found that it should already be possible to use x11docker with Xming. There is a "Start program" dialog in Xming.
The point is: if x11docker finds a valid |
Glad to hear that! I will try it and keep you posted. |
I have the similar bug on Ubuntu 15.04: $ x11docker <image-name>
x11docker note: Using X server option --hostdisplay
x11docker note: To allow protection against X security leaks,
please install one or more of:
nxagent, xpra, Xephyr, weston+Xwayland, kwin_wayland+Xwayland or Xnest.
or run a second Xorg server with option --xorg.
x11docker WARNING: Option --hostdisplay provides only low container isolation!
It is recommended to use another X server option like --nxagent or --xpra.
To improve security with --hostdisplay x11docker uses untrusted cookies.
This can lead to strange behaviour of some applications.
If you encounter issues, enable option --clipboard that disables security
settings for --hostdisplay by the way.
x11docker ERROR: Please make sure docker daemon is running.
Try as root: 'systemctl start docker'
Type 'x11docker --help' for usage information
For debugging, run x11docker in terminal and/or enable option '--verbose'
or look afterwards at logfile <home>/.cache/x11docker/x11docker.log
Please report issues at https://github.com/mviereck/x11docker
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Might be my old docker version: $ docker --version
Docker version 1.9.1, build a34a1d5 |
@maccradar Thanks for reporting!
|
Strangely, the daemon is called 'docker' on my system: $ pidof dockerd
$ pidof dockerd-current
$ pidof docker
11422
$ ps aux | grep dockerd
11645 0.0 0.0 9992 2488 pts/1 S+ 11:32 0:00 grep --color=auto dockerd
$ ps aux | grep docker
11422 0.2 0.4 448536 40288 ? Ssl 11:30 0:00 /usr/bin/docker daemon -H fd://
11664 0.0 0.0 9992 2364 pts/1 S+ 11:32 0:00 grep --color=auto docker |
That is really strange. I will publish an update soon. Meanwhile you can remove:
at about line 3384. |
OK, thanks for the fast response! I really need to upgrade to a new LTS because this ubuntu config is getting old 😄 |
Several bugfixes for --nothing More clear codeflow for xinit and container Improved message handling with message.fifo support for elogind with --dbus-system
I've made an update to master branch. |
I have a freshly installed Fedora 28 (vanilla, i.e., with Gnome Shell). After I start docker with
systemctl start docker
, I can run e.g.docker run --rm -it debian:buster-slim bash
:However, when I try with x11docker I get:
I tried with
--hostdisplay
too:I also tried running x11docker with sudo and installing
nxagent
. But I get the same result.The verbose option does not produce any output. The log file is empty.
Previously I was successfully using this script in Fedora 25, Fedora 26 and Windows 10 (with Xming). Therefore, I don't mind using the least secure options that x11docker provides (for now). What's the most straightforward solution to achieve it?
My target, after a simple image works, is to run image
btdi/texstudio
.The text was updated successfully, but these errors were encountered: