Hi,
I've installed FreeRDP on OSX using Homebrew.
I've also installed XQuartz 2.7.4.
However, when I try to run xfreerdp, I get the following error:
victorhooi$ xfreerdp 10.68.34.33
xf_pre_connect: failed to open display:
Please check that the $DISPLAY environment variable is properly set.
freerdp_pre_connect failed
Are there some special things you need to do to get FreeRDP working under OSX?
Cheers,
Victor
@victorhooi did you reboot after installing XQuartz? DISPLAY must be set before running xfreerdp otherwise there is nothing special you need to set for xfreerdp on OSX.
@victorhooi @bmiklautz Can we close this? (just tried this yesterday with latest master and it worked)
Think so. @victorhooi please reopen if this is still a problem for you.
@victorhooi did you reboot after installing XQuartz? DISPLAY must be set before running xfreerdp otherwise there is nothing special you need to set for xfreerdp on OSX.
how to set Display ,give an example please
confirmed, rebooting after having installed xquartz and this message goes away:
[14:49:55:909] [13403:163a1dc0] [ERROR][com.freerdp.client.x11] - failed to open display:
[14:49:55:910] [13403:163a1dc0] [ERROR][com.freerdp.client.x11] - Please check that the $DISPLAY environment variable is properly set.
Maybe freerdp could add it to the error message?
Example OS X (this got set automagically for me when I rebooted):
DISPLAY=/private/tmp/com.apple.launchd.Tt4i2z07qg/org.macosforge.xquartz:0
Most helpful comment
@victorhooi did you reboot after installing XQuartz? DISPLAY must be set before running xfreerdp otherwise there is nothing special you need to set for xfreerdp on OSX.