Closed eine closed 4 years ago
Thank you for the bug report!
x11docker adds an error message of cmd.exe
to the desired path:
x11docker ERROR: Cache root folder must not contain whitespaces.
'//wsl$/Debian/home/eine'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
C:/Users/eine/x11docker/cache
The result should only be C:/Users/eine/x11docker/cache
.
I've made a fix in https://github.com/mviereck/x11docker/commit/99eae4027a772c652d58854e7856cf72bb061145, please try out.
It works. The error is still shown, but it is no longer in the path:
$ /mnt/t/runx/runx -- /mnt/t/x11docker/x11docker x11docker/xfce xfce4-terminal
runx note: Using random X display number :394.
If this display number is already in use, X server startup will fail.
You can specify a display number N with option '--display N'.
'\\wsl$\Debian\home\eine'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
runx 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: https://github.com/mviereck/x11docker/issues/108
runx note: If you get application error messages like 'Cannot open display'
or 'Invalid MIT-MAGIC-COOKIE', the X authentication cookie might be broken.
You can remove old cookies and stop running X servers with: runx --cleanup
DISPLAY=10.0.75.1:394 XAUTHORITY=/home/eine/runx_Xauthority
'\\wsl$\Debian\home\eine'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
x11docker note: Using X server option --hostdisplay
x11docker note: Per default x11docker stores its cache files on drive C:.
docker setup may not allow to share files from drive C:.
If startup fails with an 'access denied' error,
please either allow access to drive C: or specify a custom folder for cache
storage with option '--cachebasedir D:/some/cache/folder'.
Same issue can occur with option '--home'.
Use option '--homebasedir D:/some/home/folder' in that case.
x11docker note: To allow protection against X security leaks,
please install 'xinit' and one or more of:
xpra, Xephyr, nxagent, weston+Xwayland, kwin_wayland+Xwayland or Xnest,
or run a second Xorg server with option --xorg.
x11docker WARNING: Option --hostdisplay allows less security hardening.
It is recommended to use another X server option like --nxagent or --xephyr.
'\\wsl$\Debian\home\eine'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
(xfce4-terminal:126): dbind-WARNING **: 20:13:57.775: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
/mnt/t/x11docker/x11docker: line 862: 826 Terminated watchmessagefifo
SUCCESS: The process with PID 4452 has been terminated.
Coming form mviereck/runx#2
I cannot post the full log, as x11docker fails to generate it precisely because the error is related to the path of the cache folder.