I’ve been trying to get VNC (http://www.uk.research.att.com/vnc/) to port to
the QNX-RTP. First off let me explain what it is if you haven’t read about
it or tried it out. VNC is a lot like phindows (if you’ve heard of that,
made by QNX) in that it lets you run a display of one computer on another
computer. It has been ported to a large variety of platforms, someone has
even ported the viewer (client side) to the RTP (available at:
http://www.nexwarecorp.com/Developers/). I’ve been successful at running a
VNC server on a linux box and running a X-windows session on a windows
computer. After getting linux in windows, I thought: hmm I wonder if I can
get this beast to work in QNX-RTP, after all the RTP has some kind of
X-server built in it to run X-apps.
The server portion of VNC is branched from 3.3 something of the server
distribution of X-windows. I read up on the current (3.3.X) version of
X-windows and saw that it somewhat support QNX-RTP. So I took what I needed
out of the newer X-windows source and merged it into the VNC source (mostly
just putting #defines in for QNX-RTP).
After a lot of banging my head against the monitor, I got it compile (ugh X
sucks to compile too, if one file in any module screws up I had to recompile
the whole thing over again ~30 minutes each shot). OK, so now I try to run
the thing and it whines about not having xauth… So I dig around find the
xauth source and compile it and get it up and running. I read up on xauth
and its supposed to set up who can access the X-server on the machine its
running on. Well, xauth seems to have problems “adding” a sesion to its
database, I’m not sure if this is causing me problems though.
Anway, to make a long story short (too late for that now hehe). I finally
tried start the VNC server and (drum roll please) it fails miserably. Well
at least it doesn’t crash it just uses 100% of the CPU and won’t accept any
connections from my windows VNC client. I’m deep into stuff I don’t
understand now, I don’t understand x-windows good enough to figure out where
to look in the source.
Anyone else ever taken a crack at this, or is this just a bear to port?