mviereck / x11docker

Run GUI applications and desktops in docker and podman containers. Focus on security.
MIT License
5.62k stars 378 forks source link

Minor problem with permissions and cygwin ~/.cache folder on windows #187

Closed cruizba closed 5 years ago

cruizba commented 5 years ago

Hi, first of all congrats for the project. I really like it. I had started a complete desktop with x11docker in Ubuntu without problems. In Windows I'm using xwin in cygwing installed.

When I use x11docker for the first time, it works correctly, problems start when I try to run x11docker after that first try. Some files created at '~/.cache' (C:\cygwin64\home\<username>\.cache\ in Windows) are created with some weird permissions. The output of x11docker is this:

x11docker note: Using X server option --xwin

x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

sed: can't read /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
/home/<username>/.cache/x11docker/x11docker-xfce-69725547864/xtermrc: line 23: /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
/usr/bin/x11docker: line 1062: /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
/usr/bin/x11docker: line 1062: /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied

x11docker ERROR: waitforlogentry(): container.CMD: Timeout waiting for log entry "containerrootrc=ready" in store.info.
  Last lines of logfile store.info:

  Type 'x11docker --help' for usage information
  Debug options: '--verbose' (full log) or '--debug' (log excerpt).
  Logfile will be: /home/<username>/.cache/x11docker/x11docker.log
  Please report issues at https://github.com/mviereck/x11docker

grep: /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
sed: can't read /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
/usr/bin/x11docker: line 850: /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
grep: /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
grep: /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
grep: /home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info: Permission denied
rm: cannot remove '/home/<username>/.cache/x11docker/x11docker-xfce-69725547864/share/store.info': Permission denied

I've tried to delete these files as admin, and the unique way I've been able to delete them was starting windows in safe mode and delete it with the file explorer. After removing these files, the first time you start x11docker again it works fine.

cruizba commented 5 years ago

Okay I see that stopping docker in windows let me remove that cached files.

mviereck commented 5 years ago

Thank you for reporting this! That is really weird.

Even if the file store.info is somehow left after terminating x11docker instead of being deleted, x11docker would not use it again. x11docker always creates a new cache folder with a different number on startup. And store.info is created with file access permission 666 (everyone can read and write). Should not matter in Cygwin, though.

I'll investigate.

mviereck commented 5 years ago

Okay I see that stopping docker in windows let me remove that cached files.

That is an important hint. Can you check if the container is still running after x11docker has terminated? Maybe x11docker fails to stop the container, and docker tries to keep some shared files.

Are there other files left than store.info in the cache? Could you run ls -l in cache and show me the output?

Unfortunately I cannot run docker in Windows on my laptop, so it is a bit hard to debug.

cruizba commented 5 years ago

Thanks for the fast reply :) That's the output after running x11docker --desktop -- x11docker/xfce

x11docker note: Using X server option --xwin

x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

/usr/bin/startxfce4: X server already running on display 10.0.75.1:3059
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found

(xfce4-session:245): xfce4-session-WARNING **: 15:21:46.560: xfsm_manager_load_session: Something wrong with /fakehome/Darwin/.cache/sessions/xfce4-session-10.0.75.1:3059, Does it exist? Permissions issue?

(xfsettingsd:270): libupower-glib-WARNING **: 15:21:46.847: Couldn't connect to proxy: Could not connect: No such file or directory

(xfsettingsd:270): libupower-glib-CRITICAL **: 15:21:46.848: up_client_get_lid_is_closed: assertion 'UP_IS_CLIENT (client)' failed

(xfsettingsd:270): GLib-GObject-WARNING **: 15:21:46.850: invalid (NULL) pointer instance

(xfsettingsd:270): GLib-GObject-CRITICAL **: 15:21:46.850: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xfsettingsd:270): GLib-CRITICAL **: 15:21:46.910: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:270): GLib-GObject-CRITICAL **: 15:21:46.915: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfsettingsd:270): GLib-GObject-CRITICAL **: 15:21:46.933: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfwm4:255): xfwm4-WARNING **: 15:21:47.126: The display does not support the XComposite extension.

(xfwm4:255): xfwm4-WARNING **: 15:21:47.127: Compositing manager disabled.

(xfwm4:255): GLib-CRITICAL **: 15:21:47.154: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:270): xfsettingsd-WARNING **: 15:21:47.159: Failed to get the _NET_NUMBER_OF_DESKTOPS property.

** (xfdesktop:263): WARNING **: 15:21:47.268: Thumbnailer failed calling GetFlavors

(xfdesktop:263): GLib-GObject-CRITICAL **: 15:21:47.271: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfwm4:255): xfwm4-WARNING **: 15:21:47.320: The property '/general/double_click_distance' of type int is not supported

(Thunar:261): dbind-WARNING **: 15:21:48.081: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(xfwm4:255): xfwm4-WARNING **: 15:21:49.884: Error opening /dev/dri/card0: No such file or directory

(xfce4-panel:259): libxfce4ui-WARNING **: 15:23:25.380: ICE I/O Error

(xfce4-panel:259): libxfce4ui-WARNING **: 15:23:25.381: Disconnected from session manager.

(xfce4-session:245): xfce4-session-WARNING **: 15:23:25.640: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(xfce4-session:245): xfce4-session-WARNING **: 15:23:25.643: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(exo-helper-1:287): dbind-WARNING **: 15:23:28.670: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
ThunarThumbnailer: Failed to retrieve supported types: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.thumbnails.Thumbnailer1 was not provided by any .service files

(exo-open:293): dbind-WARNING **: 15:23:33.761: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(exo-helper-1:295): dbind-WARNING **: 15:23:33.823: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
ThunarThumbnailer: Failed to retrieve supported types: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.thumbnails.Thumbnailer1 was not provided by any .service files

If I stop the process directly through the cygwin bash with a SIGINT it shows this:

(xfsettingsd:270): libxfce4ui-WARNING **: 15:28:03.134: ICE I/O Error

(xfsettingsd:270): libxfce4ui-WARNING **: 15:28:03.134: Disconnected from session manager.
xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3059.0.
wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3059.0.
wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3059.0.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3059.0.
DEBUGNOTE[15:28:04,194]: Received SIGINT
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-72021994678/share/store.info: Permission denied
/usr/bin/x11docker: line 850: /home/Darwin/.cache/x11docker/x11docker-xfce-72021994678/share/store.info: Permission denied
DEBUGNOTE[15:28:04,437]: storeinfo(): error=130
DEBUGNOTE[15:28:04,572]: Terminating x11docker.
DEBUGNOTE[15:28:04,712]: time to say goodbye (finish)
DEBUGNOTE[15:28:05,256]: finish(): Checking pid CONTAINER1467ff520d0332bd304ff69fc36c2a7dcb5e51113e6035e5d151bfbd85efff84 ():      2073    1612    1612       5552  pty0      197609 15:20:31 /usr/bin/bash
     2047    1612    1612       5320  pty0      197609 15:20:31 /usr/bin/bash
      421     420     421       6176  pty0      197609 15:19:01 /usr/bin/bash
     2053    2049    1612       4864  pty0      197609 15:20:31 /usr/bin/tail
     1612     421    1612      11284  pty0      197609 15:20:20 /usr/bin/bash
     2048    2046    1612       1724  pty0      197609 15:20:31 /usr/bin/tail
     2086    1612    1612       5104  pty0      197609 15:20:31 /usr/bin/bash
     5429    2073    1612       1896  pty0      197609 15:28:05 /usr/bin/bash
     2049    1612    1612       8928  pty0      197609 15:20:31 /usr/bin/bash
     5396    2086    1612       3440  pty0      197609 15:28:04 /usr/bin/sleep
     3877    2047    1612       7292  pty0      197609 15:21:06 /usr/bin/tail
     5428    5427    1612       3156  pty0      197609 15:28:05 /usr/bin/ps
      420       1     420       8064  ?         197609 15:19:01 /usr/bin/mintty
     2046    1612    1612      11772  pty0      197609 15:20:31 /usr/bin/bash
     5427    1612    1612      11796  pty0      197609 15:28:05 /usr/bin/bash
DEBUGNOTE[15:28:05,641]: finish(): Checking pid 2508 (containershell): (already gone)
DEBUGNOTE[15:28:06,003]: finish(): Checking pid 2086 (watchmessagefifo):      2086    1612    1612       5104  pty0      197609 15:20:31 /usr/bin/bash
DEBUGNOTE[15:28:06,386]: finish(): Checking pid 2073 (watchpidlist): (already gone)
DEBUGNOTE[15:28:07,216]: termpid(): Terminating 2086 (watchmessagefifo):      2086    1612    1612       5104  pty0      197609 15:20:31 /usr/bin/bash
grep: /home/Darwin/.cache/x11docker/x11docker-xfce-72021994678/share/store.info: Permission denied
DEBUGNOTE[15:28:07,713]: x11docker exit code: 0
grep: /home/Darwin/.cache/x11docker/x11docker-xfce-72021994678/share/store.info: Permission denied
grep: /home/Darwin/.cache/x11docker/x11docker-xfce-72021994678/share/store.info: Permission denied
DEBUGNOTE[15:28:08,012]: CMD exit code:
rm: cannot remove '/home/Darwin/.cache/x11docker/x11docker-xfce-72021994678/share/store.info': Permission denied

As i can see the last debug lines tries to remove the store.info file. After that if I run docker ps, no containers appears to be running. The files in my .cache folder after the first attempt are these:

$ ls -ld $(find .)
drwxr-xr-x+ 1 Darwin       Ninguno            0 Sep 21 15:19 .
drwxr-xr-x+ 1 Darwin       Ninguno            0 Sep 21 15:28 ./x11docker
-rw-r--r--  1 Darwin       Ninguno            9 Sep 21 15:20 ./x11docker/displaynumbers.19_09_21
-rw-r--r--  1 Darwin       Ninguno          115 Sep 21 15:20 ./x11docker/docker.imagelist
-rw-r--r--  1 Darwin       Ninguno       155663 Sep 21 15:28 ./x11docker/x11docker.log
drwxr-xr-x+ 1 Darwin       Ninguno            0 Sep 21 15:28 ./x11docker/x11docker-xfce-72021994678
drwxr-xr-x+ 1 Darwin       Ninguno            0 Sep 21 15:28 ./x11docker/x11docker-xfce-72021994678/share
-rw-r-----  1 Unknown+User Unknown+Group    200 Sep 21 15:21 ./x11docker/x11docker-xfce-72021994678/share/store.info
cruizba commented 5 years ago

Another interesting thing is that the unique file i cannot delete is specifically the store,info file.

mviereck commented 5 years ago

I've fixed one issue i see in the output of DEBUGNOTE[15:28:05,256]: finish(): Checking pid CONTAINER1467f .... The container id should not be handled as a pid. However, that still does not explain the store.info issue and is probably unrelated.

Another interesting thing is that the unique file i cannot delete is specifically the store,info file.

store.info is accessed within the container at a very late point to store the exit code of the final container command. Maybe store.info is deleted already at this point of time and causes trouble. Maybe x11docker should wait a bit for this possible entry (cmdexitcode) before terminating.

mviereck commented 5 years ago

Maybe x11docker should wait a bit for this possible entry (cmdexitcode) before terminating.

I've included a non-elegant hotfix to wait for the container exit code before deleting the cache. Maybe that helps. If yes, I'll think about a more proper solution.

Edit: Could you please run with --debug and show me the full output? That would help me to see if x11docker runs well in Windows overall and also shows all accesses to store.info.

cruizba commented 5 years ago

I'm not at home right now, but i'll check it today or tomorrow. Thanks for that quick fix :)

cruizba commented 5 years ago

Still not working, but at least the folder of each container created is removed inside .cache folder. Maybe the problem is related with the .cache folder that is somehow retained by docker.

x11docker ERROR: Could not create cache folder

Type 'x11docker --help' for usage information Debug options: '--verbose' (full log) or '--debug' (log excerpt). Logfile will be: Please report issues at https://github.com/mviereck/x11docker

DEBUGNOTE[15:52:01,532]: time to say goodbye (error) DEBUGNOTE[15:52:01,672]: traperror: Command at Line 424 returned with error code 1: [ -e "$Timetosaygoodbyefifo" ] 6836 - ::error::create_cachefiles::main::main DEBUGNOTE[15:52:01,798]: storeinfo(): error=64 DEBUGNOTE[15:52:02,022]: time to say goodbye (traperror) DEBUGNOTE[15:52:02,177]: storeinfo(): error=64 DEBUGNOTE[15:52:02,422]: Terminating x11docker. DEBUGNOTE[15:52:02,546]: time to say goodbye (finish) DEBUGNOTE[15:52:02,687]: traperror: Command at Line 502 returned with error code 1: [ -e "$Timetosaygoodbyefifo" ] 431 - ::finish::error::create_cachefiles::main::main DEBUGNOTE[15:52:02,825]: storeinfo(): error=64 DEBUGNOTE[15:52:03,048]: time to say goodbye (traperror) DEBUGNOTE[15:52:03,516]: Waiting for CMD exit code since 1s DEBUGNOTE[15:52:04,696]: Waiting for CMD exit code since 2s DEBUGNOTE[15:52:05,885]: Waiting for CMD exit code since 3s DEBUGNOTE[15:52:07,074]: Waiting for CMD exit code since 4s DEBUGNOTE[15:52:08,264]: Waiting for CMD exit code since 5s DEBUGNOTE[15:52:09,452]: Waiting for CMD exit code since 6s DEBUGNOTE[15:52:10,640]: Waiting for CMD exit code since 7s DEBUGNOTE[15:52:11,827]: Waiting for CMD exit code since 8s DEBUGNOTE[15:52:13,015]: Waiting for CMD exit code since 9s DEBUGNOTE[15:52:14,205]: Waiting for CMD exit code since 10s DEBUGNOTE[15:52:15,427]: x11docker exit code: 64

- First try without `--debug` option

$ x11docker --desktop -- x11docker/xfce x11docker note: Using X server option --xwin

x11docker note: Windows firewall settings can forbid application access to the X server. If no application window appears, but no obvious error is shown, please check your firewall settings. Compare issue #108 on github.

/usr/bin/startxfce4: X server already running on display 10.0.75.1:1759 xfce4-session: No GPG agent found xfce4-session: No SSH authentication agent found

(xfce4-session:243): xfce4-session-WARNING **: 16:32:49.178: xfsm_manager_load_session: Something wrong with /fakehome/Darwin/.cache/sessions/xfce4-session-10.0.75.1:1759, Does it exist? Permissions issue?

(xfsettingsd:267): libupower-glib-WARNING **: 16:32:49.478: Couldn't connect to proxy: Could not connect: No such file or directory

(xfsettingsd:267): libupower-glib-CRITICAL **: 16:32:49.478: up_client_get_lid_is_closed: assertion 'UP_IS_CLIENT (client)' failed

(xfsettingsd:267): GLib-GObject-WARNING **: 16:32:49.479: invalid (NULL) pointer instance

(xfsettingsd:267): GLib-GObject-CRITICAL **: 16:32:49.480: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xfsettingsd:267): GLib-CRITICAL **: 16:32:49.522: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:267): GLib-GObject-CRITICAL **: 16:32:49.525: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfsettingsd:267): GLib-GObject-CRITICAL **: 16:32:49.533: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfwm4:253): xfwm4-WARNING **: 16:32:49.750: The display does not support the XComposite extension.

(xfwm4:253): xfwm4-WARNING **: 16:32:49.751: Compositing manager disabled.

(xfwm4:253): GLib-CRITICAL **: 16:32:49.776: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:267): xfsettingsd-WARNING **: 16:32:49.813: Failed to get the _NET_NUMBER_OF_DESKTOPS property.

(xfdesktop:261): WARNING : 16:32:49.874: Thumbnailer failed calling GetFlavors

(xfdesktop:261): GLib-GObject-CRITICAL **: 16:32:49.876: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfwm4:253): xfwm4-WARNING **: 16:32:49.953: The property '/general/double_click_distance' of type int is not supported

(Thunar:259): dbind-WARNING **: 16:32:51.107: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(xfwm4:253): xfwm4-WARNING **: 16:32:52.908: Error opening /dev/dri/card0: No such file or directory

(xfce4-session:243): xfce4-session-WARNING **: 16:33:30.943: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(xfce4-session:243): xfce4-session-WARNING **: 16:33:30.949: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(xfsettingsd:267): libxfce4ui-WARNING **: 16:34:12.688: ICE I/O Error

(xfsettingsd:267): libxfce4ui-WARNING **: 16:34:12.689: Disconnected from session manager. xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:1759.0. wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:1759.0. wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:1759.0. xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:1759.0. DEBUGNOTE[16:34:13,734]: Received SIGINT DEBUGNOTE[16:34:13,936]: storeinfo(): error=130 DEBUGNOTE[16:34:14,348]: Terminating x11docker. DEBUGNOTE[16:34:14,517]: time to say goodbye (finish) DEBUGNOTE[16:34:14,897]: finish(): Checking pid 32137 (xpraloop): (already gone) DEBUGNOTE[16:34:15,227]: finish(): Checking pid 31936 (containershell): (already gone) DEBUGNOTE[16:34:15,559]: finish(): Checking pid 31432 (watchmessagefifo): 31432 30932 30932 10128 pty0 197609 16:32:06 /usr/bin/bash DEBUGNOTE[16:34:15,884]: finish(): Checking pid 31424 (watchpidlist): (already gone) DEBUGNOTE[16:34:16,737]: termpid(): Terminating 31432 (watchmessagefifo): 31432 30932 30932 10128 pty0 197609 16:32:06 /usr/bin/bash DEBUGNOTE[16:34:17,280]: x11docker exit code: 130 DEBUGNOTE[16:34:17,518]: CMD exit code: 0

- Second try without `--debug` option:

$ x11docker --desktop -- x11docker/xfce x11docker note: Using X server option --xwin

x11docker note: Windows firewall settings can forbid application access to the X server. If no application window appears, but no obvious error is shown, please check your firewall settings. Compare issue #108 on github.

sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/dockerrc: line 77: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/xtermrc: line 27: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 1089: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 1089: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 1089: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied

x11docker ERROR: waitforlogentry(): containerrc: Timeout waiting for log entry "containerrootrc=ready" in store.info Last lines of logfile store.info:

Type 'x11docker --help' for usage information Debug options: '--verbose' (full log) or '--debug' (log excerpt). Logfile will be: /home/Darwin/.cache/x11docker/x11docker.log Please report issues at https://github.com/mviereck/x11docker

grep: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 880: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied grep: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied cat: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 880: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied grep: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied /usr/bin/x11docker: line 611: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied grep: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied grep: /home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info: Permission denied rm: cannot remove '/home/Darwin/.cache/x11docker/x11docker-xfce-62894099848/share/store.info': Permission denied



Maybe a solution could be create a .cache-containerid folder each time x11docker run and remove it on SIGINT. I don't know what could be :(

Edit: Still working if i remove .cache after closing Docker Desktop
mviereck commented 5 years ago

Still not working, but at least the folder of each container created is removed inside .cache folder.

~/.cache/x11docker has no cache subfolders afterwards? That are good news. However, it is odd that the issue persists. It is also odd why only store.info is affected. Other files are accessed from container, too, especially share/stdout and share/stderr.

Maybe a solution could be create a .cache-containerid folder each time x11docker run and remove it on SIGINT. I don't know what could be :(

Currently x11docker creates a cache subfolder for each container in ~/.cache/x11docker and removes it afterwards. You assume that docker somehow retains ~/.cache/x11docker itself?

Maybe a solution could be create a .cache-containerid folder each time x11docker run and remove it on SIGINT. I don't know what could be :(

It would be possible to create a ~/.cache/x11docker-NNN for each container. But that would be an ugly workaround, not a real solution. I hope we'll find and fix the underlying issue.

I've tried to run with --debug option but it does not work /usr/bin/x11docker: line 977: Drive: unbound variable

I've fixed this issue, --debug should continue now. It stops x11docker on each minor error. Please try again with --debug.

cruizba commented 5 years ago

Currently x11docker creates a cache subfolder for each container in ~/.cache/x11docker and removes it afterwards. You assume that docker somehow retains ~/.cache/x11docker itself?

I think that because it is possible to delete the folder when docker is stopped, but I am not 100% sure.

It would be possible to create a ~/.cache/x11docker-NNN for each container. But that would be an ugly workaround, not a real solution. I hope we'll find and fix the underlying issue.

Yes, that would pollute the home folder of the user.

I've fixed this issue, --debug should continue now. It stops x11docker on each minor error. Please try again with --debug.

Ok, i have tried with --debug option. I've removed .cached folder and the output is that:

cker --desktop --debug -- x11docker/xfce
DEBUGNOTE[18:00:08,126]: traperror: Command at Line 5852 returned with error code 1:
  source /etc/os-release 2> /dev/null
  7932 - ::check_host::main::main
DEBUGNOTE[18:00:08,258]: storeinfo(): error=64
DEBUGNOTE[18:00:08,517]: time to say goodbye (traperror)
DEBUGNOTE[18:00:10,279]: check_parent_sshd(): Failed to check for sshd. ps -p not supported.
DEBUGNOTE[18:00:10,670]: check_host(): ps can watch root processes: yes
DEBUGNOTE[18:00:15,895]: traperror: Command at Line 6912 returned with error code 1:
  find $Cachebasefolder/displaynumbers.* 2> /dev/null
  7935 - ::create_cachefiles::main::main
DEBUGNOTE[18:00:16,038]: storeinfo(): error=64
DEBUGNOTE[18:00:16,272]: time to say goodbye (traperror)
DEBUGNOTE[18:00:16,501]: storeinfo(): cache=/home/Darwin/.cache/x11docker/x11docker-xfce-68007572269
DEBUGNOTE[18:00:16,734]: storeinfo(): stdout=/home/Darwin/.cache/x11docker/x11docker-xfce-68007572269/share/stdout
DEBUGNOTE[18:00:16,967]: storeinfo(): stderr=/home/Darwin/.cache/x11docker/x11docker-xfce-68007572269/share/stderr
DEBUGNOTE[18:00:17,433]: traperror: Command at Line 7943 returned with error code 1:
  source /etc/os-release 2> /dev/null
  8126 - ::main::main
DEBUGNOTE[18:00:17,566]: storeinfo(): error=64
DEBUGNOTE[18:00:17,806]: time to say goodbye (traperror)
DEBUGNOTE[18:00:17,958]:
x11docker version: 6.3.0-beta
docker version:    Docker version 19.03.2, build 6a30dfc
Host system:       MSWindows-CYGWIN
Command:           '/usr/bin/x11docker' '--desktop' '--debug' '--' 'x11docker/xfce'
Parsed options:     --desktop --debug -- 'x11docker/xfce'
DEBUGNOTE[18:00:18,105]: --xephyr: Neither Xephyr nor Xnest found.
  You can look for the package name of this command at:
 https://github.com/mviereck/x11docker/wiki/dependencies#table-of-all-packages
DEBUGNOTE[18:00:18,239]: --xephyr needs a running X server. DISPLAY is empty.
DEBUGNOTE[18:00:18,373]: Dependency check for --xephyr: 1
DEBUGNOTE[18:00:18,508]: --xephyr not possible: missing dependencies.
DEBUGNOTE[18:00:18,640]: Dependency check for --xwin: 0
DEBUGNOTE[18:00:18,777]: Dependencies of --xwin already checked: 0
DEBUGNOTE[18:00:18,917]: Dependencies of --xwin already checked: 0
DEBUGNOTE[18:00:19,066]: Dependencies of --xwin already checked: 0
x11docker note: Using X server option --xwin

DEBUGNOTE[18:00:19,222]: storeinfo(): xserver=--xwin
x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

DEBUGNOTE[18:00:21,049]: waitforlogentry(): tailstderr: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[18:00:21,059]: waitforlogentry(): tailstdout: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[18:00:21,450]: time to say goodbye (watchpidlist)
DEBUGNOTE[18:00:21,556]: storepid(): Stored pid '1270' of 'watchpidlist':      1270     635     635       5600  pty0      197609 18:00:21 /usr/bin/bash
DEBUGNOTE[18:00:21,835]: storepid(): Stored pid '1286' of 'watchmessagefifo':      1286     635     635       9364  pty0      197609 18:00:21 /usr/bin/bash
DEBUGNOTE[18:00:22,056]: waitforlogentry(): tailstdout: Stopped waiting for x11docker=ready in store.info due to terminating signal.
DEBUGNOTE[18:00:22,044]: waitforlogentry(): tailstderr: Stopped waiting for x11docker=ready in store.info due to terminating signal.
DEBUGNOTE[18:00:23,026]: storeinfo(): DISPLAY=10.0.75.1:1611
DEBUGNOTE[18:00:23,262]: storeinfo(): XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-68007572269/share/Xauthority.client
DEBUGNOTE[18:00:23,498]: storeinfo(): XDG_RUNTIME_DIR=
DEBUGNOTE[18:00:23,737]: storeinfo(): Xenv= DISPLAY=10.0.75.1:1611 XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-68007572269/share/Xauthority.client XDG_RUNTIME_DIR=
DEBUGNOTE[18:00:24,250]: X server command:
  /usr/bin/XWin :1611  \
  -retro \
  +extension RANDR \
  +extension RENDER \
  +extension GLX \
  +extension XVideo \
  +extension DOUBLE-BUFFER \
  +extension SECURITY \
  +extension DAMAGE \
  +extension X-Resource \
  -extension XINERAMA -xinerama \
  -extension MIT-SHM \
  -extension Composite -extension COMPOSITE \
  -extension XTEST -tst \
  -dpms \
  -s off \
  -auth /home/Darwin/.cache/x11docker/x11docker-xfce-68007572269/Xauthority.server \
  -listen tcp \
  -nowgl \
  -lesspointer \
  -screen 0 4720x3840 \
  -noclipboard \
  -iglx
DEBUGNOTE[18:00:24,448]: Users and terminal:
  x11docker was started by:                       Darwin
  As host user serves (running X, storing cache): Darwin
  Container user will be:                         Darwin
  Container user password:                        x11docker
  Getting permission to run docker with:          eval
  Terminal for password frontend:                 bash -c
  Running in a terminal:                          yes
  Running on console:                             no
  Running over SSH:                               no
  Running sourced:                                no
  bash $-:                                        huBE
DEBUGNOTE[18:00:25,030]:
  Running on Windows subsystem:                   CYGWIN
  Path to subsystem:                              C:/cygwin64
  Mount path in subsystem:                        /cygdrive/
DEBUGNOTE[18:00:25,172]: storeinfo(): containername=x11docker_X1611_x11docker-xfce_68007572269
DEBUGNOTE[18:00:27,898]: Docker command:
  docker.exe run --tty --rm --detach \
  --name x11docker_X1611_x11docker-xfce_68007572269 \
  --user 197609:197121 \
  --env USER=Darwin \
  --userns host \
  --cap-drop ALL \
  --security-opt no-new-privileges \
  --security-opt label=type:container_runtime_t \
  --init \
  --tmpfs /run --tmpfs /run/lock \
  --volume '/c/cygwin64/home/Darwin/.cache/x11docker/x11docker-xfce-68007572269/share':'/x11docker':rw \
  --workdir '/tmp' \
  --entrypoint env \
  --env 'container=docker' \
  --env 'XAUTHORITY=/x11docker/Xauthority.client' \
  --env 'DISPLAY=10.0.75.1:1611' \
  --env 'XDG_RUNTIME_DIR=/tmp/XDG_RUNTIME_DIR' \
  -- x11docker/xfce  /bin/sh - /x11docker/containerrc
DEBUGNOTE[18:00:32,575]: storepid(): Stored pid '1741' of 'containershell':      1741     635     635      12996  pty0      197609 18:00:32 /usr/bin/bash
DEBUGNOTE[18:00:32,849]: waitforlogentry(): start_xserver(): Waiting for logentry "readyforX=ready" in store.info
DEBUGNOTE[18:00:33,458]: waitforlogentry(): start_docker(): Waiting for logentry "dockerrc=ready" in store.info
DEBUGNOTE[18:00:33,717]: waitforlogentry(): start_xserver(): Stopped waiting for readyforX=ready in store.info due to terminating signal.
DEBUGNOTE[18:00:33,868]: traperror: Command at Line 8114 returned with error code 1:
  return 1
  8126 - ::main::main
DEBUGNOTE[18:00:34,013]: storeinfo(): error=64
DEBUGNOTE[18:00:34,318]: time to say goodbye (traperror)
DEBUGNOTE[18:00:34,323]: waitforlogentry(): start_docker(): Stopped waiting for dockerrc=ready in store.info due to terminating signal.
DEBUGNOTE[18:00:34,577]: Running xtermrc: Ask for password if needed (no)
DEBUGNOTE[18:00:34,610]: traperror: Command at Line 5708 returned with error code 1:
  return 1
  8061 - ::start_docker::main::main
DEBUGNOTE[18:00:34,740]: storepid(): Stored pid '1848' of 'xpraloop':
DEBUGNOTE[18:00:34,865]: storeinfo(): error=64
DEBUGNOTE[18:00:34,993]: time to say goodbye (main)
DEBUGNOTE[18:00:35,196]: Running dockerrc: Setup as root or as user docker on host.
DEBUGNOTE[18:00:35,236]: Terminating x11docker.
DEBUGNOTE[18:00:35,302]: time to say goodbye (traperror)
DEBUGNOTE[18:00:35,477]: time to say goodbye (finish)
DEBUGNOTE[18:00:35,600]: traperror: Command at Line 8061 returned with error code 1:
  return 1
  8126 - ::main::main
DEBUGNOTE[18:00:35,840]: storeinfo(): error=64

x11docker ERROR: Calling docker daemon failed.
  Is docker daemon running at all?
  Try to start docker daemon with:   systemctl start docker
  Last lines of log:
errors pretty printing info

  Type 'x11docker --help' for usage information
  Debug options: '--verbose' (full log) or '--debug' (log excerpt).
  Logfile will be: /home/Darwin/.cache/x11docker/x11docker.log
  Please report issues at https://github.com/mviereck/x11docker

DEBUGNOTE[18:00:36,140]: finish(): Checking pid 1848 (xpraloop): (already gone)
DEBUGNOTE[18:00:36,269]: time to say goodbye (error)
DEBUGNOTE[18:00:36,281]: time to say goodbye (traperror)
DEBUGNOTE[18:00:36,585]: storeinfo(): error=64
DEBUGNOTE[18:00:36,677]: watchpidlist(): Setting pid CONTAINERx11docker_X1611_x11docker-xfce_68007572269 on watchlist:
DEBUGNOTE[18:00:36,783]: finish(): Checking pid 1741 (containershell):      1741     635     635      12996  pty0      197609 18:00:32 /usr/bin/bash
DEBUGNOTE[18:00:37,073]: time to say goodbye (finish-subshell)
DEBUGNOTE[18:00:37,105]: termpid(): Terminating 1741 (containershell):      1741     635     635      12996  pty0      197609 18:00:32 /usr/bin/bash
DEBUGNOTE[18:00:37,389]: traperror: Command at Line 8083 returned with error code 141:
  head -n1
  8126 - ::main::main
/usr/bin/x11docker: line 854:  1741 Terminated              { trap '' SIGINT; case $X11dockermode in
    run)
        start_docker
    ;;
    exe)
        start_hostexe
    ;;
esac; Pid1pid="$(storeinfo dump pid1pid)"; case $X11dockermode in
    run)
        case $Winsubsystem in
            "")
                setonwatchpidlist "${Pid1pid:-NOPID}" pid1pid
            ;;
            *)
                setonwatchpidlist "CONTAINER$Containername"
            ;;
        esac
    ;;
    exe)
        setonwatchpidlist "${Pid1pid:-NOPID}" pid1pid
    ;;
esac; case $Xserver in
    --tty | --hostdisplay | --hostwayland | --weston | --kwin)

    ;;
    *)
        Xinitpid="$(pgrep -a xinit 2>/dev/null | grep "xinit $Xinitrc" | awk '{print $1}')"; checkpid "$Xinitpid" && setonwatchpidlist $Xinitpid xinit; echo $Xcommand | grep -q Xorgwrapper && Line="Xorg $Newdisplay" || Line="$(echo "$Xcommand" | head -n1)"; Xserverpid=$(ps aux | rmcr| grep "$(echo "${Line:-nothingtolookfor}" | cut -d' ' -f1-2)" | grep -v grep | grep -v xinit | awk '{print $2}'); checkpid "$Xserverpid" && setonwatchpidlist "$Xserverpid" Xserver
    ;;
esac; [ "$Pulseaudiomode" = "tcp" ] && start_pulseaudiotcp; checkpid "$Pid1pid" && debugnote "Process tree of ${Hostexe:-container}: (maybe not complete yet)
$(pstree -cp $Pid1pid 2>&1 ||:)"; debugnote "Process tree of x11docker:
$(pstree -p $$ 2>&1 ||:)
  $(storepid test dockerstopshell && echo "Lost child of dockerrc (dockerstopshell):
    $(pstree -p $(storepid dump dockerstopshell) 2>&1 ||:)")"; debugnote "storeinfo(): Stored info:
$(cat $Storeinfofile)"; debugnote "storepid(): Stored pids:
$(cat $Storepidfile)"; [ "$Showinfofile" = "yes" ] && echo "$Storeinfofile"; [ "$Showcache" = "yes" ] && echo "$Cachefolder"; [ "$Showdisplayenvironment" = "yes" ] && echo "$(storeinfo dump Xenv)"; [ "$Showcontainerid" = "yes" ] && echo "$(storeinfo dump containerid)"; [ "$Showcontainerpid1pid" = "yes" ] && echo "$Pid1pid"; storeinfo "x11docker=ready"; } 0<&0
DEBUGNOTE[18:00:37,569]: storeinfo(): error=64
DEBUGNOTE[18:00:37,767]: finish(): Checking pid 1286 (watchmessagefifo): (already gone)
DEBUGNOTE[18:00:37,903]: time to say goodbye (traperror)
DEBUGNOTE[18:00:38,170]: finish(): Checking pid 1270 (watchpidlist): (already gone)
DEBUGNOTE[18:00:39,105]: Waiting for CMD exit code since 1s
DEBUGNOTE[18:00:40,313]: Waiting for CMD exit code since 2s
DEBUGNOTE[18:00:41,519]: Waiting for CMD exit code since 3s
DEBUGNOTE[18:00:42,739]: Waiting for CMD exit code since 4s
DEBUGNOTE[18:00:43,952]: Waiting for CMD exit code since 5s
DEBUGNOTE[18:00:45,159]: Waiting for CMD exit code since 6s
DEBUGNOTE[18:00:46,369]: Waiting for CMD exit code since 7s
DEBUGNOTE[18:00:47,578]: Waiting for CMD exit code since 8s
DEBUGNOTE[18:00:48,791]: Waiting for CMD exit code since 9s
DEBUGNOTE[18:00:49,999]: Waiting for CMD exit code since 10s
DEBUGNOTE[18:00:51,243]: x11docker exit code: 64

Darwin@DESKTOP-EPQAUIL ~
$ DEBUGNOTE[18:00:52,056]: traperror: Command at Line 7231 returned with error code 1:
  tail --pid="$$" --retry -n +1 -F $Logfiles 2> /dev/null >> $Logfile
  7967 - ::setup_verbosity::main::main
DEBUGNOTE[18:00:52,189]: time to say goodbye (traperror)

x11docker creates the .cache folder, but it ends without subfolders. That's a good sign.

$ ls -ld $(find .)
drwxr-xr-x+ 1 Darwin Ninguno      0 Sep 22 18:00 .
drwxr-xr-x+ 1 Darwin Ninguno      0 Sep 22 18:00 ./x11docker
-rw-r--r--  1 Darwin Ninguno      5 Sep 22 18:00 ./x11docker/displaynumbers.19_09_22
-rw-r--r--  1 Darwin Ninguno      0 Sep 22 18:00 ./x11docker/docker.imagelist
-rw-r--r--  1 Darwin Ninguno 102239 Sep 22 18:00 ./x11docker/x11docker.log

If I try to run it a second time, the output is the same. I attach it anyways:

$ x11docker --desktop --debug -- x11docker/xfce
DEBUGNOTE[18:07:20,954]: traperror: Command at Line 5852 returned with error code 1:
  source /etc/os-release 2> /dev/null
  7932 - ::check_host::main::main
DEBUGNOTE[18:07:21,086]: time to say goodbye (traperror)
DEBUGNOTE[18:07:22,679]: check_parent_sshd(): Failed to check for sshd. ps -p not supported.
DEBUGNOTE[18:07:23,051]: check_host(): ps can watch root processes: yes
DEBUGNOTE[18:07:28,224]: storeinfo(): cache=/home/Darwin/.cache/x11docker/x11docker-xfce-68440420605
DEBUGNOTE[18:07:28,463]: storeinfo(): stdout=/home/Darwin/.cache/x11docker/x11docker-xfce-68440420605/share/stdout
DEBUGNOTE[18:07:28,707]: storeinfo(): stderr=/home/Darwin/.cache/x11docker/x11docker-xfce-68440420605/share/stderr
DEBUGNOTE[18:07:29,174]: traperror: Command at Line 7943 returned with error code 1:
  source /etc/os-release 2> /dev/null
  8126 - ::main::main
DEBUGNOTE[18:07:29,314]: storeinfo(): error=64
DEBUGNOTE[18:07:29,545]: time to say goodbye (traperror)
DEBUGNOTE[18:07:29,699]:
x11docker version: 6.3.0-beta
docker version:    Docker version 19.03.2, build 6a30dfc
Host system:       MSWindows-CYGWIN
Command:           '/usr/bin/x11docker' '--desktop' '--debug' '--' 'x11docker/xfce'
Parsed options:     --desktop --debug -- 'x11docker/xfce'
DEBUGNOTE[18:07:29,848]: --xephyr: Neither Xephyr nor Xnest found.
  You can look for the package name of this command at:
 https://github.com/mviereck/x11docker/wiki/dependencies#table-of-all-packages
DEBUGNOTE[18:07:29,988]: --xephyr needs a running X server. DISPLAY is empty.
DEBUGNOTE[18:07:30,125]: Dependency check for --xephyr: 1
DEBUGNOTE[18:07:30,262]: --xephyr not possible: missing dependencies.
DEBUGNOTE[18:07:30,402]: Dependency check for --xwin: 0
DEBUGNOTE[18:07:30,538]: Dependencies of --xwin already checked: 0
DEBUGNOTE[18:07:30,675]: Dependencies of --xwin already checked: 0
DEBUGNOTE[18:07:30,812]: Dependencies of --xwin already checked: 0
x11docker note: Using X server option --xwin

DEBUGNOTE[18:07:30,957]: storeinfo(): xserver=--xwin
x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

DEBUGNOTE[18:07:32,707]: waitforlogentry(): tailstdout: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[18:07:32,719]: waitforlogentry(): tailstderr: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[18:07:33,123]: time to say goodbye (watchpidlist)
DEBUGNOTE[18:07:33,229]: storepid(): Stored pid '2847' of 'watchpidlist':      2847    2248    2248       1512  pty0      197609 18:07:33 /usr/bin/bash
DEBUGNOTE[18:07:33,463]: storepid(): Stored pid '2863' of 'watchmessagefifo':      2863    2248    2248       9400  pty0      197609 18:07:33 /usr/bin/bash
DEBUGNOTE[18:07:33,669]: waitforlogentry(): tailstdout: Stopped waiting for x11docker=ready in store.info due to terminating signal.
DEBUGNOTE[18:07:33,682]: waitforlogentry(): tailstderr: Stopped waiting for x11docker=ready in store.info due to terminating signal.
DEBUGNOTE[18:07:34,627]: storeinfo(): DISPLAY=10.0.75.1:882
DEBUGNOTE[18:07:34,870]: storeinfo(): XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-68440420605/share/Xauthority.client
DEBUGNOTE[18:07:35,106]: storeinfo(): XDG_RUNTIME_DIR=
DEBUGNOTE[18:07:35,341]: storeinfo(): Xenv= DISPLAY=10.0.75.1:882 XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-68440420605/share/Xauthority.client XDG_RUNTIME_DIR=
DEBUGNOTE[18:07:35,850]: X server command:
  /usr/bin/XWin :882  \
  -retro \
  +extension RANDR \
  +extension RENDER \
  +extension GLX \
  +extension XVideo \
  +extension DOUBLE-BUFFER \
  +extension SECURITY \
  +extension DAMAGE \
  +extension X-Resource \
  -extension XINERAMA -xinerama \
  -extension MIT-SHM \
  -extension Composite -extension COMPOSITE \
  -extension XTEST -tst \
  -dpms \
  -s off \
  -auth /home/Darwin/.cache/x11docker/x11docker-xfce-68440420605/Xauthority.server \
  -listen tcp \
  -nowgl \
  -lesspointer \
  -screen 0 4720x3840 \
  -noclipboard \
  -iglx
DEBUGNOTE[18:07:36,025]: Users and terminal:
  x11docker was started by:                       Darwin
  As host user serves (running X, storing cache): Darwin
  Container user will be:                         Darwin
  Container user password:                        x11docker
  Getting permission to run docker with:          eval
  Terminal for password frontend:                 bash -c
  Running in a terminal:                          yes
  Running on console:                             no
  Running over SSH:                               no
  Running sourced:                                no
  bash $-:                                        huBE
DEBUGNOTE[18:07:36,600]:
  Running on Windows subsystem:                   CYGWIN
  Path to subsystem:                              C:/cygwin64
  Mount path in subsystem:                        /cygdrive/
DEBUGNOTE[18:07:36,744]: storeinfo(): containername=x11docker_X882_x11docker-xfce_68440420605
DEBUGNOTE[18:07:39,350]: Docker command:
  docker.exe run --tty --rm --detach \
  --name x11docker_X882_x11docker-xfce_68440420605 \
  --user 197609:197121 \
  --env USER=Darwin \
  --userns host \
  --cap-drop ALL \
  --security-opt no-new-privileges \
  --security-opt label=type:container_runtime_t \
  --init \
  --tmpfs /run --tmpfs /run/lock \
  --volume '/c/cygwin64/home/Darwin/.cache/x11docker/x11docker-xfce-68440420605/share':'/x11docker':rw \
  --workdir '/tmp' \
  --entrypoint env \
  --env 'container=docker' \
  --env 'XAUTHORITY=/x11docker/Xauthority.client' \
  --env 'DISPLAY=10.0.75.1:882' \
  --env 'XDG_RUNTIME_DIR=/tmp/XDG_RUNTIME_DIR' \
  -- x11docker/xfce  /bin/sh - /x11docker/containerrc
DEBUGNOTE[18:07:43,851]: storepid(): Stored pid '3316' of 'containershell':      3316    2248    2248      10688  pty0      197609 18:07:43 /usr/bin/bash
DEBUGNOTE[18:07:44,122]: waitforlogentry(): start_xserver(): Waiting for logentry "readyforX=ready" in store.info
DEBUGNOTE[18:07:44,735]: waitforlogentry(): start_docker(): Waiting for logentry "dockerrc=ready" in store.info
DEBUGNOTE[18:07:44,984]: waitforlogentry(): start_xserver(): Stopped waiting for readyforX=ready in store.info due to terminating signal.
DEBUGNOTE[18:07:45,137]: traperror: Command at Line 8114 returned with error code 1:
  return 1
  8126 - ::main::main
DEBUGNOTE[18:07:45,274]: storeinfo(): error=64
DEBUGNOTE[18:07:45,523]: time to say goodbye (traperror)
DEBUGNOTE[18:07:45,585]: waitforlogentry(): start_docker(): Stopped waiting for dockerrc=ready in store.info due to terminating signal.
DEBUGNOTE[18:07:45,777]: traperror: Command at Line 5708 returned with error code 1:
  return 1
  8061 - ::start_docker::main::main
DEBUGNOTE[18:07:45,835]: storepid(): Stored pid '3416' of 'xpraloop':
DEBUGNOTE[18:07:46,014]: storeinfo(): error=64
DEBUGNOTE[18:07:46,095]: time to say goodbye (main)
DEBUGNOTE[18:07:46,263]: Running xtermrc: Ask for password if needed (no)
DEBUGNOTE[18:07:46,353]: Terminating x11docker.
DEBUGNOTE[18:07:46,456]: time to say goodbye (traperror)
DEBUGNOTE[18:07:46,601]: time to say goodbye (finish)
DEBUGNOTE[18:07:46,766]: traperror: Command at Line 8061 returned with error code 1:
  return 1
  8126 - ::main::main
DEBUGNOTE[18:07:46,843]: Running dockerrc: Setup as root or as user docker on host.
DEBUGNOTE[18:07:47,019]: storeinfo(): error=64
DEBUGNOTE[18:07:47,280]: finish(): Checking pid 3416 (xpraloop): (already gone)
DEBUGNOTE[18:07:47,443]: time to say goodbye (traperror)

x11docker ERROR: Calling docker daemon failed.
  Is docker daemon running at all?
  Try to start docker daemon with:   systemctl start docker
  Last lines of log:
errors pretty printing info

  Type 'x11docker --help' for usage information
  Debug options: '--verbose' (full log) or '--debug' (log excerpt).
  Logfile will be: /home/Darwin/.cache/x11docker/x11docker.log
  Please report issues at https://github.com/mviereck/x11docker

DEBUGNOTE[18:07:47,788]: watchpidlist(): Setting pid CONTAINERx11docker_X882_x11docker-xfce_68440420605 on watchlist:
DEBUGNOTE[18:07:47,795]: time to say goodbye (error)
DEBUGNOTE[18:07:47,878]: finish(): Checking pid 3316 (containershell):      3316    2248    2248      10688  pty0      197609 18:07:43 /usr/bin/bash
DEBUGNOTE[18:07:48,138]: storeinfo(): error=64
DEBUGNOTE[18:07:48,253]: termpid(): Terminating 3316 (containershell):      3316    2248    2248      10688  pty0      197609 18:07:43 /usr/bin/bash
/usr/bin/x11docker: line 854:  3316 Terminated              { trap '' SIGINT; case $X11dockermode in
    run)
        start_docker
    ;;
    exe)
        start_hostexe
    ;;
esac; Pid1pid="$(storeinfo dump pid1pid)"; case $X11dockermode in
    run)
        case $Winsubsystem in
            "")
                setonwatchpidlist "${Pid1pid:-NOPID}" pid1pid
            ;;
            *)
                setonwatchpidlist "CONTAINER$Containername"
            ;;
        esac
    ;;
    exe)
        setonwatchpidlist "${Pid1pid:-NOPID}" pid1pid
    ;;
esac; case $Xserver in
    --tty | --hostdisplay | --hostwayland | --weston | --kwin)

    ;;
    *)
        Xinitpid="$(pgrep -a xinit 2>/dev/null | grep "xinit $Xinitrc" | awk '{print $1}')"; checkpid "$Xinitpid" && setonwatchpidlist $Xinitpid xinit; echo $Xcommand | grep -q Xorgwrapper && Line="Xorg $Newdisplay" || Line="$(echo "$Xcommand" | head -n1)"; Xserverpid=$(ps aux | rmcr| grep "$(echo "${Line:-nothingtolookfor}" | cut -d' ' -f1-2)" | grep -v grep | grep -v xinit | awk '{print $2}'); checkpid "$Xserverpid" && setonwatchpidlist "$Xserverpid" Xserver
    ;;
esac; [ "$Pulseaudiomode" = "tcp" ] && start_pulseaudiotcp; checkpid "$Pid1pid" && debugnote "Process tree of ${Hostexe:-container}: (maybe not complete yet)
$(pstree -cp $Pid1pid 2>&1 ||:)"; debugnote "Process tree of x11docker:
$(pstree -p $$ 2>&1 ||:)
  $(storepid test dockerstopshell && echo "Lost child of dockerrc (dockerstopshell):
    $(pstree -p $(storepid dump dockerstopshell) 2>&1 ||:)")"; debugnote "storeinfo(): Stored info:
$(cat $Storeinfofile)"; debugnote "storepid(): Stored pids:
$(cat $Storepidfile)"; [ "$Showinfofile" = "yes" ] && echo "$Storeinfofile"; [ "$Showcache" = "yes" ] && echo "$Cachefolder"; [ "$Showdisplayenvironment" = "yes" ] && echo "$(storeinfo dump Xenv)"; [ "$Showcontainerid" = "yes" ] && echo "$(storeinfo dump containerid)"; [ "$Showcontainerpid1pid" = "yes" ] && echo "$Pid1pid"; storeinfo "x11docker=ready"; } 0<&0
DEBUGNOTE[18:07:48,602]: time to say goodbye (finish-subshell)
DEBUGNOTE[18:07:48,892]: finish(): Checking pid 2863 (watchmessagefifo): (already gone)
DEBUGNOTE[18:07:49,214]: finish(): Checking pid 2847 (watchpidlist): (already gone)
DEBUGNOTE[18:07:50,125]: Waiting for CMD exit code since 1s
DEBUGNOTE[18:07:51,331]: Waiting for CMD exit code since 2s
DEBUGNOTE[18:07:52,537]: Waiting for CMD exit code since 3s
DEBUGNOTE[18:07:53,742]: Waiting for CMD exit code since 4s
DEBUGNOTE[18:07:54,945]: Waiting for CMD exit code since 5s
DEBUGNOTE[18:07:56,148]: Waiting for CMD exit code since 6s
DEBUGNOTE[18:07:57,352]: Waiting for CMD exit code since 7s
DEBUGNOTE[18:07:58,573]: Waiting for CMD exit code since 8s
DEBUGNOTE[18:07:59,775]: Waiting for CMD exit code since 9s
DEBUGNOTE[18:08:00,980]: Waiting for CMD exit code since 10s
DEBUGNOTE[18:08:02,226]: x11docker exit code: 64

Darwin@DESKTOP-EPQAUIL ~/.cache
$ DEBUGNOTE[18:08:03,691]: traperror: Command at Line 7231 returned with error code 1:
  tail --pid="$$" --retry -n +1 -F $Logfiles 2> /dev/null >> $Logfile
  7967 - ::setup_verbosity::main::main
DEBUGNOTE[18:08:03,819]: time to say goodbye (traperror)
mviereck commented 5 years ago

Thank you for your patience with the tests. I've fixed the visible new --debug errors. It would be nice if you try and report as often with --debug until all issues it shows are fixed.

Your cache check with ls -ld $(find .) looks pretty well, no disturbing file permissions are visible. So I doubt creating another cache folder structure would help.

I've added two additional note outputs showing ls -ld $(find .) at start and at stop of x11docker. Maybe that gives a hint. I've also disabled the late storage of the container exit code in store.info, maybe that makes a difference.

Could you please try again, with and without --debug?

cruizba commented 5 years ago

Thank you for your patience with the tests.

No problem. I really like this project and I see good potential use cases for this. If I have time I would like to contribute a little bit in the future and check different environments :).

I see a little typo error in lines in lines 509 and 6929. I substituted this lines with: $(ls -ld $(find $Cachefolder))". I just removed the \ of \$.

After install it the output of the first try is this. As usual it works:

$ x11docker --desktop --debug -- x11docker/xfce
/usr/bin/x11docker: line 5855: ID: unbound variable
DEBUGNOTE[20:12:22,097]: traperror: Command at Line 5855 returned with error code 1:
  Hostsystem="$(source /etc/os-release 2>/dev/null ||:; echo ${ID:unkown})"
  7939 - ::check_host::main::main
DEBUGNOTE[20:12:22,253]: time to say goodbye (traperror)
DEBUGNOTE[20:12:23,920]: check_parent_sshd(): Failed to check for sshd. ps -p not supported.
DEBUGNOTE[20:12:24,376]: check_host(): ps can watch root processes: yes
DEBUGNOTE[20:12:30,654]: storeinfo(): cache=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095
DEBUGNOTE[20:12:30,937]: storeinfo(): stdout=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/stdout
DEBUGNOTE[20:12:31,199]: storeinfo(): stderr=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/stderr
x11docker note: Output of: ls -ld $(find /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095)
  drwxr-xr-x+ 1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/clipboardrc
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/compositor.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/docker.command
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/docker.info
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/dockerrc
-rw-r--r--  1 Darwin Ninguno 824 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/message.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/nxagent.keys
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/nxagent.nxclientrc
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/nxagent.options
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/pulseaudio.client.conf
drwxr-xr-x+ 1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share
-rw-rw-rw-  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/container.environment
-rw-rw-rw-  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/container.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/containerrc
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/containerrootrc
-rw-rw-rw-  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/stderr
-rw-rw-rw-  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/stdout
-rw-rw-rw-  1 Darwin Ninguno 217 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/store.info
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/systemd.journal.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/timetosaygoodbye
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/x11docker.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/Xauthority.client
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/store.pids
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/systemd.console-getty.service
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/systemd.environment.conf
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/systemd.journal.service
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/systemd.watch.service
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/systemd.x11docker.target
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/weston.ini
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/Xauthority.host.unknown
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/Xauthority.server
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xinit.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xinitrc
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xkb.keymap
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xorg.xdummy.conf
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/Xorg.xdummy.wrapper
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xpra.client.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xpra.server.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xtermrc

DEBUGNOTE[20:12:31,835]:
x11docker version: 6.3.0-beta
docker version:    Docker version 19.03.2, build 6a30dfc
Host system:       MSWindows-CYGWIN
Command:           '/usr/bin/x11docker' '--desktop' '--debug' '--' 'x11docker/xfce'
Parsed options:     --desktop --debug -- 'x11docker/xfce'
DEBUGNOTE[20:12:31,997]: --xephyr: Neither Xephyr nor Xnest found.
  You can look for the package name of this command at:
 https://github.com/mviereck/x11docker/wiki/dependencies#table-of-all-packages
DEBUGNOTE[20:12:32,149]: --xephyr needs a running X server. DISPLAY is empty.
DEBUGNOTE[20:12:32,306]: Dependency check for --xephyr: 1
DEBUGNOTE[20:12:32,457]: --xephyr not possible: missing dependencies.
DEBUGNOTE[20:12:32,606]: Dependency check for --xwin: 0
DEBUGNOTE[20:12:32,748]: Dependencies of --xwin already checked: 0
DEBUGNOTE[20:12:32,884]: Dependencies of --xwin already checked: 0
DEBUGNOTE[20:12:33,017]: Dependencies of --xwin already checked: 0
x11docker note: Using X server option --xwin

DEBUGNOTE[20:12:33,167]: storeinfo(): xserver=--xwin
x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

DEBUGNOTE[20:12:35,056]: waitforlogentry(): tailstdout: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[20:12:35,044]: waitforlogentry(): tailstderr: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[20:12:35,569]: storepid(): Stored pid '13332' of 'watchpidlist':     13332   12748   12748      13596  pty0      197609 20:12:35 /usr/bin/bash
DEBUGNOTE[20:12:35,880]: storepid(): Stored pid '13343' of 'watchmessagefifo':     13343   12748   12748       9924  pty0      197609 20:12:35 /usr/bin/bash
DEBUGNOTE[20:12:38,518]: storeinfo(): DISPLAY=10.0.75.1:3401
DEBUGNOTE[20:12:39,237]: storeinfo(): XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/Xauthority.client
DEBUGNOTE[20:12:39,586]: storeinfo(): XDG_RUNTIME_DIR=
DEBUGNOTE[20:12:39,990]: storeinfo(): Xenv= DISPLAY=10.0.75.1:3401 XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/Xauthority.client XDG_RUNTIME_DIR=
DEBUGNOTE[20:12:40,962]: X server command:
  /usr/bin/XWin :3401  \
  -retro \
  +extension RANDR \
  +extension RENDER \
  +extension GLX \
  +extension XVideo \
  +extension DOUBLE-BUFFER \
  +extension SECURITY \
  +extension DAMAGE \
  +extension X-Resource \
  -extension XINERAMA -xinerama \
  -extension MIT-SHM \
  -extension Composite -extension COMPOSITE \
  -extension XTEST -tst \
  -dpms \
  -s off \
  -auth /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/Xauthority.server \
  -listen tcp \
  -nowgl \
  -lesspointer \
  -screen 0 4720x3840 \
  -noclipboard \
  -iglx
DEBUGNOTE[20:12:41,222]: Users and terminal:
  x11docker was started by:                       Darwin
  As host user serves (running X, storing cache): Darwin
  Container user will be:                         Darwin
  Container user password:                        x11docker
  Getting permission to run docker with:          eval
  Terminal for password frontend:                 bash -c
  Running in a terminal:                          yes
  Running on console:                             no
  Running over SSH:                               no
  Running sourced:                                no
  bash $-:                                        huBE
DEBUGNOTE[20:12:43,294]:
  Running on Windows subsystem:                   CYGWIN
  Path to subsystem:                              C:/cygwin64
  Mount path in subsystem:                        /cygdrive/
DEBUGNOTE[20:12:43,623]: storeinfo(): containername=x11docker_X3401_x11docker-xfce_75941500095
DEBUGNOTE[20:12:48,002]: waitforlogentry(): tailstdout: Waiting since 12s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:48,152]: waitforlogentry(): tailstderr: Waiting since 12s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:50,430]: waitforlogentry(): tailstdout: Waiting since 14s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:50,434]: waitforlogentry(): tailstderr: Waiting since 14s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:51,820]: Docker command:
  docker.exe run --tty --rm --detach \
  --name x11docker_X3401_x11docker-xfce_75941500095 \
  --user 197609:197121 \
  --env USER=Darwin \
  --userns host \
  --cap-drop ALL \
  --security-opt no-new-privileges \
  --security-opt label=type:container_runtime_t \
  --init \
  --tmpfs /run --tmpfs /run/lock \
  --volume '/c/cygwin64/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share':'/x11docker':rw \
  --workdir '/tmp' \
  --entrypoint env \
  --env 'container=docker' \
  --env 'XAUTHORITY=/x11docker/Xauthority.client' \
  --env 'DISPLAY=10.0.75.1:3401' \
  --env 'XDG_RUNTIME_DIR=/tmp/XDG_RUNTIME_DIR' \
  -- x11docker/xfce  /bin/sh - /x11docker/containerrc
DEBUGNOTE[20:12:52,629]: waitforlogentry(): tailstdout: Waiting since 16s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:52,682]: waitforlogentry(): tailstderr: Waiting since 16s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:55,343]: waitforlogentry(): tailstderr: Waiting since 19s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:55,424]: waitforlogentry(): tailstdout: Waiting since 20s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:58,161]: waitforlogentry(): tailstderr: Waiting since 22s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:12:58,230]: waitforlogentry(): tailstdout: Waiting since 22s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:01,208]: waitforlogentry(): tailstderr: Waiting since 25s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:01,432]: waitforlogentry(): tailstdout: Waiting since 25s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:03,655]: waitforlogentry(): tailstderr: Waiting since 28s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:04,197]: waitforlogentry(): tailstdout: Waiting since 28s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:05,568]: waitforlogentry(): tailstderr: Waiting since 30s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:05,864]: waitforlogentry(): tailstdout: Waiting since 30s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:06,441]: storepid(): Stored pid '14090' of 'containershell':     14090   12748   12748      12484  pty0      197609 20:13:06 /usr/bin/bash
DEBUGNOTE[20:13:06,951]: waitforlogentry(): start_xserver(): Waiting for logentry "readyforX=ready" in store.info
DEBUGNOTE[20:13:08,209]: waitforlogentry(): tailstderr: Waiting since 31s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:08,502]: waitforlogentry(): tailstdout: Waiting since 32s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:08,976]: Running xtermrc: Ask for password if needed (no)
DEBUGNOTE[20:13:09,480]: Running dockerrc: Setup as root or as user docker on host.
DEBUGNOTE[20:13:10,027]: dockerrc: Found default Runtime: runc
DEBUGNOTE[20:13:10,723]: dockerrc: All  Runtimes: runc
DEBUGNOTE[20:13:11,258]: waitforlogentry(): tailstderr: Waiting since 34s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:11,294]: waitforlogentry(): tailstdout: Waiting since 34s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:11,834]: dockerrc: Container Runtime: runc
DEBUGNOTE[20:13:12,296]: storeinfo(): runtime=runc
DEBUGNOTE[20:13:12,433]: waitforlogentry(): start_xserver(): Found log entry "readyforX=ready" in store.info.
DEBUGNOTE[20:13:12,693]: dockerrc: Image CMD: startxfce4
DEBUGNOTE[20:13:12,731]: storepid(): Stored pid '14378' of 'xpraloop':
DEBUGNOTE[20:13:13,088]: dockerrc: Image USER:
DEBUGNOTE[20:13:13,401]: storeinfo(): containeruser=Darwin
DEBUGNOTE[20:13:13,790]: dockerrc: Image ENTRYPOINT:
DEBUGNOTE[20:13:14,066]: waitforlogentry(): tailstdout: Waiting since 37s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:14,084]: waitforlogentry(): tailstderr: Waiting since 37s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:14,485]: dockerrc: Image WORKDIR:
DEBUGNOTE[20:13:14,954]: storeinfo(): readyforX=ready
DEBUGNOTE[20:13:15,383]: waitforlogentry(): dockerrc: Waiting for logentry "xinitrc is ready" in xinit.log
DEBUGNOTE[20:13:16,770]: waitforlogentry(): tailstdout: Waiting since 40s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:16,797]: waitforlogentry(): tailstderr: Waiting since 40s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:17,859]: Running xinitrc
DEBUGNOTE[20:13:18,196]: xinitrc: Failed to retrieve trusted cookie from X server. Will bake one myself.
DEBUGNOTE[20:13:18,705]: xinitrc: Created cookie: DESKTOP-EPQAUIL/unix:3401  MIT-MAGIC-COOKIE-1  afcf88a5d297711835d284935d50a7d3
#ffff#4445534b544f502d4550514155494c#:3401  MIT-MAGIC-COOKIE-1  afcf88a5d297711835d284935d50a7d3
DEBUGNOTE[20:13:19,390]: waitforlogentry(): tailstdout: Waiting since 43s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:19,417]: waitforlogentry(): tailstderr: Waiting since 43s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:20,032]: storeinfo(): xinitrc=ready
DEBUGNOTE[20:13:20,396]: waitforlogentry(): dockerrc: Found log entry "xinitrc is ready" in xinit.log.
DEBUGNOTE[20:13:20,805]: storeinfo(): containerid=a9e22383f8921ce27ead831a7783c96ff891b2f68a03405cb5b9e16323e1473d
DEBUGNOTE[20:13:21,193]: waitforlogentry(): containerrc: Waiting for logentry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:21,578]: dockerrc: Container is up and running.
DEBUGNOTE[20:13:21,946]: waitforlogentry(): tailstdout: Waiting since 45s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:22,020]: waitforlogentry(): tailstderr: Waiting since 45s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:22,156]: dockerrc: 1. check for PID 1: 2421
DEBUGNOTE[20:13:22,743]: dockerrc: 2. check for PID 1: 2421
DEBUGNOTE[20:13:23,165]: dockerrc: 3. check for PID 1: 2421
DEBUGNOTE[20:13:23,556]: dockerrc: 4. check for PID 1: 2421
DEBUGNOTE[20:13:23,966]: dockerrc: 5. check for PID 1: 2421
DEBUGNOTE[20:13:24,467]: dockerrc: 6. check for PID 1: 2421
DEBUGNOTE[20:13:24,614]: waitforlogentry(): tailstdout: Waiting since 48s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:24,663]: waitforlogentry(): tailstderr: Waiting since 48s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:25,117]: dockerrc: 7. check for PID 1: 2421
DEBUGNOTE[20:13:25,514]: dockerrc: 8. check for PID 1: 2421
DEBUGNOTE[20:13:25,946]: dockerrc: 9. check for PID 1: 2421
DEBUGNOTE[20:13:26,370]: dockerrc: 10. check for PID 1: 2421
DEBUGNOTE[20:13:26,854]: dockerrc: 11. check for PID 1: 2421
DEBUGNOTE[20:13:27,289]: waitforlogentry(): tailstderr: Waiting since 50s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:27,271]: waitforlogentry(): tailstdout: Waiting since 50s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:27,724]: dockerrc: 12. check for PID 1: 2421
DEBUGNOTE[20:13:28,281]: dockerrc: 13. check for PID 1: 2421
DEBUGNOTE[20:13:28,660]: dockerrc: 14. check for PID 1: 2421
DEBUGNOTE[20:13:29,109]: dockerrc: 15. check for PID 1: 2421
DEBUGNOTE[20:13:29,493]: dockerrc: 16. check for PID 1: 2421
DEBUGNOTE[20:13:29,903]: dockerrc: 17. check for PID 1: 2421
DEBUGNOTE[20:13:29,977]: waitforlogentry(): tailstdout: Waiting since 53s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:29,965]: waitforlogentry(): tailstderr: Waiting since 53s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:30,514]: dockerrc: 18. check for PID 1: 2421
DEBUGNOTE[20:13:31,132]: dockerrc: 19. check for PID 1: 2421
DEBUGNOTE[20:13:31,684]: dockerrc: 20. check for PID 1: 2421
DEBUGNOTE[20:13:32,071]: dockerrc: 21. check for PID 1: 2421
DEBUGNOTE[20:13:32,494]: dockerrc: 22. check for PID 1: 2421
DEBUGNOTE[20:13:32,546]: waitforlogentry(): tailstdout: Waiting since 56s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:32,551]: waitforlogentry(): tailstderr: Waiting since 56s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:33,068]: waitforlogentry(): containerrc: Waiting since 12s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:33,471]: dockerrc: 23. check for PID 1: 2421
DEBUGNOTE[20:13:33,849]: dockerrc: 24. check for PID 1: 2421
DEBUGNOTE[20:13:34,240]: dockerrc: 25. check for PID 1: 2421
DEBUGNOTE[20:13:34,639]: waitforlogentry(): containerrc: Waiting since 13s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:35,038]: dockerrc: 26. check for PID 1: 2421
DEBUGNOTE[20:13:35,412]: waitforlogentry(): containerrc: Waiting since 14s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:35,805]: dockerrc: 27. check for PID 1: 2421
DEBUGNOTE[20:13:36,082]: waitforlogentry(): tailstdout: Waiting since 58s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:36,123]: waitforlogentry(): tailstderr: Waiting since 58s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:36,296]: dockerrc: 28. check for PID 1: 2421
DEBUGNOTE[20:13:36,911]: dockerrc: 29. check for PID 1: 2421
DEBUGNOTE[20:13:37,506]: waitforlogentry(): containerrc: Waiting since 15s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:37,898]: dockerrc: 30. check for PID 1: 2421
DEBUGNOTE[20:13:38,340]: dockerrc: 31. check for PID 1: 2421
DEBUGNOTE[20:13:38,923]: dockerrc: 32. check for PID 1: 2421
DEBUGNOTE[20:13:39,501]: dockerrc: 33. check for PID 1: 2421
DEBUGNOTE[20:13:39,757]: waitforlogentry(): tailstdout: Waiting since 62s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:39,874]: waitforlogentry(): tailstderr: Waiting since 62s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:40,273]: waitforlogentry(): containerrc: Waiting since 16s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:40,854]: dockerrc: 34. check for PID 1: 2421
DEBUGNOTE[20:13:41,380]: dockerrc: 35. check for PID 1: 2421
DEBUGNOTE[20:13:41,936]: dockerrc: 36. check for PID 1: 2421
DEBUGNOTE[20:13:42,512]: dockerrc: 37. check for PID 1: 2421
DEBUGNOTE[20:13:42,965]: dockerrc: 38. check for PID 1: 2421
DEBUGNOTE[20:13:43,458]: waitforlogentry(): tailstdout: Waiting since 66s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:43,606]: waitforlogentry(): tailstderr: Waiting since 66s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:43,642]: waitforlogentry(): containerrc: Waiting since 18s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:44,222]: waitforlogentry(): start_docker(): Waiting for logentry "dockerrc=ready" in store.info
DEBUGNOTE[20:13:44,303]: dockerrc: 39. check for PID 1: 2421
DEBUGNOTE[20:13:44,536]: waitforlogentry(): start_docker(): Found log entry "dockerrc=ready" in store.info.
DEBUGNOTE[20:13:44,798]: dockerrc: 40. check for PID 1: 2421
DEBUGNOTE[20:13:44,813]: watchpidlist(): Setting pid CONTAINERx11docker_X3401_x11docker-xfce_75941500095 on watchlist:
DEBUGNOTE[20:13:45,356]: storeinfo(): pid1pid=2421
DEBUGNOTE[20:13:45,826]: Process tree of x11docker:
/usr/bin/x11docker: line 8104: pstree: command not found

DEBUGNOTE[20:13:45,938]: waitforlogentry(): containerrc: Waiting since 20s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:46,125]: storeinfo(): Stored info:
cache=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095
stdout=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/stdout
stderr=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/stderr
xserver=--xwin
DISPLAY=10.0.75.1:3401
XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/Xauthority.client
XDG_RUNTIME_DIR=
Xenv= DISPLAY=10.0.75.1:3401 XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/Xauthority.client XDG_RUNTIME_DIR=
containername=x11docker_X3401_x11docker-xfce_75941500095
runtime=runc
containeruser=Darwin
readyforX=ready
xinitrc=ready
containerid=a9e22383f8921ce27ead831a7783c96ff891b2f68a03405cb5b9e16323e1473d
pid1pid=2421
containerip=172.17.0.2
containerrootrc=ready
dockerrc=ready
xtermrc=ready
DEBUGNOTE[20:13:46,396]: storepid(): Stored pids:
13332 watchpidlist
13343 watchmessagefifo
14090 containershell
14378 xpraloop
DEBUGNOTE[20:13:46,423]: storeinfo(): containerip=172.17.0.2
DEBUGNOTE[20:13:46,614]: storeinfo(): x11docker=ready
DEBUGNOTE[20:13:46,901]: Running containerrootrc: Setup as root in container
DEBUGNOTE[20:13:47,118]: waitforlogentry(): tailstdout: Waiting since 69s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:47,277]: waitforlogentry(): tailstderr: Waiting since 70s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:13:47,440]: watchpidlist(): Watching Container: x11docker_X3401_x11docker-xfce_75941500095
DEBUGNOTE[20:13:47,550]: containerrootrc: Container libc: glibc
DEBUGNOTE[20:13:47,700]: waitforlogentry(): tailstdout: Found log entry "x11docker=ready" in store.info.
DEBUGNOTE[20:13:47,939]: waitforlogentry(): tailstderr: Found log entry "x11docker=ready" in store.info.
/usr/bin/startxfce4: X server already running on display 10.0.75.1:3401
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found

(xfce4-session:257): xfce4-session-WARNING **: 20:13:47.900: xfsm_manager_load_session: Something wrong with /fakehome/Darwin/.cache/sessions/xfce4-session-10.0.75.1:3401, Does it exist? Permissions issue?
DEBUGNOTE[20:13:48,375]: waitforlogentry(): containerrc: Waiting since 22s for log entry "containerrootrc=ready" in store.info

(xfsettingsd:281): libupower-glib-WARNING **: 20:13:48.512: Couldn't connect to proxy: Could not connect: No such file or directory

(xfsettingsd:281): libupower-glib-CRITICAL **: 20:13:48.523: up_client_get_lid_is_closed: assertion 'UP_IS_CLIENT (client)' failed

(xfsettingsd:281): GLib-GObject-WARNING **: 20:13:48.526: invalid (NULL) pointer instance

(xfsettingsd:281): GLib-GObject-CRITICAL **: 20:13:48.533: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xfsettingsd:281): GLib-CRITICAL **: 20:13:48.606: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:281): GLib-GObject-CRITICAL **: 20:13:48.610: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfsettingsd:281): GLib-GObject-CRITICAL **: 20:13:48.637: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfwm4:267): xfwm4-WARNING **: 20:13:48.949: The display does not support the XComposite extension.

(xfwm4:267): xfwm4-WARNING **: 20:13:48.951: Compositing manager disabled.

(xfwm4:267): GLib-CRITICAL **: 20:13:49.010: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:281): xfsettingsd-WARNING **: 20:13:49.036: Failed to get the _NET_NUMBER_OF_DESKTOPS property.

** (xfdesktop:275): WARNING **: 20:13:49.137: Thumbnailer failed calling GetFlavors

(xfdesktop:275): GLib-GObject-CRITICAL **: 20:13:49.138: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfwm4:267): xfwm4-WARNING **: 20:13:49.227: The property '/general/double_click_distance' of type int is not supported
DEBUGNOTE[20:13:49,535]: storeinfo(): containerrootrc=ready
DEBUGNOTE[20:13:49,975]: storeinfo(): dockerrc=ready

(Thunar:273): dbind-WARNING **: 20:13:50.111: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
DEBUGNOTE[20:13:50,487]: storeinfo(): xtermrc=ready
DEBUGNOTE[20:13:51,032]: waitforlogentry(): containerrc: Waiting since 24s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:13:51,591]: waitforlogentry(): containerrc: Found log entry "containerrootrc=ready" in store.info.
DEBUGNOTE[20:13:52,086]: Running containerrc: Unprivileged user commands in container

(xfwm4:267): xfwm4-WARNING **: 20:13:52.519: Error opening /dev/dri/card0: No such file or directory
DEBUGNOTE[20:13:53,509]: containerrc: HOME is empty. Copying from /etc/skel
DEBUGNOTE[20:13:55,624]: containerrc: Running container command:
    startxfce4

(xfce4-session:257): xfce4-session-WARNING **: 20:14:07.140: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(xfce4-session:257): xfce4-session-WARNING **: 20:14:07.143: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(exo-open:298): dbind-WARNING **: 20:14:16.832: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(exo-helper-1:300): dbind-WARNING **: 20:14:16.912: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(xfce4-terminal:301): dbind-WARNING **: 20:14:17.057: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
DEBUGNOTE[20:14:39,410]: time to say goodbye (main)
xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3401.

(Thunar:273): thunar-CRITICAL **: 20:14:39.217: Name 'org.xfce.FileManager' lost on the message dbus, exiting.
xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3401.0.

(Thunar:273): thunar-WARNING **: 20:14:39.221: Name 'org.freedesktop.FileManager1' lost on the message dbus.

(xfsettingsd:281): libxfce4ui-WARNING **: 20:14:39.224: ICE I/O Error
DEBUGNOTE[20:14:39,755]: Terminating x11docker.
DEBUGNOTE[20:14:40,015]: time to say goodbye (finish)
x11docker note: Output of: ls -ld $(find /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095)
  drwxr-xr-x+ 1 Darwin Ninguno      0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095
-rw-r--r--  1 Darwin Ninguno    674 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/docker.command
-rw-r--r--  1 Darwin Ninguno   1272 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/docker.info
-rw-r--r--  1 Darwin Ninguno  20642 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/dockerrc
-rw-r--r--  1 Darwin Ninguno  63539 Sep 22 20:14 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/message.log
drwxr-xr-x+ 1 Darwin Ninguno      0 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share
-rw-rw-rw-  1 Darwin Ninguno    306 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/container.environment
-rw-rw-rw-  1 Darwin Ninguno    302 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/container.log
-rw-r--r--  1 Darwin Ninguno   5247 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/containerrc
-rw-r--r--  1 Darwin Ninguno   5023 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/containerrootrc
-rw-rw-rw-  1 Darwin Ninguno   5747 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/message.fifo
-rw-rw-rw-  1 Darwin Ninguno   3565 Sep 22 20:14 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/stderr
-rw-rw-rw-  1 Darwin Ninguno     72 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/stdout
-rwxr-xr-x  1 Darwin Ninguno    803 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/store.info
-rw-r--r--  1 Darwin Ninguno     34 Sep 22 20:14 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/timetosaygoodbye
-rw-rw-rw-  1 Darwin Ninguno     34 Sep 22 20:14 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/timetosaygoodbye.fifo
-rw-r--r--  1 Darwin Ninguno 163130 Sep 22 20:14 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/x11docker.log
-rw-r--r--  1 Darwin Ninguno    126 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/share/Xauthority.client
-rw-r--r--  1 Darwin Ninguno     78 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/store.pids
-rw-r--r--  1 Darwin Ninguno     52 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/watchpid.fifo
-rw-r--r--  1 Darwin Ninguno      0 Sep 22 20:12 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/Xauthority.host.unknown
-rw-r--r--  1 Darwin Ninguno    126 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/Xauthority.server
-rw-r--r--  1 Darwin Ninguno   4283 Sep 22 20:14 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xinit.log
-rw-r--r--  1 Darwin Ninguno   6698 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xinitrc
-rw-r--r--  1 Darwin Ninguno   1645 Sep 22 20:13 /home/Darwin/.cache/x11docker/x11docker-xfce-75941500095/xtermrc

DEBUGNOTE[20:14:40,692]: watchpidlist(): Container x11docker_X3401_x11docker-xfce_75941500095 has terminated
DEBUGNOTE[20:14:40,831]: finish(): Checking pid 14378 (xpraloop): (already gone)
DEBUGNOTE[20:14:40,888]: time to say goodbye (watchpidlist x11docker_X3401_x11docker-xfce_75941500095)
DEBUGNOTE[20:14:41,094]: time to say goodbye (watchpidlist)
DEBUGNOTE[20:14:41,272]: finish(): Checking pid 14090 (containershell): (already gone)
DEBUGNOTE[20:14:41,606]: finish(): Checking pid 13343 (watchmessagefifo):     13343   12748   12748       9924  pty0      197609 20:12:35 /usr/bin/bash
DEBUGNOTE[20:14:41,958]: finish(): Checking pid 13332 (watchpidlist): (already gone)
DEBUGNOTE[20:14:42,775]: termpid(): Terminating 13343 (watchmessagefifo):     13343   12748   12748       9924  pty0      197609 20:12:35 /usr/bin/bash
/usr/bin/x11docker: line 857: 13343 Terminated              watchmessagefifo
DEBUGNOTE[20:14:43,275]: Waiting for CMD exit code since 1s
DEBUGNOTE[20:14:44,488]: Waiting for CMD exit code since 2s
DEBUGNOTE[20:14:45,688]: Waiting for CMD exit code since 3s
DEBUGNOTE[20:14:46,902]: Waiting for CMD exit code since 4s
DEBUGNOTE[20:14:48,112]: Waiting for CMD exit code since 5s
DEBUGNOTE[20:14:49,324]: Waiting for CMD exit code since 6s
DEBUGNOTE[20:14:50,521]: Waiting for CMD exit code since 7s
DEBUGNOTE[20:14:51,725]: Waiting for CMD exit code since 8s
DEBUGNOTE[20:14:52,936]: Waiting for CMD exit code since 9s
DEBUGNOTE[20:14:54,131]: Waiting for CMD exit code since 10s
DEBUGNOTE[20:14:55,366]: x11docker exit code: 0

Darwin@DESKTOP-EPQAUIL ~/x11docker
$ DEBUGNOTE[20:14:56,156]: traperror: Command at Line 7237 returned with error code 1:
  tail --pid="$$" --retry -n +1 -F $Logfiles 2> /dev/null >> $Logfile
  7974 - ::setup_verbosity::main::main
DEBUGNOTE[20:14:56,300]: time to say goodbye (traperror)

Output of the second try:

$ x11docker --desktop --debug -- x11docker/xfce
/usr/bin/x11docker: line 5855: ID: unbound variable
DEBUGNOTE[20:16:03,293]: traperror: Command at Line 5855 returned with error code 1:
  Hostsystem="$(source /etc/os-release 2>/dev/null ||:; echo ${ID:unkown})"
  7939 - ::check_host::main::main
DEBUGNOTE[20:16:03,427]: time to say goodbye (traperror)
DEBUGNOTE[20:16:04,877]: check_parent_sshd(): Failed to check for sshd. ps -p not supported.
DEBUGNOTE[20:16:05,228]: check_host(): ps can watch root processes: yes
DEBUGNOTE[20:16:10,365]: storeinfo(): cache=/home/Darwin/.cache/x11docker/x11docker-xfce-76162803841
DEBUGNOTE[20:16:10,785]: storeinfo(): stdout=/home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/stdout
DEBUGNOTE[20:16:11,107]: storeinfo(): stderr=/home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/stderr
x11docker note: Output of: ls -ld $(find /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841)
  drwxr-xr-x+ 1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/clipboardrc
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/compositor.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/docker.command
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/docker.info
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/dockerrc
-rw-r--r--  1 Darwin Ninguno 824 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/message.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/nxagent.keys
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/nxagent.nxclientrc
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/nxagent.options
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/pulseaudio.client.conf
drwxr-xr-x+ 1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share
-rw-rw-rw-  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/container.environment
-rw-rw-rw-  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/container.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/containerrc
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/containerrootrc
-rw-rw-rw-  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/stderr
-rw-rw-rw-  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/stdout
-rw-rw-rw-  1 Darwin Ninguno 217 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/systemd.journal.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/timetosaygoodbye
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/x11docker.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/Xauthority.client
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/store.pids
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/systemd.console-getty.service
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/systemd.environment.conf
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/systemd.journal.service
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/systemd.watch.service
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/systemd.x11docker.target
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/weston.ini
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/Xauthority.host.unknown
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/Xauthority.server
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xinit.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xinitrc
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xkb.keymap
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xorg.xdummy.conf
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/Xorg.xdummy.wrapper
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xpra.client.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xpra.server.log
-rw-r--r--  1 Darwin Ninguno   0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xtermrc

DEBUGNOTE[20:16:11,811]:
x11docker version: 6.3.0-beta
docker version:    Docker version 19.03.2, build 6a30dfc
Host system:       MSWindows-CYGWIN
Command:           '/usr/bin/x11docker' '--desktop' '--debug' '--' 'x11docker/xfce'
Parsed options:     --desktop --debug -- 'x11docker/xfce'
DEBUGNOTE[20:16:11,976]: --xephyr: Neither Xephyr nor Xnest found.
  You can look for the package name of this command at:
 https://github.com/mviereck/x11docker/wiki/dependencies#table-of-all-packages
DEBUGNOTE[20:16:12,140]: --xephyr needs a running X server. DISPLAY is empty.
DEBUGNOTE[20:16:12,282]: Dependency check for --xephyr: 1
DEBUGNOTE[20:16:12,454]: --xephyr not possible: missing dependencies.
DEBUGNOTE[20:16:12,637]: Dependency check for --xwin: 0
DEBUGNOTE[20:16:12,824]: Dependencies of --xwin already checked: 0
DEBUGNOTE[20:16:13,006]: Dependencies of --xwin already checked: 0
DEBUGNOTE[20:16:13,195]: Dependencies of --xwin already checked: 0
x11docker note: Using X server option --xwin

DEBUGNOTE[20:16:13,388]: storeinfo(): xserver=--xwin
x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

DEBUGNOTE[20:16:15,593]: waitforlogentry(): tailstderr: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[20:16:15,619]: waitforlogentry(): tailstdout: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[20:16:16,278]: storepid(): Stored pid '17386' of 'watchpidlist':     17386   16805   16805       8124  pty0      197609 20:16:16 /usr/bin/bash
DEBUGNOTE[20:16:16,558]: storepid(): Stored pid '17397' of 'watchmessagefifo':     17397   16805   16805       9248  pty0      197609 20:16:16 /usr/bin/bash
DEBUGNOTE[20:16:18,075]: storeinfo(): DISPLAY=10.0.75.1:2805
DEBUGNOTE[20:16:18,424]: storeinfo(): XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/Xauthority.client
DEBUGNOTE[20:16:18,681]: storeinfo(): XDG_RUNTIME_DIR=
DEBUGNOTE[20:16:18,973]: storeinfo(): Xenv= DISPLAY=10.0.75.1:2805 XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/Xauthority.client XDG_RUNTIME_DIR=
DEBUGNOTE[20:16:19,454]: X server command:
  /usr/bin/XWin :2805  \
  -retro \
  +extension RANDR \
  +extension RENDER \
  +extension GLX \
  +extension XVideo \
  +extension DOUBLE-BUFFER \
  +extension SECURITY \
  +extension DAMAGE \
  +extension X-Resource \
  -extension XINERAMA -xinerama \
  -extension MIT-SHM \
  -extension Composite -extension COMPOSITE \
  -extension XTEST -tst \
  -dpms \
  -s off \
  -auth /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/Xauthority.server \
  -listen tcp \
  -nowgl \
  -lesspointer \
  -screen 0 4720x3840 \
  -noclipboard \
  -iglx
DEBUGNOTE[20:16:19,704]: Users and terminal:
  x11docker was started by:                       Darwin
  As host user serves (running X, storing cache): Darwin
  Container user will be:                         Darwin
  Container user password:                        x11docker
  Getting permission to run docker with:          eval
  Terminal for password frontend:                 bash -c
  Running in a terminal:                          yes
  Running on console:                             no
  Running over SSH:                               no
  Running sourced:                                no
  bash $-:                                        huBE
DEBUGNOTE[20:16:20,447]:
  Running on Windows subsystem:                   CYGWIN
  Path to subsystem:                              C:/cygwin64
  Mount path in subsystem:                        /cygdrive/
DEBUGNOTE[20:16:20,688]: storeinfo(): containername=x11docker_X2805_x11docker-xfce_76162803841
DEBUGNOTE[20:16:23,766]: Docker command:
  docker.exe run --tty --rm --detach \
  --name x11docker_X2805_x11docker-xfce_76162803841 \
  --user 197609:197121 \
  --env USER=Darwin \
  --userns host \
  --cap-drop ALL \
  --security-opt no-new-privileges \
  --security-opt label=type:container_runtime_t \
  --init \
  --tmpfs /run --tmpfs /run/lock \
  --volume '/c/cygwin64/home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share':'/x11docker':rw \
  --workdir '/tmp' \
  --entrypoint env \
  --env 'container=docker' \
  --env 'XAUTHORITY=/x11docker/Xauthority.client' \
  --env 'DISPLAY=10.0.75.1:2805' \
  --env 'XDG_RUNTIME_DIR=/tmp/XDG_RUNTIME_DIR' \
  -- x11docker/xfce  /bin/sh - /x11docker/containerrc
DEBUGNOTE[20:16:27,958]: waitforlogentry(): tailstderr: Waiting since 11s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:28,138]: waitforlogentry(): tailstdout: Waiting since 11s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:29,228]: storepid(): Stored pid '17970' of 'containershell':     17970   16805   16805      13132  pty0      197609 20:16:29 /usr/bin/bash
DEBUGNOTE[20:16:29,433]: waitforlogentry(): tailstderr: Waiting since 13s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:29,631]: waitforlogentry(): start_xserver(): Waiting for logentry "readyforX=ready" in store.info
DEBUGNOTE[20:16:29,633]: waitforlogentry(): tailstdout: Waiting since 13s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:31,044]: waitforlogentry(): tailstderr: Waiting since 14s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:31,161]: waitforlogentry(): tailstdout: Waiting since 14s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:31,545]: Running xtermrc: Ask for password if needed (no)
DEBUGNOTE[20:16:31,994]: Running dockerrc: Setup as root or as user docker on host.
DEBUGNOTE[20:16:32,442]: dockerrc: Found default Runtime: runc
DEBUGNOTE[20:16:32,686]: waitforlogentry(): tailstderr: Waiting since 16s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:32,799]: waitforlogentry(): tailstdout: Waiting since 16s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:33,100]: dockerrc: All  Runtimes: runc
DEBUGNOTE[20:16:33,187]: waitforlogentry(): start_xserver(): Found log entry "readyforX=ready" in store.info.
DEBUGNOTE[20:16:33,519]: storepid(): Stored pid '18237' of 'xpraloop':
DEBUGNOTE[20:16:33,633]: dockerrc: Container Runtime: runc
DEBUGNOTE[20:16:34,062]: storeinfo(): runtime=runc
DEBUGNOTE[20:16:34,293]: waitforlogentry(): tailstderr: Waiting since 18s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:34,393]: waitforlogentry(): tailstdout: Waiting since 18s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:34,763]: dockerrc: Image CMD: startxfce4
DEBUGNOTE[20:16:35,226]: dockerrc: Image USER:
DEBUGNOTE[20:16:35,684]: storeinfo(): containeruser=Darwin
DEBUGNOTE[20:16:36,102]: waitforlogentry(): tailstderr: Waiting since 19s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:36,157]: waitforlogentry(): tailstdout: Waiting since 19s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:36,392]: dockerrc: Image ENTRYPOINT:
DEBUGNOTE[20:16:36,889]: dockerrc: Image WORKDIR:
DEBUGNOTE[20:16:37,333]: storeinfo(): readyforX=ready
DEBUGNOTE[20:16:37,664]: waitforlogentry(): dockerrc: Waiting for logentry "xinitrc is ready" in xinit.log
DEBUGNOTE[20:16:38,026]: Running xinitrc
DEBUGNOTE[20:16:38,451]: xinitrc: Failed to retrieve trusted cookie from X server. Will bake one myself.
DEBUGNOTE[20:16:38,723]: waitforlogentry(): tailstderr: Waiting since 21s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:38,753]: waitforlogentry(): tailstdout: Waiting since 21s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:39,044]: xinitrc: Created cookie: DESKTOP-EPQAUIL/unix:2805  MIT-MAGIC-COOKIE-1  de3f17f96567183cfd26afdbcb1e21a1
#ffff#4445534b544f502d4550514155494c#:2805  MIT-MAGIC-COOKIE-1  de3f17f96567183cfd26afdbcb1e21a1
DEBUGNOTE[20:16:39,945]: storeinfo(): xinitrc=ready
DEBUGNOTE[20:16:40,390]: waitforlogentry(): dockerrc: Found log entry "xinitrc is ready" in xinit.log.
DEBUGNOTE[20:16:40,898]: waitforlogentry(): containerrc: Waiting for logentry "containerrootrc=ready" in store.info
DEBUGNOTE[20:16:41,285]: waitforlogentry(): tailstderr: Waiting since 24s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:41,331]: waitforlogentry(): tailstdout: Waiting since 24s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:16:41,540]: storeinfo(): containerid=10dc3ccd842c90b39f12877e7ac502e4ee50262df7370e9e3634da9495a76e39
DEBUGNOTE[20:16:41,949]: dockerrc: Container is up and running.
DEBUGNOTE[20:16:42,355]: dockerrc: 1. check for PID 1: 3055
DEBUGNOTE[20:16:42,767]: dockerrc: 2. check for PID 1: 3055
DEBUGNOTE[20:16:43,176]: dockerrc: 3. check for PID 1: 3055
DEBUGNOTE[20:16:43,571]: dockerrc: 4. check for PID 1: 3055
DEBUGNOTE[20:16:43,985]: dockerrc: 5. check for PID 1: 3055
DEBUGNOTE[20:16:44,384]: dockerrc: 6. check for PID 1: 3055
DEBUGNOTE[20:16:44,787]: dockerrc: 7. check for PID 1: 3055
DEBUGNOTE[20:16:45,197]: dockerrc: 8. check for PID 1: 3055
DEBUGNOTE[20:16:45,574]: dockerrc: 9. check for PID 1: 3055
DEBUGNOTE[20:16:45,972]: dockerrc: 10. check for PID 1: 3055
DEBUGNOTE[20:16:46,358]: dockerrc: 11. check for PID 1: 3055
DEBUGNOTE[20:16:46,793]: dockerrc: 12. check for PID 1: 3055
DEBUGNOTE[20:16:47,225]: dockerrc: 13. check for PID 1: 3055
DEBUGNOTE[20:16:47,628]: dockerrc: 14. check for PID 1: 3055
DEBUGNOTE[20:16:48,033]: dockerrc: 15. check for PID 1: 3055
DEBUGNOTE[20:16:48,429]: dockerrc: 16. check for PID 1: 3055
DEBUGNOTE[20:16:48,829]: dockerrc: 17. check for PID 1: 3055
DEBUGNOTE[20:16:49,247]: dockerrc: 18. check for PID 1: 3055
DEBUGNOTE[20:16:49,637]: dockerrc: 19. check for PID 1: 3055
DEBUGNOTE[20:16:50,086]: dockerrc: 20. check for PID 1: 3055
DEBUGNOTE[20:16:50,485]: dockerrc: 21. check for PID 1: 3055
DEBUGNOTE[20:16:50,884]: dockerrc: 22. check for PID 1: 3055
DEBUGNOTE[20:16:51,346]: dockerrc: 23. check for PID 1: 3055
DEBUGNOTE[20:16:51,781]: dockerrc: 24. check for PID 1: 3055
DEBUGNOTE[20:16:52,200]: dockerrc: 25. check for PID 1: 3055
DEBUGNOTE[20:16:52,599]: dockerrc: 26. check for PID 1: 3055
DEBUGNOTE[20:16:53,005]: dockerrc: 27. check for PID 1: 3055
DEBUGNOTE[20:16:53,410]: dockerrc: 28. check for PID 1: 3055
DEBUGNOTE[20:16:53,794]: dockerrc: 29. check for PID 1: 3055
DEBUGNOTE[20:16:54,207]: dockerrc: 30. check for PID 1: 3055
DEBUGNOTE[20:16:54,597]: dockerrc: 31. check for PID 1: 3055
DEBUGNOTE[20:16:54,993]: dockerrc: 32. check for PID 1: 3055
DEBUGNOTE[20:16:55,407]: dockerrc: 33. check for PID 1: 3055
DEBUGNOTE[20:16:55,801]: dockerrc: 34. check for PID 1: 3055
DEBUGNOTE[20:16:56,200]: dockerrc: 35. check for PID 1: 3055
DEBUGNOTE[20:16:56,594]: dockerrc: 36. check for PID 1: 3055
DEBUGNOTE[20:16:56,991]: dockerrc: 37. check for PID 1: 3055
DEBUGNOTE[20:16:57,426]: dockerrc: 38. check for PID 1: 3055
DEBUGNOTE[20:16:57,847]: dockerrc: 39. check for PID 1: 3055
DEBUGNOTE[20:16:58,191]: dockerrc: 40. check for PID 1: 3055
DEBUGNOTE[20:17:17,173]: storeinfo(): pid1pid=3055
DEBUGNOTE[20:17:17,569]: storeinfo(): containerip=172.17.0.2
DEBUGNOTE[20:17:18,100]: waitforlogentry(): containerrc: Waiting since 37s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:17:18,502]: waitforlogentry(): containerrc: Waiting since 37s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:17:18,593]: waitforlogentry(): tailstderr: Waiting since 61s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:17:18,617]: waitforlogentry(): tailstdout: Waiting since 61s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:17:18,953]: Running containerrootrc: Setup as root in container
DEBUGNOTE[20:17:19,266]: containerrootrc: Container libc: glibc
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
/home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xtermrc: line 27: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:17:53,591]: waitforlogentry(): start_docker(): Waiting for logentry "dockerrc=ready" in store.info
/usr/bin/x11docker: line 1092: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:17:54,022]: time to say goodbye (watchpidlist)
DEBUGNOTE[20:17:54,395]: waitforlogentry(): start_docker(): Stopped waiting for dockerrc=ready in store.info due to terminating signal.
DEBUGNOTE[20:17:54,546]: traperror: Command at Line 5711 returned with error code 1:
  return 1
  8068 - ::start_docker::main::main
DEBUGNOTE[20:17:54,685]: storeinfo(): error=64
DEBUGNOTE[20:17:54,905]: time to say goodbye (main)
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
/usr/bin/x11docker: line 883: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:17:55,021]: storeinfo(): containerrootrc=ready
DEBUGNOTE[20:17:55,094]: time to say goodbye (traperror)
DEBUGNOTE[20:17:55,254]: Terminating x11docker.
DEBUGNOTE[20:17:55,326]: waitforlogentry(): tailstdout: Waiting since 97s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:17:55,318]: waitforlogentry(): tailstderr: Waiting since 97s for log entry "x11docker=ready" in store.info
DEBUGNOTE[20:17:55,586]: traperror: Command at Line 8068 returned with error code 1:
  return 1
  8133 - ::main::main
DEBUGNOTE[20:17:55,712]: time to say goodbye (finish)
DEBUGNOTE[20:17:55,864]: waitforlogentry(): tailstdout: Stopped waiting for x11docker=ready in store.info due to terminating signal.
DEBUGNOTE[20:17:55,881]: waitforlogentry(): tailstderr: Stopped waiting for x11docker=ready in store.info due to terminating signal.
DEBUGNOTE[20:17:55,912]: storeinfo(): dockerrc=ready
DEBUGNOTE[20:17:56,026]: storeinfo(): error=64
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
/usr/bin/x11docker: line 883: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
x11docker note: Output of: ls -ld $(find /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841)
  drwxr-xr-x+ 1 Darwin       Ninguno            0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841
-rw-r--r--  1 Darwin       Ninguno          674 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/docker.command
-rw-r--r--  1 Darwin       Ninguno         1272 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/docker.info
-rw-r--r--  1 Darwin       Ninguno        20642 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/dockerrc
-rw-r--r--  1 Darwin       Ninguno        57853 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/message.log
drwxr-xr-x+ 1 Darwin       Ninguno            0 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share
-rw-rw-rw-  1 Darwin       Ninguno            0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/container.environment
-rw-rw-rw-  1 Darwin       Ninguno          977 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/container.log
-rw-r--r--  1 Darwin       Ninguno         5247 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/containerrc
-rw-r--r--  1 Darwin       Ninguno         5023 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/containerrootrc
-rw-rw-rw-  1 Darwin       Ninguno         4459 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/message.fifo
-rw-rw-rw-  1 Darwin       Ninguno            0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/stderr
-rw-rw-rw-  1 Darwin       Ninguno            0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/stdout
-rw-r-----  1 Unknown+User Unknown+Group    736 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info
-rw-r--r--  1 Darwin       Ninguno           85 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/timetosaygoodbye
-rw-rw-rw-  1 Darwin       Ninguno           85 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/timetosaygoodbye.fifo
-rw-r--r--  1 Darwin       Ninguno       140906 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/x11docker.log
-rw-r--r--  1 Darwin       Ninguno          126 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/Xauthority.client
-rw-r--r--  1 Darwin       Ninguno           78 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/store.pids
-rw-r--r--  1 Darwin       Ninguno            0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/watchpid.fifo
-rw-r--r--  1 Darwin       Ninguno            0 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/Xauthority.host.unknown
-rw-r--r--  1 Darwin       Ninguno          126 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/Xauthority.server
-rw-r--r--  1 Darwin       Ninguno         4320 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xinit.log
-rw-r--r--  1 Darwin       Ninguno         6698 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xinitrc
-rw-r--r--  1 Darwin       Ninguno         1645 Sep 22 20:16 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/xtermrc

DEBUGNOTE[20:17:56,471]: time to say goodbye (traperror)
grep: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:17:56,689]: dockerrc: Command at Line 76 returned with error code 2:
  sed -i "/^$(echo "${1:-}" | cut -d= -f1)=/d" $Storeinfofile
  534 - ::storeinfo::main
DEBUGNOTE[20:17:56,821]: watchpidlist(): Setting pid CONTAINERx11docker_X2805_x11docker-xfce_76162803841 on watchlist:
DEBUGNOTE[20:17:56,950]: finish(): Checking pid 18237 (xpraloop): (already gone)
DEBUGNOTE[20:17:57,329]: time to say goodbye (dockerrc-traperror)
DEBUGNOTE[20:17:57,584]: finish(): Checking pid 17970 (containershell):     17970   16805   16805      13132  pty0      197609 20:16:29 /usr/bin/bash
DEBUGNOTE[20:17:57,900]: Process tree of x11docker:
/usr/bin/x11docker: line 8104: pstree: command not found

DEBUGNOTE[20:17:57,931]: termpid(): Terminating 17970 (containershell):     17970   16805   16805      13132  pty0      197609 20:16:29 /usr/bin/bash
DEBUGNOTE[20:17:58,000]: storeinfo(): xtermrc=ready
cat: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
/usr/bin/x11docker: line 857: 17970 Terminated              { trap '' SIGINT; case $X11dockermode in
    run)
        start_docker
    ;;
    exe)
        start_hostexe
    ;;
esac; Pid1pid="$(storeinfo dump pid1pid)"; case $X11dockermode in
    run)
        case $Winsubsystem in
            "")
                setonwatchpidlist "${Pid1pid:-NOPID}" pid1pid
            ;;
            *)
                setonwatchpidlist "CONTAINER$Containername"
            ;;
        esac
    ;;
    exe)
        setonwatchpidlist "${Pid1pid:-NOPID}" pid1pid
    ;;
esac; case $Xserver in
    --tty | --hostdisplay | --hostwayland | --weston | --kwin)

    ;;
    *)
        Xinitpid="$(pgrep -a xinit 2>/dev/null | grep "xinit $Xinitrc" | awk '{print $1}')"; checkpid "$Xinitpid" && setonwatchpidlist $Xinitpid xinit; echo $Xcommand | grep -q Xorgwrapper && Line="Xorg $Newdisplay" || Line="$(echo "$Xcommand" | head -n1)"; Xserverpid=$(ps aux | rmcr| grep "$(echo "${Line:-nothingtolookfor}" | cut -d' ' -f1-2)" | grep -v grep | grep -v xinit | awk '{print $2}'); checkpid "$Xserverpid" && setonwatchpidlist "$Xserverpid" Xserver
    ;;
esac; [ "$Pulseaudiomode" = "tcp" ] && start_pulseaudiotcp; checkpid "$Pid1pid" && debugnote "Process tree of ${Hostexe:-container}: (maybe not complete yet)
$(pstree -cp $Pid1pid 2>&1 ||:)"; debugnote "Process tree of x11docker:
$(pstree -p $$ 2>&1 ||:)
  $(storepid test dockerstopshell && echo "Lost child of dockerrc (dockerstopshell):
    $(pstree -p $(storepid dump dockerstopshell) 2>&1 ||:)")"; debugnote "storeinfo(): Stored info:
$(cat $Storeinfofile)"; debugnote "storepid(): Stored pids:
$(cat $Storepidfile)"; [ "$Showinfofile" = "yes" ] && echo "$Storeinfofile"; [ "$Showcache" = "yes" ] && echo "$Cachefolder"; [ "$Showdisplayenvironment" = "yes" ] && echo "$(storeinfo dump Xenv)"; [ "$Showcontainerid" = "yes" ] && echo "$(storeinfo dump containerid)"; [ "$Showcontainerpid1pid" = "yes" ] && echo "$Pid1pid"; storeinfo "x11docker=ready"; } 0<&0
DEBUGNOTE[20:17:58,271]: traperror: Command at Line 8106 returned with error code 1:
  cat $Storeinfofile
  8133 - ::main::main
DEBUGNOTE[20:17:58,486]: storeinfo(): error=64
DEBUGNOTE[20:17:58,570]: waitforlogentry(): containerrc: Waiting since 73s for log entry "containerrootrc=ready" in store.info
DEBUGNOTE[20:17:58,710]: finish(): Checking pid 17397 (watchmessagefifo):     17397   16805   16805       9248  pty0      197609 20:16:16 /usr/bin/bash
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
/usr/bin/x11docker: line 883: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:17:58,911]: time to say goodbye (traperror)

x11docker ERROR: waitforlogentry(): containerrc: Timeout waiting for log entry "containerrootrc=ready" in store.info
  Last lines of logfile store.info:

  Type 'x11docker --help' for usage information
  Debug options: '--verbose' (full log) or '--debug' (log excerpt).
  Logfile will be: /home/Darwin/.cache/x11docker/x11docker.log
  Please report issues at https://github.com/mviereck/x11docker

DEBUGNOTE[20:17:59,249]: finish(): Checking pid 17386 (watchpidlist): (already gone)
DEBUGNOTE[20:17:59,313]: time to say goodbye (error)
grep: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
grep: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:17:59,549]: storeinfo(): error=64
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:17:59,877]: traperror: Command at Line 882 returned with error code 2:
  sed -i "/^$(echo "${1:-}" | cut -d= -f1)=/d" $Storeinfofile
  426 - ::storeinfo::error::watchmessagefifo::setup_fifo::main::main
DEBUGNOTE[20:18:00,074]: storeinfo(): error=64
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
/usr/bin/x11docker: line 883: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:00,409]: time to say goodbye (traperror)
DEBUGNOTE[20:18:00,436]: termpid(): Terminating 17397 (watchmessagefifo):     17397   16805   16805       9248  pty0      197609 20:16:16 /usr/bin/bash
/usr/bin/x11docker: line 857: 17397 Terminated              watchmessagefifo
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:00,927]: Waiting for CMD exit code since 1s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:02,116]: Waiting for CMD exit code since 2s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:03,311]: Waiting for CMD exit code since 3s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:04,498]: Waiting for CMD exit code since 4s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:05,693]: Waiting for CMD exit code since 5s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:06,873]: Waiting for CMD exit code since 6s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:08,051]: Waiting for CMD exit code since 7s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:09,231]: Waiting for CMD exit code since 8s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:10,412]: Waiting for CMD exit code since 9s
/usr/bin/x11docker: line 614: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:11,595]: Waiting for CMD exit code since 10s
grep: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:12,839]: x11docker exit code: 0
grep: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
rm: cannot remove '/home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info': Permission denied

Darwin@DESKTOP-EPQAUIL ~/x11docker
$ DEBUGNOTE[20:18:13,833]: traperror: Command at Line 7237 returned with error code 1:
  tail --pid="$$" --retry -n +1 -F $Logfiles 2> /dev/null >> $Logfile
  7974 - ::setup_verbosity::main::main
DEBUGNOTE[20:18:13,973]: storeinfo(): error=64
sed: can't read /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
/usr/bin/x11docker: line 883: /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info: Permission denied
DEBUGNOTE[20:18:14,190]: time to say goodbye (traperror)

Maybe it's important to say that my cygwin folder is located in C:\cygwin64

mviereck commented 5 years ago

Good to see that --debug now runs overall. I've fixed some unrelated issues seen in the output.

The second log shows wrong file ownership of store.info:

-rw-r----- 1 Unknown+User Unknown+Group 736 Sep 22 20:17 /home/Darwin/.cache/x11docker/x11docker-xfce-76162803841/share/store.info

In the first log it is ok. I have no idea why the first startup works fine, but the second one does not. There should be no relation at all between the two starts. The cache folder names are different as intended, x11docker-xfce-75941500095 versus x11docker-xfce-76162803841.

I suspect one line in storeinfo() that might cause trouble: https://github.com/mviereck/x11docker/blob/master/x11docker#L882 sed -i "/^$(echo "${1:-}" | cut -d= -f1)=/d" should drop old entries. It fails expectedly in one case in the container due to file access issues, but that should cause no harm. It should just fail without doing anything. But maybe it confuses docker-for-win or Cygwin.

x11docker does not need this sed line, it is only included for general purposes. I have disabled it now. Maybe that makes a difference.

cruizba commented 5 years ago

Ok, now it's working perfectly :). Here is the log if it is necessary.

$ x11docker --desktop --gpu --init=systemd -- x11docker/xfce
grep: /etc/os-release: No such file or directory
grep: /etc/os-release: No such file or directory
x11docker note: Using X server option --xwin

x11docker WARNING: Option --gpu degrades container isolation.
  Container gains access to GPU hardware.
  This allows reading host window content (palinopsia leak)
  and GPU rootkits (compare proof of concept: jellyfish).

x11docker note: Option --init=systemd is not possible on MSYS2/Cygwin/WSL.
  systemd needs a running linux kernel with cgroup support.
  You can try another init option instead, e.g. --init=openrc.
  Fallback: Disabling option --init=systemd

x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

x11docker note: Failed to add container user to group render.

/usr/bin/startxfce4: X server already running on display 10.0.75.1:3342
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found

(xfce4-session:159): xfce4-session-WARNING **: 01:27:38.015: xfsm_manager_load_session: Something wrong with /fakehome/Darwin/.cache/sessions/xfce4-session-10.0.75.1:3342, Does it exist? Permissions issue?

(xfwm4:169): xfwm4-WARNING **: 01:27:38.321: The display does not support the XComposite extension.

(xfwm4:169): xfwm4-WARNING **: 01:27:38.326: Compositing manager disabled.

(xfwm4:169): GLib-CRITICAL **: 01:27:38.358: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:180): libupower-glib-WARNING **: 01:27:38.408: Couldn't connect to proxy: Could not connect: No such file or directory

(xfsettingsd:180): libupower-glib-CRITICAL **: 01:27:38.429: up_client_get_lid_is_closed: assertion 'UP_IS_CLIENT (client)' failed

(xfsettingsd:180): GLib-GObject-WARNING **: 01:27:38.445: invalid (NULL) pointer instance

(xfsettingsd:180): GLib-GObject-CRITICAL **: 01:27:38.446: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

** (xfdesktop:177): WARNING **: 01:27:38.537: Thumbnailer failed calling GetFlavors

(xfdesktop:177): GLib-GObject-CRITICAL **: 01:27:38.542: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfsettingsd:180): GLib-CRITICAL **: 01:27:38.572: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:180): GLib-GObject-CRITICAL **: 01:27:38.590: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfwm4:169): xfwm4-WARNING **: 01:27:38.615: The property '/general/double_click_distance' of type int is not supported

(xfsettingsd:180): GLib-GObject-CRITICAL **: 01:27:38.632: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(Thunar:175): dbind-WARNING **: 01:27:38.661: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(xfwm4:169): xfwm4-WARNING **: 01:27:41.803: Error opening /dev/dri/card0: No such file or directory

(xfce4-session:159): xfce4-session-WARNING **: 01:28:32.495: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(xfce4-session:159): xfce4-session-WARNING **: 01:28:32.499: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)
xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3342.
xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3342.0.

(Thunar:175): thunar-CRITICAL **: 01:28:37.139: Name 'org.xfce.FileManager' lost on the message dbus, exiting.

(xfsettingsd:180): libxfce4ui-WARNING **: 01:28:37.145: ICE I/O Error
xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:3342.0.
.
DEBUGNOTE[01:28:38,184]: Received SIGINT
DEBUGNOTE[01:28:38,332]: storeinfo(): error=130
DEBUGNOTE[01:28:38,504]: Terminating x11docker.
DEBUGNOTE[01:28:38,731]: time to say goodbye (finish)
DEBUGNOTE[01:28:39,013]: Output of: ls -ld $(find /home/Darwin/.cache/x11docker)
  drwxr-xr-x+ 1 Darwin Ninguno      0 Sep 23 01:27 /home/Darwin/.cache/x11docker
-rw-r--r--  1 Darwin Ninguno      5 Sep 23 01:27 /home/Darwin/.cache/x11docker/displaynumbers.19_09_23
-rw-r--r--  1 Darwin Ninguno    178 Sep 23 01:27 /home/Darwin/.cache/x11docker/docker.imagelist
drwxr-xr-x+ 1 Darwin Ninguno      0 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441
-rw-r--r--  1 Darwin Ninguno    710 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/docker.command
-rw-r--r--  1 Darwin Ninguno   1273 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/docker.info
-rw-r--r--  1 Darwin Ninguno  20235 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/dockerrc
-rw-r--r--  1 Darwin Ninguno  58471 Sep 23 01:28 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/message.log
drwxr-xr-x+ 1 Darwin Ninguno      0 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share
-rw-rw-rw-  1 Darwin Ninguno    330 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/container.environment
-rw-rw-rw-  1 Darwin Ninguno    302 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/container.log
-rw-r--r--  1 Darwin Ninguno   5212 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/containerrc
-rw-r--r--  1 Darwin Ninguno   6128 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/containerrootrc
-rw-rw-rw-  1 Darwin Ninguno   2983 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/message.fifo
-rw-rw-rw-  1 Darwin Ninguno   2840 Sep 23 01:28 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/stderr
-rw-rw-rw-  1 Darwin Ninguno     72 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/stdout
-rw-rw-rw-  1 Darwin Ninguno    813 Sep 23 01:28 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/store.info
-rw-r--r--  1 Darwin Ninguno     17 Sep 23 01:28 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/timetosaygoodbye
-rw-rw-rw-  1 Darwin Ninguno     17 Sep 23 01:28 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/timetosaygoodbye.fifo
-rw-r--r--  1 Darwin Ninguno 145701 Sep 23 01:28 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/x11docker.log
-rw-r--r--  1 Darwin Ninguno    126 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/share/Xauthority.client
-rw-r--r--  1 Darwin Ninguno     78 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/store.pids
-rw-r--r--  1 Darwin Ninguno     52 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/watchpid.fifo
-rw-r--r--  1 Darwin Ninguno      0 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/Xauthority.host.unknown
-rw-r--r--  1 Darwin Ninguno    126 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/Xauthority.server
-rw-r--r--  1 Darwin Ninguno   4400 Sep 23 01:28 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/xinit.log
-rw-r--r--  1 Darwin Ninguno   6626 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/xinitrc
-rw-r--r--  1 Darwin Ninguno   1572 Sep 23 01:27 /home/Darwin/.cache/x11docker/x11docker-xfce-94821779441/xtermrc
DEBUGNOTE[01:28:39,415]: finish(): Checking pid 44604 (xpraloop): (already gone)
DEBUGNOTE[01:28:39,764]: finish(): Checking pid 44378 (containershell): (already gone)
DEBUGNOTE[01:28:40,227]: finish(): Checking pid 43871 (watchmessagefifo):     43871   43362   43362      12160  pty0      197609 01:27:13 /usr/bin/bash
DEBUGNOTE[01:28:40,663]: finish(): Checking pid 43863 (watchpidlist): (already gone)
DEBUGNOTE[01:28:41,493]: termpid(): Terminating 43871 (watchmessagefifo):     43871   43362   43362      12160  pty0      197609 01:27:13 /usr/bin/bash
DEBUGNOTE[01:28:41,943]: x11docker exit code: 130

Thank you very much for your time. I'll notice if I see other issues :)

mviereck commented 5 years ago

Great! :-)

Could you please run once more with --debug? I want to see if there are some minor issues left.

In your prvious log I see two issues:

grep: /etc/os-release: No such file or directory

Should be fixed now, the error should not be shown anymore,

(xfwm4:169): xfwm4-WARNING : 01:27:38.321: The display does not support the XComposite extension. (xfwm4:169): xfwm4-WARNING : 01:27:38.326: Compositing manager disabled.

x11docker disables the composite extension for XWin. You can enable it with inofficial/experimental option --xcomposite. Could you run a test if if works? Probably I had a reason to disable it for XWin, but I don't remember.

cruizba commented 5 years ago

Of course. That's the log running with --debug and --xcomposite

$ x11docker --desktop –--xcomposite --debug -- x11docker/xfce^C

Darwin@DESKTOP-EPQAUIL ~/x11docker
$ x11docker --xcomposite --desktop --debug -- x11docker/xfce
x11docker note: Option --xcomposite: experimental only.

DEBUGNOTE[23:34:30,219]: check_parent_sshd(): Failed to check for sshd. ps -p not supported.
DEBUGNOTE[23:34:30,552]: check_host(): ps can watch root processes: yes
DEBUGNOTE[23:34:35,417]: storeinfo(): cache=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315
DEBUGNOTE[23:34:35,626]: storeinfo(): stdout=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share/stdout
DEBUGNOTE[23:34:35,830]: storeinfo(): stderr=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share/stderr
DEBUGNOTE[23:34:36,304]:
x11docker version: 6.3.0-beta
docker version:    Docker version 19.03.2, build 6a30dfc
Host system:
Command:           '/usr/bin/x11docker' '--xcomposite' '--desktop' '--debug' '--' 'x11docker/xfce'
Parsed options:     --xcomposite --desktop --debug -- 'x11docker/xfce'
DEBUGNOTE[23:34:36,429]: --xephyr needs a running X server. DISPLAY is empty.
DEBUGNOTE[23:34:36,551]: Dependency check for --xephyr: 1
DEBUGNOTE[23:34:36,671]: --xephyr not possible: missing dependencies.
DEBUGNOTE[23:34:36,794]: Dependency check for --xwin: 0
DEBUGNOTE[23:34:36,916]: Dependencies of --xwin already checked: 0
DEBUGNOTE[23:34:37,038]: Dependencies of --xwin already checked: 0
DEBUGNOTE[23:34:37,161]: Dependencies of --xwin already checked: 0
x11docker note: Using X server option --xwin

DEBUGNOTE[23:34:37,293]: storeinfo(): xserver=--xwin
x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

DEBUGNOTE[23:34:38,856]: waitforlogentry(): tailstdout: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[23:34:38,868]: waitforlogentry(): tailstderr: Waiting for logentry "x11docker=ready" in store.info
DEBUGNOTE[23:34:39,306]: storepid(): Stored pid '4692' of 'watchpidlist':      4692    4130    4130       9816  pty0      197609 23:34:39 /usr/bin/bash
DEBUGNOTE[23:34:39,512]: storepid(): Stored pid '4703' of 'watchmessagefifo':      4703    4130    4130      12044  pty0      197609 23:34:39 /usr/bin/bash
DEBUGNOTE[23:34:40,556]: storeinfo(): DISPLAY=10.0.75.1:2222
DEBUGNOTE[23:34:41,015]: storeinfo(): XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share/Xauthority.client
DEBUGNOTE[23:34:41,302]: storeinfo(): XDG_RUNTIME_DIR=
DEBUGNOTE[23:34:41,540]: storeinfo(): Xenv= DISPLAY=10.0.75.1:2222 XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share/Xauthority.client XDG_RUNTIME_DIR=
DEBUGNOTE[23:34:42,037]: X server command:
  /usr/bin/XWin :2222  \
  -retro \
  +extension RANDR \
  +extension RENDER \
  +extension GLX \
  +extension XVideo \
  +extension DOUBLE-BUFFER \
  +extension SECURITY \
  +extension DAMAGE \
  +extension X-Resource \
  -extension XINERAMA -xinerama \
  -extension MIT-SHM \
  +extension Composite +extension COMPOSITE \
  -extension XTEST -tst \
  -dpms \
  -s off \
  -auth /home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/Xauthority.server \
  -listen tcp \
  -nowgl \
  -lesspointer \
  -screen 0 4720x3840 \
  -noclipboard \
  -iglx
DEBUGNOTE[23:34:42,190]: Users and terminal:
  x11docker was started by:                       Darwin
  As host user serves (running X, storing cache): Darwin
  Container user will be:                         Darwin
  Container user password:                        x11docker
  Getting permission to run docker with:          eval
  Terminal for password frontend:                 bash -c
  Running in a terminal:                          yes
  Running on console:                             no
  Running over SSH:                               no
  Running sourced:                                no
  bash $-:                                        huBE
DEBUGNOTE[23:34:42,795]:
  Running on Windows subsystem:                   CYGWIN
  Path to subsystem:                              C:/cygwin64
  Mount path in subsystem:                        /cygdrive/
DEBUGNOTE[23:34:42,923]: storeinfo(): containername=x11docker_X2222_x11docker-xfce_74468442315
DEBUGNOTE[23:34:45,733]: Docker command:
  docker.exe run --tty --rm --detach \
  --name x11docker_X2222_x11docker-xfce_74468442315 \
  --user 197609:197121 \
  --env USER=Darwin \
  --userns host \
  --cap-drop ALL \
  --security-opt no-new-privileges \
  --security-opt label=type:container_runtime_t \
  --init \
  --tmpfs /run --tmpfs /run/lock \
  --volume '/c/cygwin64/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share':'/x11docker':rw \
  --workdir '/tmp' \
  --entrypoint env \
  --env 'container=docker' \
  --env 'XAUTHORITY=/x11docker/Xauthority.client' \
  --env 'DISPLAY=10.0.75.1:2222' \
  --env 'XDG_RUNTIME_DIR=/tmp/XDG_RUNTIME_DIR' \
  -- x11docker/xfce  /bin/sh - /x11docker/containerrc
DEBUGNOTE[23:34:50,220]: storepid(): Stored pid '5249' of 'containershell':      5249    4130    4130      10928  pty0      197609 23:34:50 /usr/bin/bash
DEBUGNOTE[23:34:50,471]: waitforlogentry(): start_xserver(): Waiting for logentry "readyforX=ready" in store.info
DEBUGNOTE[23:34:50,885]: waitforlogentry(): tailstderr: Waiting since 11s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:50,902]: waitforlogentry(): tailstdout: Waiting since 11s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:52,146]: Running xtermrc: Ask for password if needed (no)
DEBUGNOTE[23:34:52,352]: waitforlogentry(): tailstdout: Waiting since 13s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:52,443]: waitforlogentry(): tailstderr: Waiting since 13s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:52,827]: Running dockerrc: Setup as root or as user docker on host.
DEBUGNOTE[23:34:53,248]: dockerrc: Found default Runtime: runc
DEBUGNOTE[23:34:53,646]: waitforlogentry(): start_xserver(): Found log entry "readyforX=ready" in store.info.
DEBUGNOTE[23:34:53,697]: dockerrc: All  Runtimes: runc
DEBUGNOTE[23:34:53,934]: waitforlogentry(): tailstdout: Waiting since 14s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:54,150]: waitforlogentry(): tailstderr: Waiting since 14s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:54,156]: storepid(): Stored pid '5498' of 'xpraloop':
DEBUGNOTE[23:34:54,363]: dockerrc: Container Runtime: runc
DEBUGNOTE[23:34:54,797]: storeinfo(): runtime=runc
DEBUGNOTE[23:34:55,259]: dockerrc: Image CMD: startxfce4
DEBUGNOTE[23:34:55,478]: waitforlogentry(): tailstdout: Waiting since 16s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:55,751]: waitforlogentry(): tailstderr: Waiting since 16s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:55,778]: dockerrc: Image USER:
DEBUGNOTE[23:34:56,439]: storeinfo(): containeruser=Darwin
DEBUGNOTE[23:34:56,804]: dockerrc: Image ENTRYPOINT:
DEBUGNOTE[23:34:57,112]: waitforlogentry(): tailstdout: Waiting since 17s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:57,275]: dockerrc: Image WORKDIR:
DEBUGNOTE[23:34:57,467]: waitforlogentry(): tailstderr: Waiting since 18s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:57,823]: storeinfo(): readyforX=ready
DEBUGNOTE[23:34:58,233]: waitforlogentry(): dockerrc: Waiting for logentry "xinitrc is ready" in xinit.log
DEBUGNOTE[23:34:58,535]: waitforlogentry(): tailstdout: Waiting since 19s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:34:58,922]: waitforlogentry(): tailstderr: Waiting since 19s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:00,750]: Running xinitrc
DEBUGNOTE[23:35:00,875]: waitforlogentry(): tailstdout: Waiting since 20s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:01,201]: xinitrc: Failed to retrieve trusted cookie from X server. Will bake one myself.
DEBUGNOTE[23:35:01,335]: waitforlogentry(): tailstderr: Waiting since 21s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:01,797]: xinitrc: Created cookie: DESKTOP-EPQAUIL/unix:2222  MIT-MAGIC-COOKIE-1  e72ca7ffcc9ad1416abadaa084ddf494
#ffff#4445534b544f502d4550514155494c#:2222  MIT-MAGIC-COOKIE-1  e72ca7ffcc9ad1416abadaa084ddf494
DEBUGNOTE[23:35:02,804]: storeinfo(): xinitrc=ready
DEBUGNOTE[23:35:03,227]: waitforlogentry(): dockerrc: Found log entry "xinitrc is ready" in xinit.log.
DEBUGNOTE[23:35:03,348]: waitforlogentry(): tailstdout: Waiting since 23s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:03,816]: storeinfo(): containerid=7b3e1dfd411f449039e2c90984109638b91b05886eecb25e318837c21b90ef1e
DEBUGNOTE[23:35:03,830]: waitforlogentry(): tailstderr: Waiting since 23s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:04,375]: waitforlogentry(): containerrc: Waiting for logentry "containerrootrc=ready" in store.info
DEBUGNOTE[23:35:04,763]: dockerrc: Container is up and running.
DEBUGNOTE[23:35:05,213]: dockerrc: 1. check for PID 1: 2483
DEBUGNOTE[23:35:05,317]: waitforlogentry(): start_docker(): Waiting for logentry "dockerrc=ready" in store.info
DEBUGNOTE[23:35:05,585]: waitforlogentry(): start_docker(): Found log entry "dockerrc=ready" in store.info.
DEBUGNOTE[23:35:05,650]: storeinfo(): pid1pid=2483
DEBUGNOTE[23:35:05,881]: waitforlogentry(): tailstdout: Waiting since 25s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:05,922]: watchpidlist(): Setting pid CONTAINERx11docker_X2222_x11docker-xfce_74468442315 on watchlist:
DEBUGNOTE[23:35:06,253]: storeinfo(): containerip=172.17.0.2
DEBUGNOTE[23:35:06,432]: waitforlogentry(): tailstderr: Waiting since 26s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:06,884]: Running containerrootrc: Setup as root in container
DEBUGNOTE[23:35:07,056]: Process tree of x11docker:
/usr/bin/x11docker: line 8105: pstree: command not found

DEBUGNOTE[23:35:07,352]: storeinfo(): Stored info:
cache=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315
stdout=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share/stdout
stderr=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share/stderr
xserver=--xwin
DISPLAY=10.0.75.1:2222
XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share/Xauthority.client
XDG_RUNTIME_DIR=
Xenv= DISPLAY=10.0.75.1:2222 XAUTHORITY=/home/Darwin/.cache/x11docker/x11docker-xfce-74468442315/share/Xauthority.client XDG_RUNTIME_DIR=
containername=x11docker_X2222_x11docker-xfce_74468442315
runtime=runc
containeruser=Darwin
readyforX=ready
xinitrc=ready
containerid=7b3e1dfd411f449039e2c90984109638b91b05886eecb25e318837c21b90ef1e
pid1pid=2483
containerip=172.17.0.2
containerrootrc=ready
dockerrc=ready
xtermrc=ready
DEBUGNOTE[23:35:07,395]: containerrootrc: Container libc: glibc
DEBUGNOTE[23:35:07,715]: storepid(): Stored pids:
4692 watchpidlist
4703 watchmessagefifo
5249 containershell
5498 xpraloop
DEBUGNOTE[23:35:08,028]: storeinfo(): x11docker=ready
DEBUGNOTE[23:35:08,426]: waitforlogentry(): tailstdout: Waiting since 28s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:08,687]: storeinfo(): containerrootrc=ready
DEBUGNOTE[23:35:08,811]: waitforlogentry(): tailstdout: Found log entry "x11docker=ready" in store.info.
/usr/bin/startxfce4: X server already running on display 10.0.75.1:2222
DEBUGNOTE[23:35:09,087]: waitforlogentry(): tailstderr: Waiting since 28s for log entry "x11docker=ready" in store.info
DEBUGNOTE[23:35:09,294]: storeinfo(): dockerrc=ready
DEBUGNOTE[23:35:09,435]: waitforlogentry(): tailstderr: Found log entry "x11docker=ready" in store.info.
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found

(xfce4-session:144): xfce4-session-WARNING **: 23:35:07.179: xfsm_manager_load_session: Something wrong with /fakehome/Darwin/.cache/sessions/xfce4-session-10.0.75.1:2222, Does it exist? Permissions issue?

(xfsettingsd:168): libupower-glib-WARNING **: 23:35:07.646: Couldn't connect to proxy: Could not connect: No such file or directory

(xfsettingsd:168): libupower-glib-CRITICAL **: 23:35:07.648: up_client_get_lid_is_closed: assertion 'UP_IS_CLIENT (client)' failed

(xfsettingsd:168): GLib-GObject-WARNING **: 23:35:07.651: invalid (NULL) pointer instance

(xfsettingsd:168): GLib-GObject-CRITICAL **: 23:35:07.652: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xfsettingsd:168): GLib-CRITICAL **: 23:35:07.705: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:168): GLib-GObject-CRITICAL **: 23:35:07.719: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfsettingsd:168): GLib-GObject-CRITICAL **: 23:35:07.732: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfwm4:154): GLib-CRITICAL **: 23:35:08.090: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:168): xfsettingsd-WARNING **: 23:35:08.106: Failed to get the _NET_NUMBER_OF_DESKTOPS property.

** (xfdesktop:162): WARNING **: 23:35:08.198: Thumbnailer failed calling GetFlavors

(xfdesktop:162): GLib-GObject-CRITICAL **: 23:35:08.200: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfwm4:154): xfwm4-WARNING **: 23:35:08.301: The property '/general/double_click_distance' of type int is not supported

(xfwm4:154): xfwm4-WARNING **: 23:35:08.512: Error opening /dev/dri/card0: No such file or directory
DEBUGNOTE[23:35:09,798]: storeinfo(): xtermrc=ready
DEBUGNOTE[23:35:10,021]: watchpidlist(): Watching Container: x11docker_X2222_x11docker-xfce_74468442315
DEBUGNOTE[23:35:10,409]: waitforlogentry(): containerrc: Found log entry "containerrootrc=ready" in store.info.

(Thunar:160): dbind-WARNING **: 23:35:09.777: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
DEBUGNOTE[23:35:10,816]: Running containerrc: Unprivileged user commands in container
DEBUGNOTE[23:35:12,118]: containerrc: HOME is empty. Copying from /etc/skel

(xfwm4:154): xfwm4-WARNING **: 23:35:11.685: Another compositing manager is running on screen 0
DEBUGNOTE[23:35:13,324]: containerrc: Running container command:
    startxfce4

(xfce4-session:144): xfce4-session-WARNING **: 23:35:13.746: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(xfce4-session:144): xfce4-session-WARNING **: 23:35:13.749: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory)

(exo-open:185): dbind-WARNING **: 23:35:16.472: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(exo-helper-1:187): dbind-WARNING **: 23:35:16.547: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(xfce4-terminal:188): dbind-WARNING **: 23:35:16.662: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
ThunarThumbnailer: Failed to retrieve supported types: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.thumbnails.Thumbnailer1 was not provided by any .service files

(exo-helper-1:202): dbind-WARNING **: 23:35:42.074: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
DEBUGNOTE[23:35:55,372]: time to say goodbye (main)
DEBUGNOTE[23:35:55,554]: Terminating x11docker.
xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:2222.

(Thunar:160): thunar-CRITICAL **: 23:35:55.216: Name 'org.xfce.FileManager' lost on the message dbus, exiting.

(Thunar:160): thunar-WARNING **: 23:35:55.220: Name 'org.freedesktop.FileManager1' lost on the message dbus.

(xfsettingsd:168): libxfce4ui-WARNING **: 23:35:55.218: ICE I/O Error

(xfsettingsd:168): libxfce4ui-WARNING **: 23:35:55.222: Disconnected from session manager.
xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:2222.0.
wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:2222.0.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:2222.0.
wrapper-1.0: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.0.75.1:2222.0.
DEBUGNOTE[23:35:55,693]: time to say goodbye (finish)
DEBUGNOTE[23:35:56,074]: finish(): Checking pid 5498 (xpraloop): (already gone)
DEBUGNOTE[23:35:56,405]: finish(): Checking pid 5249 (containershell): (already gone)
DEBUGNOTE[23:35:56,804]: watchpidlist(): Container x11docker_X2222_x11docker-xfce_74468442315 has terminated
DEBUGNOTE[23:35:56,900]: finish(): Checking pid 4703 (watchmessagefifo):      4703    4130    4130      12044  pty0      197609 23:34:39 /usr/bin/bash
DEBUGNOTE[23:35:57,034]: time to say goodbye (watchpidlist x11docker_X2222_x11docker-xfce_74468442315)
DEBUGNOTE[23:35:57,256]: storeinfo(): cmdexitcode=0
DEBUGNOTE[23:35:57,267]: time to say goodbye (watchpidlist)
DEBUGNOTE[23:35:57,467]: finish(): Checking pid 4692 (watchpidlist):      4692    4130    4130       9816  pty0      197609 23:34:39 /usr/bin/bash
DEBUGNOTE[23:35:58,270]: termpid(): Terminating 4703 (watchmessagefifo):      4703    4130    4130      12044  pty0      197609 23:34:39 /usr/bin/bash
/usr/bin/x11docker: line 854:  4703 Terminated              watchmessagefifo
DEBUGNOTE[23:35:58,740]: x11docker exit code: 0
DEBUGNOTE[23:35:58,963]: CMD exit code: 0
mviereck commented 5 years ago

Thanks! Good, the --debug output does not show any issues anymore.

Overall the startup seems to be quite slow, it takes more than half a minute. I am not sure if I can do anything about that. x11docker does a lot of file accesses, and Windows it not really designed for this. I assume that the startup would be faster in WSL, but I am not sure.