mviereck / x11docker

Run GUI applications and desktops in docker and podman containers. Focus on security.
MIT License
5.62k stars 378 forks source link

Permissions problem when executing eclipse on a docker container #90

Closed moar82 closed 5 years ago

moar82 commented 5 years ago

I need to execute Eclipse from a docker container that I was provided. To do so, I installed x11docker and I managed to redirect display to my fedora 28 host machine. However, when I tried to open the workspace directory located in the docker container I got the following error: link. It seems to me is a problem with permissions, but not sure how to fixed them, any idea?

mviereck commented 5 years ago

Some attempts:

If that does not help, please show me the Dockerfile and x11docker output with --verbose (or ~/.cache/x11docker/x11docker.log after terminating x11docker).

moar82 commented 5 years ago

Thanks @mviereck for your quick response. Unfortunately, none of these attempts work. However, I found that whenever I run eclipse with x11docker, it creates a /fakehome/myuserid/workspace and there I can write. Hence, to solve the issue, I opened a terminal session on the container; granted full permissions to the folder that contains the workspace that I wanted to open, and run again eclipse using xdocker11, and this time voila, I have no problems.