Thank you. That was a very useful post.
1. Yes, I have done all that. It was no easy task, but I did manage to cross compile Xlib, X11R7 to be exact. Some people said it wasn't possible, but it isn't and I have done it. If anyone is interested in doing this as well, I would love to help.
2. I was aware, yes, but I didn't think to try connecting to my build machine's xserver. I may try it, but I believe I may not need to. After trying to run my compiled program on a different armeb-linux/montavista box which has the display module attached, I did not receive the connection refused error. Instead my program seg faulted. Im pretty sure I know why, Ill explain in a bit.
3. So Xlib uses an environment variable to determine which display to connect to? In the line: export DISPLAY=ubuntu:0.0, I assume "ubuntu" is a hostname? Can I substitute that for an IP address, like "export DISPLAY=14.14.14.1:0.0"? (Weird IP, I know, but 14 is my favorite number).
4. Thats very nice to know. I love being able to disable all security. I don't like it when my computer tells me I can't do something for security reasons. Thats for me to decide, not my computer.
5.
Code:
ubuntu:~$ ps -eaf|grep listen
105 3319 3240 0 May22 ? 00:00:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
prushik 17212 17180 0 00:52 pts/1 00:00:00 grep listen
So I should assume that it is listening, right?
Again, thank you for your reply it is very very helpful.