-
Notifications
You must be signed in to change notification settings - Fork 387
Closed
Labels
Description
when I run this code:
x11docker --gpu x11docker/xfce glxgears
An error occurred:
x11docker WARNING: Running as user root.
Maybe $(logname) did not provide an unprivileged user.
Please use option --hostuser=USER to specify an unprivileged user.
Otherwise, new X server runs as root, and container user will be root.
x11docker note: Option --user=root: Please set option --sudouser or --cap-default
if you want root privileges for container user root.
Failed to get D-Bus connection: 没有那个文件或目录
x11docker WARNING: Your host X server runs without cookie authentication.
x11docker note: Option --xc for X in container enabled automatically.
x11docker note: Using X server option --xpra-xwayland
x11docker ERROR: --xc: Startup of x11docker/xserver failed.
Last lines of xinit log:
docker: invalid reference format: repository name must be lowercase.
See 'docker run --help'.
Error: No such object: x11docker_X119_xserver_95680871231
Type 'x11docker --help' for usage information
Debug options: '--verbose' (full log) or '--debug' (log excerpt).
Logfile will be: /root/.cache/x11docker/x11docker.log
Please report issues at https://github.com/mviereck/x11docker
/bin/x11docker: 行 942: 31552 已终止 watchpidlist
/bin/x11docker: 行 942: 31559 已终止 watchmessagefifo
how to fix this