After some debugging I found out why I get segfault when trying to connect with Ekos.. It's because I use indi_duino for my focuser and powerswitch for my camera, when starting Ekos without indi_duino everything works fine exept my focuser and camera ofcoure.
The strange thing is that Ekos craches if indi_duino is loaded at my remote computer even if I disabled it in Ekos.
I solved my problem.. I'm shamed to say that there was some old code left in the xml-file for another device I have'nt been using för a long time and that caused the problem.. so everything is fine now..