Notices


Reply
Thread Tools
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#1
**UPDATE SEE HERE

AirX and MediaMote can now be used together, but Pexpect package MUST BE INSTALLED FOR EITHER TO WORK! Get it HERE!
***


Yo!

I just started tinkering with a little application I thought some of you might be interested in, and I'd like to get a few comments about it. (If you think it's a good idea or not).

Remember seeing on my site that I was using firefox to watch youtube videos on my n770? (If not, check here). This was done using SSH and X Forwarding.

Usually, this has to been done from a command line, but I ended up building a GUI tool that allows you to simply put in the information and pick the app you want to run on your tablet. Any app that your linux computer can run. Firefox, gimp, gedit, open office, etc, etc...

Would anyone use this?

Thanks, much appreciated

Last edited by Aisu; 2007-12-24 at 21:56.
 

The Following User Says Thank You to Aisu For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#2
i would happily test that (though it is easily done on the command line)
 
Posts: 323 | Thanked: 118 times | Joined on Nov 2007 @ Australia
#3
The trick I want to see is it the other way around. I'd like to be able to fire my N800 apps on my Linux device. There is another post about this issue and there is also a bug on bugzilla


-Rip
 
Posts: 32 | Thanked: 2 times | Joined on Jul 2006 @ Germany
#4
I would use this.
Because I'm to lazy for commandlines and like guis (especcially on the tablets!!!)
 
El Amir's Avatar
Posts: 487 | Thanked: 152 times | Joined on Aug 2007 @ London, UK
#5
I'd love to use an app like that. Will come often in handy!
__________________
Follow me on twitter HERE!

Applications I've made:
- Vuvuzela
- LTM: London Tube Map
 
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#6
Alrighty, AirX is posted here, I'm releasing it under the GNU GPL: http://itablet.garage.maemo.org/airx_0.1-1_armel.deb

But, packaging that was too easy I must have missed something... Hm, please tell me if there are any problems (If it won't start, please run it from the command line as "airx" and tell me what it says) Thanks

Last edited by Aisu; 2007-12-23 at 19:04.
 
linuxrebel's Avatar
Posts: 182 | Thanked: 46 times | Joined on Jan 2007 @ Silly-Con Valley
#7
Originally Posted by RipTorn View Post
The trick I want to see is it the other way around. I'd like to be able to fire my N800 apps on my Linux device. There is another post about this issue and there is also a bug on bugzilla


-Rip
IMHO this isn't a bug. You need to configure /etc/sshd_config to alloww x11 forrwarding. Until then it won't work. After, it does.
 
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#8
There is no /etc/sshd_config? I don't think Xhost or Xauth were included in the IT's X server for some reason.
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#9
A few things I've noticed:
  1. The deb needs to list some dependencies, like python2.5-gtk2, python2.5-cairo, python2.5-hildon
  2. All the input fields are set to auto-capitialise, which is wrong for username (and really hostname too).
  3. The password entry box isn't a password field, so it both auto-capitalises (see above) and shows it in clear-text.

Finally, whenever I set it up and clicked the button, the app froze; I was asked if I wanted to kill it, and eventually it unfroze and did nothing. Running it from the terminal didn't show any errors.

However, running:

Code:
ssh -X user@host app
...worked fine.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 

The Following User Says Thank You to aflegg For This Useful Post:
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#10
While it is not all that hard to perform the same job in the shell, on the tablets it is certainly easier to use well crafted GUI tools for convenience.

I've set up pass-key protected public-key authentication for ssh on my n800. I use ssh-agent and ssh-add to cache my passkey for a period, so I don't get bothered very time I log in somewhere. This also helps me use (g)rsync for remote backups to my NSLU2 (running Debian Etch).

I've also got a fairly large .ssh/config file with many host aliases and other options. This means that I don't need to quote a username or a password, or the port number on the remote host (which aren't the default 22 for "security through obscurity" purposes).

So, I'll have a hack in the airx python script to see If I can get this to work.

Being able to modify things like this isn't a big deal, so I'm sorry if I'm preaching to the coverted, but I though some new users might start to see the benefit of FOSS and Linux if they see how they can use it to get what they want without relying on others.

I have a couple of other ideas too. Why not add some more utility to this app, and allow for the user to configure ssh tunnels, SOCKS5 proxies, launch an ssh-agent and manage keys with ssh-keygen and ssh-add. It would then be a bit like the Windows app, Putty (without the built-in shell and the crappy OS).

This sounds like an interesting project to work on. I've not dabbled with GUI stuff before, so this would be a good chance to learn. Aisu, if you're up for elaborating and collaborating, I am too.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:48.