View Single Post
Old 09-26-2007, 03:39 AM   #8
jimbocho
Member
jimbocho began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2007
Location: Tokyo, Japan
Device: iRex iLiad
displayMgrClient

Don't forget this useful tool too. If you combine the S99start modification above, as well as the screen trick above, as well as this displayMgrClient trick, you can use the iRex as a minimal X11 display!! Way cool.

Code:
root@ereader:~# displayMgrClient -h
Usage: displayMgrClient -<option> <argument>
  no arguments : send messages to local loop
  -d <dotted decimal ip address> : send messages to ip address
  -h : display this message
  -p : test of partial update
  -r <seconds> : repeat a full update every <seconds>
  -t : update toolbar area
I started up an xterm on my PC linked to screen as described earlier in this thread, then invoked on the iRex:

Code:
root@ereader:~# displayMgrClient -d 127.0.0.1 -r 4
(W)displayMgrClient.c:156,main() Server address 127.0.0.1
Now I can go to the terminal on my PC in which I launched screen -x and run some X11 applications, like xclock, running on my PC, using the iRex as an X display. The screen updates at 4 second intervals automatically thanks to displayMgrClient (you can make it 1 second if you want). COOL!!! I can use my PC's keyboard to input text into the iRex as an X display but I don't know how to get the mouse to work though.

(I have no idea what kind of message displayMgrClient is sending behind the scenes.. but it's not that important to me because I can just run it on the iRex. If you really wanted to figure it out maybe you could use tcpdump?)

-Jim

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