Skip to content
This repository has been archived by the owner on Jul 13, 2018. It is now read-only.

GUI from inside a docker container. #6

Open
yugeshk opened this issue May 28, 2018 · 3 comments
Open

GUI from inside a docker container. #6

yugeshk opened this issue May 28, 2018 · 3 comments

Comments

@yugeshk
Copy link
Collaborator

yugeshk commented May 28, 2018

I am running into the following errors during setup - ds make

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server already running (EE) Fatal server error: (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 786972308c05e5e02c6d0ffc38cda66a09f3b8bb5cd80abc06f46ca0af621232 ggpg-bionic

and when trying to run the UI from within the container -

Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused (main.py:84): Gtk-WARNING **: 17:36:42.921: cannot open display: :1

@yugeshk
Copy link
Collaborator Author

yugeshk commented May 28, 2018

http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/

The method listed here is different that what has been tried.

@dashohoxha
Copy link
Member

Try to change the number of XDISPLAY on settings.sh.

@yugeshk
Copy link
Collaborator Author

yugeshk commented May 29, 2018

I tired doing that too - didn't work. Same error. The Xephyr commands works form the host os, but not from the container (If I run the same command from my arch terminal, I do get a new window).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants