View Single Post
Old 10-28-2012, 11:35 AM   #33
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Hm, I did as follows: 1. Connected via USB networking, used SSH port forwarding:
host$ ssh -L6001:127.0.0.1:6000 root@192.168.2.2
(port 6001 is display :1 for X11/TCP)

On the Kindle, the framework should probably be stopped
k3$ /etc/init.d/framework stop

And an update loop wouldn't hurt, I guess
k3$ while sleep 3; do echo 1 > /proc/einkfb/update_eink; done
(/proc path might be wrong, didn't check)

Then I started the X server on the Kindle
k3$ LD_LIBRARY_PATH=. ./Xfbdev

Then on the host I started applications and x2x:
host$ DISPLAY=:1 firefox &
host$ x2x -to :1 &

And that's about it. I didn't use any other features from x2x, and I did not install any fonts on the K3 (which means only fonts using the RENDER/Xft extension work, but that's enough for testing, but will break "simple" X11 apps).
hawhill is offline   Reply With Quote