From 4991bdb8defe81a5033d7c0608260fb5205e3284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerardo=20Marx=20Ch=C3=A1vez-Campos?= Date: Tue, 24 Mar 2020 20:25:57 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 431d4f6..8a87e4f 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ $ ls LICENSE sampleDocument.tex README.md references.bib ``` -as you can see there are some files related with the repository :) **goo job** +as you can see, there are some files related with the repository :) **goo job** @@ -35,5 +35,22 @@ as you can see there are some files related with the repository :) **goo job** ## Running the image and mounting the repository Now you can mount the volumen that contain the just cloned repository. If you are using MacOS: ``` -$ +$ open -a XQuartz +$ ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') +$ xhost + $ip +192.xxx.x.xx being added to access control list +$ docker run --rm -it -v`pwd`:/mnt -e DISPLAY=$ip:0 -v /tmp/.X11-unix:/tmp/.X11-unix gmarxcc/texstudio:0.16 +root@d442a76cd169:/# +``` + + +``` +root@d442a76cd169:/# texstudio +QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' +libGL error: No matching fbConfigs or visuals found +libGL error: failed to load driver: swrast +root@d442a76cd169:/# +``` + +