Re: running gui aps in docker

2020-08-19 Thread Oleg Pykhalov
Hi,

Adam Kandur via  writes:

> Recently I tried to run a simple gui app in docker:
> docker run --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix 
> aliustaoglu/firefox
>
> but all i got is this error:
> No protocol specified
> error: XDG_RUNTIME_DIR not set in the environment.
> Error: cannot open display: :1

Did you run ‘xhost +local:’ or similar command to give access to a Xorg
session?


Oleg.


signature.asc
Description: PGP signature


Re: running gui aps in docker

2020-08-19 Thread John Soo
Hi Adam,

I’ve heard xpra works well for this purpose: 
https://xpra.org/trac/wiki/Usage/Docker

Hope that helps,

John

running gui aps in docker

2020-08-19 Thread Adam Kandur via
hi everyone! recently i tried to run a simple gui app in docker:
docker run --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix aliustaoglu/firefox

but all i got is this error:
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
Error: cannot open display: :1

Did anybody have something like this?