View Single Post
Old 09-26-2007, 09:25 PM   #9
jimbocho
Member
jimbocho began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2007
Location: Tokyo, Japan
Device: iRex iLiad
Using iRex as PC display with VNC

Thanks to Adam for sharing his VNC client and server ports! I thought I would share with everyone how I got the iRex to be a display for my Windows PC using them.

Start VNC server on your PC first. I chose to not set a password to make it easier for the iRex to connect. Then download Adam's vnc.tar.gz from above and copy it to a CF card and put it in the iRex. Then ssh to the iRex and run:

Code:
cd /media/cf
tar zxf vnc.tar.gz
cd vnc
LD_LIBRARY_PATH=/media/cf/vnc/lib ./vncviewer -display=:0 10.193.243.198
Of course, put your IP address in the last line. This will allow you to use your iRex as a display for your PC, but the cursor will not update frequently enough to use the mouse effectively. If you want to make the screen update faster, start a second ssh connection to your iRex and run the displayMgrClient I mentioned earlier, like:

Code:
displayMgrClient -d 127.0.0.1 -r 1
This will make the display update every 1 second, which makes using a mouse just bearable. However it can still be a bit painful.. Hit control-C when you're done.

Besides the mouse refresh, the other big caveat is that for speed there is only minimal display refreshing, so after switching windows a few times, you start to get a lot of artifacts..

Hope some other people find this info useful.. Thanks to Adam B. for his porting efforts!

-Jim

Last edited by jimbocho; 09-26-2007 at 09:35 PM.
jimbocho is offline   Reply With Quote