lars poulsen wrote:
> Hi list.
> 
> Does anybody know of a VNC viewer that works with SHR?
> I have a linux machine without monitor to control my music and i would
> love to use my freerunner to control this machine.

You don't need VNC for that!  VNC would only waste resources, and 
require a video card on that monitorless machine.

The freerunner runs linux, just like your music machine. That means
you can control it with ssh, and use X forwarding so that your
music apps uses the freerunner display instead of the pc display.

On the linux machine: Install sshd if it isn't there already. Most
linux distros comes with ssh installed.

The freerunner has ssh already, at least if you have SHR.

Use this command (in the freerunner terminal) to access
the command line on the linux machine:

ssh -X u...@linuxmachine

Replace "linuxmachine" with the IP address of that machine, or
its DNS name if it has one. Replace "user" with a valid
username on that machine.


If your music apps is a graphical one, then you can run it
directly like this:

ssh -X u...@linuxmachine musicapp

Where "musicapp" is whatever command you need to run on that machine.

You can also avoid going through the terminal, by making an icon
to launch this command. Create /usr/share/applications/remote.desktop
on the freerunner, containing this:

[Desktop Entry]
Name=Remote xclock
Exec=vala-terminal -e ssh -X [email protected] xclock
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=True
Icon=vala-terminal
Categories=Application


This example starts "xclock" on my server, and displays it on the 
freerunner. It should work with any software, just replace "xclock" with 
whatever you want to run, and "username" with an existing user on that 
machine.

If you don't want the trouble of typing a password each time you run 
this, consider setting up ssh with certificates so passwords aren't 
needed. (A simpler alternative is a password-less account, but then
you need to set things up with a firewall so strangers can't log in
on your machine and take over.)

Helge Hafting
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to