Originally Posted by hawhill
Oh dear, a bit to general and thus too complicated for our purposes, I guess.
Okay so call me bloody minded but I wanted to see what the script actually did.
essentially it ends up making this call
[root@kindle root]# /mnt/us/usr/bin/xinit /home/root/.xinitrc -- /mnt/us/usr/bin/Xvfb :1 -screen 0 1280x1024x24 -cc 4 -nolisten tcp -auth /tmp/.xas54195700.jHQkYI
[dix] Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/OTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/Type1/, removing from list!
/mnt/us/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
/mnt/us/usr/bin/xinit: connection to X server lost
waiting for X server to shut down
so my patched version of the script did actually run to it's conclusion. Looks like xinit would need some love to make this work on the kindle.
Anyways, I've lost interest, it's nothing we can make ourselves in a basic script. no magic here. It gets the size. colours and preferred method of startup wrong... Err. no.
but - for those that really enjoy hurting their brains - like me...
[root@kindle root]# XAUTHLOCALHOSTNAME=localhost CREATE_DISPLAY_OUTPUT=/mnt/us/x11vncdebug.txt x11vnc -display WAIT:cmd=/mnt/us/x11display.txt
would be enough to get you debugging at least. (updated script with explicit calls to grep and friends attached.)