[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Docker amb X



Bones,

tinc uns mínims coneixements de docker per fer un cert funcionament. El
que em passa és que voldria poder executar una aplicació gràfica en un
docker i malgrat he mirat diversos tutorials no me'n surto.

Per exemple, si executo:

$ docker run --net=host --user $(id -u) --env DISPLAY=$DISPLAY \
 -v "/tmp/.X11-unix:/tmp/.X11-unix:rw" \
 --name graspit_f graspit graspit_simulator

Sempre acabo amb:

X11 connection rejected because of wrong authentication.
cannot connect to X server localhost:10.0

Malgrat que he fet un xhost +.

No sé què faig malament.

Alguna idea?

Leopold

-- 
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


Reply to: