psla314 3 Posted June 30 I have a cross platform console app that is using FMXLinux (https://www.fmxlinux.com/). (I am using FMX because some of the dlls are used by an FMX gui App) When i compile to linux and run on wsl, i always get following written to stdout Unable to init server: Could not connect: Connection refused I am assuming the FMXLinux part of the app is trying to connect to the XServer on linux (under wsl). Is there a way to stop FMXLinux compiled into the console app from trying to connect to the XServer. The app seems to run ok , just find the error annoying and not sure whether there is a delay in trying to connect. Regards Peter Share this post Link to post
eivindbakkestuen 32 Posted July 1 The FMXLinux source does not appear to contain any of that message. Could there be something else linked into your DLLs? Share this post Link to post
Brian Evans 5 Posted July 3 If you want a console application then create a console application. Quote I am using FMX because some of the dlls are used by an FMX gui App) Not sure the reason behind this statement - what does it matter what else is using a DLL/library? Share this post Link to post