unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* running gui aps in docker
@ 2020-08-19 17:15 Adam Kandur via
  2020-08-19 17:22 ` John Soo
  2020-08-20  5:51 ` Oleg Pykhalov
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Kandur via @ 2020-08-19 17:15 UTC (permalink / raw)
  To: Help Guix

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?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: running gui aps in docker
  2020-08-19 17:15 running gui aps in docker Adam Kandur via
@ 2020-08-19 17:22 ` John Soo
  2020-08-20  5:51 ` Oleg Pykhalov
  1 sibling, 0 replies; 3+ messages in thread
From: John Soo @ 2020-08-19 17:22 UTC (permalink / raw)
  To: Adam Kandur; +Cc: Help Guix

Hi Adam,

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

Hope that helps,

John

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: running gui aps in docker
  2020-08-19 17:15 running gui aps in docker Adam Kandur via
  2020-08-19 17:22 ` John Soo
@ 2020-08-20  5:51 ` Oleg Pykhalov
  1 sibling, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2020-08-20  5:51 UTC (permalink / raw)
  To: Adam Kandur via; +Cc: Adam Kandur

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

Hi,

Adam Kandur via <help-guix@gnu.org> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-20  5:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19 17:15 running gui aps in docker Adam Kandur via
2020-08-19 17:22 ` John Soo
2020-08-20  5:51 ` Oleg Pykhalov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).