Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start X server without application #2

Open
bedrin opened this issue Sep 8, 2021 · 1 comment
Open

start X server without application #2

bedrin opened this issue Sep 8, 2021 · 1 comment

Comments

@bedrin
Copy link
Owner

bedrin commented Sep 8, 2021

/usr/bin/X :0

@bedrin
Copy link
Owner Author

bedrin commented Sep 8, 2021

bedrin@asus:~/docker-x-server$ docker volume create --name xsocket
xsocket
bedrin@asus:~/docker-x-server$ docker run --name docker-x-server --device=/dev/input --device=/dev/console --device=/dev/dri --device=/dev/fb0 --device=/dev/tty --device=/dev/tty1 --device=/dev/vga_arbiter --device=/dev/snd  --device=/dev/psaux --cap-add=SYS_TTY_CONFIG  -v xsocket:/tmp/.X11-unix  -d  docker-x-server:latest
9c46efb265bfb7b2ad1858cffec84945894d968780070fe074f200c62f0a6654
docker run --rm -it -e DISPLAY=:0 -v xsocket:/tmp/.X11-unix:ro stefanscherer/xeyes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant