Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2013, 10:14 PM   #61
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
for future reference
the Fonts info
http://www.mobileread.com/forums/sho...69&postcount=5
twobob is offline   Reply With Quote
Old 03-06-2013, 03:46 AM   #62
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,219
Karma: 2124593
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Oh, I guess it's using the system's freetype library - and that is probably lacking proper support for bitmap fonts. I guess the workaround is to specify a supported font as default font. Note that this will likely break for old X11 apps that expect some core bitmap fonts to be present. But most current software should work fine. Is that symlink stunt still needed anyway?
hawhill is offline   Reply With Quote
Old 03-06-2013, 07:04 AM   #63
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by hawhill View Post
Oh, I guess it's using the system's freetype library - and that is probably lacking proper support for bitmap fonts. I guess the workaround is to specify a supported font as default font. Note that this will likely break for old X11 apps that expect some core bitmap fonts to be present. But most current software should work fine. Is that symlink stunt still needed anyway?
no. not if you use the direct call. I was just mirroring exactly how I do stuff. And that's never "best practice".

That's very helpful info by the way, thank you.

I spoiled that section now with a big note in RED. Thanks Hawhill

Last edited by twobob; 03-06-2013 at 07:08 AM.
twobob is offline   Reply With Quote
Old 03-26-2013, 05:47 PM   #64
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
And I have now found the MISSING LIB LibXfonts.so.1 that caused all the headache!!

Upped it on the relevant post.

Sorry about that.
twobob is offline   Reply With Quote
Old 04-20-2013, 05:14 AM   #65
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
could we have a Howto?

ie shortest path to viewing RPi on Kindle Touch using X11 remote

eg missing bits and what is needed:
how to enable tcp for Xorg,
where is ssh -X for kindle,
how to use Xephyr,
and no doubt much more.

this is easily the most current and detailed thread found,
just expects that one has already had experience of these mysteries

best

~:"
peepo is offline   Reply With Quote
Old 04-20-2013, 11:57 AM   #66
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 7,001
Karma: 6359394
Join Date: Feb 2012
Device: Too many.
Cross-posting is against the forum guide lines.
Please do not do that.

AND
you can find the build of ssh that you are looking for attached to post #4 of this very thread.
it has been there since last February.

Last edited by knc1; 04-20-2013 at 12:07 PM.
knc1 is offline   Reply With Quote
Old 04-20-2013, 12:20 PM   #67
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
Yes well " HAD-TO-ZIP-TO-GET-ROUND-FORUM-FILESIZE.zip (16.58 MB, 29 views)"

is hardly ideal search material is it?

How is anyone supposed to guess what is in this package?

you knew, but kept it to yourself.

find me the ssh X11 forwarding in clear, and earn a gold star

there remains an issue of dependencies, which in my experience can be indeterminate.
hence some guidance is helpful...

Last edited by peepo; 04-20-2013 at 12:22 PM.
peepo is offline   Reply With Quote
Old 04-20-2013, 12:57 PM   #68
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
does one need a clean 4Gb K5?

mine has a few books ~30 and the basic usbnet but not much else...
trying to unzip huge-bundle:

# tar: write error: No space left on device

# free
total used free shared buffers cached
Mem: 255668 217024 38644 0 23140 90664
-/+ buffers/cache: 103220 152448
Swap: 0 0 0
peepo is offline   Reply With Quote
Old 04-20-2013, 01:23 PM   #69
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
from huge-bundle zipped /usr/lib and /usr/bin

and unzipped successfully on Kindle

back to life for now...
peepo is offline   Reply With Quote
Old 04-20-2013, 02:51 PM   #70
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
# bin/ssh -X pi@192.168.15.201
OpenSSL version mismatch. Built against 1000103f, you have 1000006f

so I guess this huge-bundle may not be suitable for this Kindle Touch as is:

# uname -a
Linux kindle 2.6.31-rt11-lab126 #1 Tue Jul 17 16:55:47 PDT 2012 armv7l GNU/Linux

suitable advice appreciated
peepo is offline   Reply With Quote
Old 04-20-2013, 09:22 PM   #71
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 404
Karma: 1287365
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Well I just did a bit of checking and found a great way to find what libraries it is calling (since it appears the ssl lib is the wrong one?):
If you type
Code:
export LD_DEBUG=files
before you run ssh, it shows what you need to get from debian. see Debian_Installation_on_Kindle_Touch for that.

Then export the libs you need to the kindle once you install ssh through apt-get into the image you create.

Good luck - I guess no one else is doing what you want, so when you get it working, post back! Also, Xephyr is a wonderful thing!

Also, maybe this would be helpful:
optware

to turn off the export LD_DEBUG, just set it blank like "export LD_DEBUG="

Last edited by brianinmaine; 04-20-2013 at 09:45 PM.
brianinmaine is offline   Reply With Quote
Old 04-20-2013, 11:26 PM   #72
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 7,001
Karma: 6359394
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by brianinmaine View Post
to turn off the export LD_DEBUG, just set it blank like "export LD_DEBUG="
unset LD_DEBUG
is the command for that purpose (un-setting any variable).
knc1 is offline   Reply With Quote
Old 04-20-2013, 11:49 PM   #73
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 404
Karma: 1287365
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by knc1 View Post
unset LD_DEBUG
is the command for that purpose (un-setting any variable).
and ldd?
brianinmaine is offline   Reply With Quote
Old 04-21-2013, 12:17 AM   #74
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 7,001
Karma: 6359394
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by brianinmaine View Post
and ldd?
It is (usually) a script.
It will list the library(ies) that would be selected for loading after considering all of the dynamic loader's configuration and environmentally settings as-of the moment it is run.

When looking for ABI mis-matches (a common cause of seg-faults) the objdump, readelf and nm utilities are a better source of information.

Information such as:
Code:
core2quad hello $ readelf -a hello | less

ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           ARM
  Version:                           0x1
  Entry point address:               0x838c
  Start of program headers:          52 (bytes into file)
  Start of section headers:          2112 (bytes into file)
  Flags:                             0x5000002, has entry point, Version5 EABI
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         8
  Size of section headers:           40 (bytes)
  Number of section headers:         31
  Section header string table index: 28
- - - - -
Dynamic section at offset 0x56c contains 25 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
- - - - -

Last edited by knc1; 04-21-2013 at 12:22 AM.
knc1 is offline   Reply With Quote
Old 04-21-2013, 12:23 AM   #75
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 404
Karma: 1287365
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by knc1 View Post
It is (usually) a script.
It will list the library(ies) that would be selected for loading after considering all of the dynamic loader's configuration and environmentally settings as-of the moment it is run.

When looking for ABI mis-matches (a common cause of seg-faults) the objdump and readelf utilities are a better source of information.
Thanks -very helpful -to me. Sorry to hijack the thread. I was trying to get the ssh working when I copied the wrong library to the wrong place and fubared my kindle for a bit. Still working on the ssh thing when I can!

heres a version of ssh with supporting libs, could someone test to see if -X works or not? I don't have a great setup right now to test this.
Attached Files
File Type: gz ssh.tar.gz (1.20 MB, 25 views)

Last edited by brianinmaine; 04-22-2013 at 02:10 AM.
brianinmaine is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 Keyboard - Any method for (pseudo) x11? theinfiniti Kindle Developer's Corner 3 01-22-2013 01:15 AM
why ebook-convert requires x11? jose1711 Recipes 2 06-12-2011 06:12 AM
Accessories Remote Kumabjorn Amazon Kindle 20 07-19-2010 05:30 PM
iLiad X11 Forwarding ksira iRex Developer's Corner 1 02-24-2008 07:31 PM
iLiad X11 hacking arivero iRex Developer's Corner 7 07-25-2006 05:08 PM


All times are GMT -4. The time now is 11:15 AM.


MobileRead.com is a privately owned, operated and funded community.