LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


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

Rep: Reputation: Disabled
Display on X11 server issue with Mac


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 06-30-2015, 05:38 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
http://linux.programdevelop.com/1118387/
http://www.linuxquestions.org/linux/...Ask_a_Question
 
  


Reply



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
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. defa0009 Linux - General 15 02-18-2022 08:09 AM
Problem in running X11 display program on MAC OS display Linux - Software 3 08-21-2015 04:20 PM
[SOLVED] kdm causes Can't connect to X11 window server using ':0' as the value of the DISPLAY mattca Slackware 7 12-02-2013 11:24 AM
[SOLVED] cygwin issue - java.awt.HeadlessException:No X11 DISPLAY variable was set, but .... threezerous Linux - Newbie 2 10-06-2013 05:38 AM
Mac G4 display issue Jonty03 Linux - Newbie 0 06-14-2007 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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