LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem in running X11 display program on MAC OS (https://www.linuxquestions.org/questions/linux-software-2/problem-in-running-x11-display-program-on-mac-os-4175546784/)

display 06-30-2015 01:53 AM

Problem in running X11 display program on MAC OS
 
Hi,

One of my X11 display code using Xlib.h is running perfectly on a linux machine. However, when I access the same system on my Mac using ssh, and run the same code, it says segmentation fault error. I couldn't figure out why it was occurring. Could you please help me out in solving this issue?

I am compiling the code the same way as I do on that linux machine, i.e. giving the X11lib path and finally appending -lX11 with the gcc command.

Thanks.

Neville Hillyer 08-21-2015 11:59 AM

I am not sure if this helps but I recently I traced a Wireshark/X11 problem to the failure to fully include PC fonts not available on OS X.

I opted for a non-Wireshark solution because all the patches I tried on my OS X 10.5.8 failed to get Wireshark working.

jefro 08-21-2015 03:01 PM

Are you saying that you are running the client and server on mac?

Neville Hillyer 08-21-2015 04:20 PM

I am not sure which client and server you refer to.

The X11 environment is an optional install from my OS X DVD.

However my X11 is not compatible with the later versions of Wireshark.

I think this is caused entirely by font incompatibilities despite less than clear error diagnostics.

This is a known issue with OS X 10.5.8 which was, hopefully, corrected in later versions of Wireshark and/or X11.


All times are GMT -5. The time now is 11:48 PM.