LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-30-2015, 01:53 AM   #1
display
LQ Newbie
 
Registered: Jun 2015
Posts: 3

Rep: Reputation: Disabled
Red face 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.
 
Old 08-21-2015, 11:59 AM   #2
Neville Hillyer
Member
 
Registered: Jul 2015
Posts: 57

Rep: Reputation: Disabled
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.
 
Old 08-21-2015, 03:01 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Are you saying that you are running the client and server on mac?
 
Old 08-21-2015, 04:20 PM   #4
Neville Hillyer
Member
 
Registered: Jul 2015
Posts: 57

Rep: Reputation: Disabled
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.
 
  


Reply

Tags
display, linux, pixels, x11


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show the grafics of a program running in linux in other PC using X11? armbp1972 Linux - Networking 1 04-24-2012 01:15 PM
X11 error: Can't open display - running a script from console pliqui Debian 3 10-08-2009 11:06 AM
How to set X11 DISPLAY variable for an operation in program? alan_ri *BSD 5 02-06-2008 09:23 AM
No X11 DISPLAY variable was set, but this program performed an operation which requir ernestkok Fedora 1 04-04-2007 07:10 PM
display problem while running C program using openGL library narendramandiwalmca Linux - Software 3 06-15-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration