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

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git