(2014-05-12, 19:59)blubserl Wrote: (2014-05-09, 21:13)herrnst Wrote: For the LCD to work, just let that system run but have the SSH server activated. Then on the other box, SSH to your LCD system and set up a local port forward to TCP port 13666 (like "ssh -L13666:localhost:13666 <lcdbox>") so you have your remotely running LCDd available on the local system without reconfiguring the LCD host. After that, install script.xbmc.lcdproc and try to reproduce the problem.
hmm...i tried that yesterday evening, but i think i did something wrong, or did not correctly understand the procedure. is the following correct?
1) Let the HTPC run Openelec with SSH server activated.
2) SSH from main Windows PC to the HTPC with putty and enter the command ssh -L13666:localhost:13666 <IP of the HTPC>
3) Boot Openelec on the Windows PC from USB Stick (HTPC is still running as well)
4) install the script and try to reproduce the problem --> VFD Display on HTPC should output Data from main Windows PC.
5) Openelec on Windows PC might crash or not.
No
Well, 1.) is correct, assuming the HTPC has the LCD inbuild.
Then (this depends on the scenario/OS to be tested) - the windows case:
2.) Use PuTTY to connect to the HTPC: On the connection window, just enter the IP of your HTPC. Then go to "Connection - SSH - Tunnels". In the bottom right area under "add forward", enter 13666 in the source port field, and "localhost:13666" in the destination field. Make sure the "Local" radio button is ticked. Click the "Add" button (don't forget that!) so the entered values appear in the list above the entry box. Optionally, go back to the "Session" page and save the connection, so it's easy to re-access this using just a mouse click
Then click connect, login and wait for the shell prompt to appear. Then just minimize the window, but don't close it until you're done with testing.
3.) Start a win32 build of XBMC, install script.xbmc.lcdproc (and configure it to connect to a locally running LCDd - defaults). Start it, then some XBMC messages should appear on the LCD in the HTPC.
4.) Test.
The Linux / OpenELEC case:
2.) This might be a bit tricky: After booting OpenELEC on the "non-HTPC", you locally need to drop to a shell (this is the tricky part - don't ask me how to do this on OpenELEC). Login locally, then type "ssh -L13666:localhost:13666 <HTPC-IP>". Enter the credentials of the HTPC. Leave it as it is and go back to OpenELEC's XBMC.
3.) Install script.xbmc.lcdproc, connect locally, startup, text should appear
4.) Test.
Alternate 1: On your windows box, open a command shell, then enter "telnet <HTPC-IP> 13666" and check if it works or if you get an error (note that AFAIK on Windows 8+ the telnet client isn't there anymore by default, but you can use PuTTY to test that, just switch from SSH to Telnet connection type in the session page). If this works, move on to "Alternate cont.".
Alternate 2, if manipulation of LCDd.conf is possible in OpenELEC: Open LCDd.conf (on normal linux systems, this is /etc/LCDd.conf) in an editor, find the line that says "Bind=127.0.0.1" and change it to "Bind=<network-ip>". Save and restart LCDd.
Alternate cont.: In script.xbmc.lcdproc, connect to remote LCDd, enter the IP address and start it. Then test.
Hope this helps,
nst