Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    GUI For X Forwarding

    Reply
    Page 1 of 2 | 1   2   | Next
    Aisu | # 1 | 2007-12-23, 06:12 | Report

    **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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Aisu; 2007-12-24 at 21:56.
    The Following User Says Thank You to Aisu For This Useful Post:
    timsamoff

     
    debernardis | # 2 | 2007-12-23, 09:57 | Report

    i would happily test that (though it is easily done on the command line)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    RipTorn | # 3 | 2007-12-23, 13:08 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    vims | # 4 | 2007-12-23, 14:18 | Report

    I would use this.
    Because I'm to lazy for commandlines and like guis (especcially on the tablets!!!)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    El Amir | # 5 | 2007-12-23, 14:22 | Report

    I'd love to use an app like that. Will come often in handy!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Aisu | # 6 | 2007-12-23, 17:42 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Aisu; 2007-12-23 at 19:04.

     
    linuxrebel | # 7 | 2007-12-23, 22:08 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Aisu | # 8 | 2007-12-23, 22:19 | Report

    There is no /etc/sshd_config? I don't think Xhost or Xauth were included in the IT's X server for some reason.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aflegg | # 9 | 2007-12-24, 10:27 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to aflegg For This Useful Post:

     
    fnordianslip | # 10 | 2007-12-24, 11:43 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout