[fluka-discuss]: Re: Flair on Docker on MacOS

From: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Date: Wed, 8 Aug 2018 06:25:18 +0000

Dear Mihai,

please make sure that in the XQuartz Preferences, under the Security tab, the "Allow connections from network clients" option is enabled. After setting it, please restart XQuartz (your machine) to apply the change.

Kind regards,
Dávid Horváth

Junior Researcher
Radiation Protection
ELI Beamlines

E: david.horvath_at_eli-beams.eu
T: +420 266 051 283
M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic


________________________________________
From: Mihai Straticiuc <mihai.straticiuc_at_cern.ch>
Sent: 08 August 2018 06:31:28
To: andrea.fontana_at_pv.infn.it
Cc: fluka-discuss_at_fluka.org; Horváth Dávid; paola.sala_at_mi.infn.it
Subject: Re: Flair on Docker on MacOS

Dear Andrea,

Thank you for the very useful reply.

I tried to follow your indications:
- installed Xquartz
- added Xquartz and Docker in the exceptions list of the firewall
- export DISPLAY=docker.for.mac.localhost:0.0
- xhost + returned the message "access control disabled, clients can connect from any host”
- started Docker
- started Fluka
- execute flair command —> Error: couldn't connect to display "docker.for.mac.localhost:0.0”

Am I missing something?

Best regards,
Mihai



> On 7 Aug 2018, at 17:11, Andrea Fontana <andrea.fontana_at_pv.infn.it> wrote:
>
> Hello Mihai,
> Paola has forwarded your email about the display problem on MacOS.
>
> The first check is to see if you have a Xserver running: we have
> done tests with Xquartz (https://www.xquartz.org/). Do you have
> this running? Please make sure that it is started before
> executing Docker.
>
> The display on MacOS is exported by the scripts with the
> environmental variable DISPLAY with the command:
>
> export DISPLAY=docker.for.mac.localhost:0.0
>
> You might have to allow incoming connections with the command:
>
> xhost +
>
> from a MacOS terminal, before starting Docker.
>
> A further check is to allow both Docker and Xquartz through the
> firewall of your machine, by adding them as exceptions.
>
> Could you please try and let us know if the problem persists?
>
> Kind regards,
> Andrea
>
>
> ---------------------------- Original Message ----------------------------
> Subject: Fwd: Flair on Docker?
> From: "paola.sala" <paola.sala_at_mi.infn.it>
> Date: Tue, August 7, 2018 15:39
> To: andrea.fontana_at_pv.infn.it
> --------------------------------------------------------------------------
>
>
>
>
>
> Sent from my Samsung Galaxy smartphone.
> -------- Original message --------From: Mihai Straticiuc
> <mihai.straticiuc_at_cern.ch> Date: 07/08/2018 14:50 (GMT+01:00) To:
> paola.sala_at_mi.infn.it Subject: Flair on Docker?
>
> Dear Paola,
>
> Iâ?Tve installed Fluka and Docker on MacOS but when I try to initiate
> flair the message �Error: couldn't connect to display
> "docker.for.mac.localhost:0.0� show up.
> Do you have any suggestions?
>
> Thank you,
> Mihai
>
>
>> On 1 Aug 2018, at 22:11, Giuseppe Battistoni
> <giuseppe.battistoni_at_mi.infn.it> wrote:
>>
>> Date: Wed, 1 Aug 2018 20:26:20 +0200
>> Subject: New FLUKA "virtual machine" distribution
>> From: "Paola Sala" <paola.sala_at_mi.infn.it>
>> To: fluka-users_at_fluka.org
>> Reply-To: paola.sala_at_mi.infn.it
>>
>> Dear Fluka User,
>> Â Â Â in the last few months we have been testing a new method of running
>> Fluka which is independent of the operating system and also alternative
>> to a traditional virtual machine (as Flupix).
>>
>> The new method is based on Docker, a tool that provides a uniformed
>> wrapper around any software package with the minimal environment
>> required to run it. We have prepared an updated Docker image with
>> Fedora 28 that allows to run Fluka and Flair easily on any OS (Linux,
>> Windows, MacOS).
>>
>> Scripts and instructions for installation and running are on github
>> at the following link (accessible also from the Fluka official website):
>>
>> https://flukadocker.github.io/F4D/
>>
>> These scripts download the image and ask for your fuid and password,
>> so that (for authorized users) the full installation of the latest
>> Fluka public version (2011.2x-2) is performed automatically.
>>
>> The primary goal is to allow the use of Fluka on Windows 10 machines.
>> On MacOS and Linux the use of a native installation is highly encouraged
>> and Docker should be used in these OS-es as a fallback method.
>> Also it is only suitable for personal machines, not clusters, as it
>> requires admin/root privileges to run.
>>
>> We would like to invite you to use this new way of running Fluka and
>> to let us know in case of problems, errors or questions. Support will
>> be provided through the fluka-discuss list.
>>
>> Kind regards,
>> The Fluka team
>>
>>
>
>
>
> --
> ========================================================================
> Dr. Andrea Fontana tel: +39 0382 987991
> Istituto Nazionale fax: +39 0382 423241
> di Fisica Nucleare
> Sezione di Pavia e-mail: andrea.fontana_at_pv.infn.it
> Via Bassi 6 web : www.pv.infn.it/~fontana
> 27100 PAVIA, Italy
> ========================================================================
>
> <untitled-2.html>

(Ƨځ맲r*'~&x%Zm 0nߖi'iw
Received on Wed Aug 08 2018 - 09:57:18 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 08 2018 - 09:57:20 CEST