Execute X11 program from linux.
My college uses a linux os, we can start xserver and then empty gui will appear, i wrote program to display a line, i compiled the code it 's fine. but when i execute the program it shows segmentation fault, how to execute the program in gui??
Execute X11 program from linux.
===

My college uses a linux os, we can start xserver and then empty gui will appear, i wrote program to display a line, i compiled the code it 's fine. but when i execute the program it shows segmentation fault, how to execute the program in gui??