Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] AirX 0.3

    Reply
    Page 3 of 4 | Prev |   1     2   3   4   | Next
    iamthewalrus | # 21 | 2008-08-26, 17:07 | Report

    Originally Posted by Aisu View Post
    That is certainly odd... Hm. The only time I would get an error like this is when I enter the wrong username or password. Maybe you SSH port is different than normal? Add the port onto the ip, I believe 192.168.1.100:xxx

    I can't imagine why it would do that... I'll look in to it asap!
    Ok I figured it out. For some reason the ~/.Xauthority on my notebook was owned by root. Changed it back to my own and problem went away. For those wondering how to run a different app. You can do X-forwarding from the commandline as well:

    - Open xterm
    - type (replace 'username' and 'host' with the remote username and ip address)
    Code:
      ssh -X username@host
    (fill in password)
    type name of the app
    Code:
      inkscape
    I wonder if these things are possible with X-forwarding:

    - use maemos on screen keyboard. I have an n800 so I can't use the hardware keyboard.
    - use a local or remote GTK theme
    - hear sound
    - maximize windows without relying on per application 'maximize' buttons
    <edit> Found a way to do this, be it a bit hackish:
    Code:
    wmctrl -r :ACTIVE: -b toggle,fullscreen
    </edit>

    Also it doesn't seem much faster than Tightvnc over ssh using some compresion and optimalization (though only minimal, you can go quite far with compression on tightvnc) like I described on the wiki.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by iamthewalrus; 2008-08-27 at 16:32.
    The Following User Says Thank You to iamthewalrus For This Useful Post:
    qwerty12

     
    Dali | # 22 | 2008-08-27, 15:40 | Report

    v0.3 doesn't work for me:

    ~ $ airx
    Woo
    Traceback (most recent call last):
    File "/usr/bin/airx", line 152, in <module>
    execfile("/home/user/airxhost.py")
    IOError: [Errno 2] No such file or directory: '/home/user/airxhost.py'

    v0.1 was ok. Uninstalling it before installing v0.3 doesn't fix problem.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Aisu | # 23 | 2008-08-27, 23:31 | Report

    Originally Posted by Dali View Post
    v0.3 doesn't work for me:

    ~ $ airx
    Woo
    Traceback (most recent call last):
    File "/usr/bin/airx", line 152, in <module>
    execfile("/home/user/airxhost.py")
    IOError: [Errno 2] No such file or directory: '/home/user/airxhost.py'

    v0.1 was ok. Uninstalling it before installing v0.3 doesn't fix problem.
    That means AirX could not create a file in your home directory.

    Are you running it as root or user? Or, have you ever accessed your tablet via ssh? Permissions on that folder may have been inadvertently changed whilst doing something.

    AirX checks for that file at every start-up, and if it does not exist, it attempts to create a blank one. Failing that, it gives you that error.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    antikx | # 24 | 2008-08-28, 03:35 | Report

    Thanks so much for making this available Aisu!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Scarflash | # 25 | 2008-08-28, 04:59 | Report

    aaahh i'm geting an error
    wiki wiki wiki?
    ERROR!
    SSH could not loging. Here is what SSH said:
    <class "pexpect.TIMEOUT'>
    Traceback (most recent call last):
    File "/usr/bin/airx", line 195, in abd
    child.expect(pexpect.EOF)
    AttributeError: 'NoneType' object has no attribute 'expect'

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwerty12 | # 26 | 2008-08-28, 06:49 | Report

    Originally Posted by Aisu View Post
    That means AirX could not create a file in your home directory.

    Are you running it as root or user? Or, have you ever accessed your tablet via ssh? Permissions on that folder may have been inadvertently changed whilst doing something.

    AirX checks for that file at every start-up, and if it does not exist, it attempts to create a blank one. Failing that, it gives you that error.
    I had the same problem. Although, I was able to do "touch /home/user/airxhost.py" as the tablet default user fine and the application started up.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
    Aisu, Dali

     
    Aisu | # 27 | 2008-08-28, 11:05 | Report

    Originally Posted by Scarflash View Post
    aaahh i'm geting an error
    wiki wiki wiki?
    ERROR!
    SSH could not loging. Here is what SSH said:
    <class "pexpect.TIMEOUT'>
    Traceback (most recent call last):
    File "/usr/bin/airx", line 195, in abd
    child.expect(pexpect.EOF)
    AttributeError: 'NoneType' object has no attribute 'expect'
    Is pexpect installed?

    I had previously worked this one out in a weird way...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Aisu | # 28 | 2008-08-28, 11:06 | Report

    Originally Posted by qwerty12 View Post
    I had the same problem. Although, I was able to do "touch /home/user/airxhost.py" as the tablet default user fine and the application started up.
    Thanks, Qwerty. I'll have to look into running a touch before letting AirX just die...

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

     
    Aisu | # 29 | 2008-08-28, 11:12 | Report

    Originally Posted by iamthewalrus View Post
    Ok I figured it out. For some reason the ~/.Xauthority on my notebook was owned by root. Changed it back to my own and problem went away. For those wondering how to run a different app. You can do X-forwarding from the commandline as well:

    - Open xterm
    - type (replace 'username' and 'host' with the remote username and ip address)
    Code:
      ssh -X username@host
    (fill in password)
    type name of the app
    Code:
      inkscape
    I wonder if these things are possible with X-forwarding:

    - use maemos on screen keyboard. I have an n800 so I can't use the hardware keyboard.
    - use a local or remote GTK theme
    - hear sound
    - maximize windows without relying on per application 'maximize' buttons
    <edit> Found a way to do this, be it a bit hackish:
    Code:
    wmctrl -r :ACTIVE: -b toggle,fullscreen
    </edit>

    Also it doesn't seem much faster than Tightvnc over ssh using some compresion and optimalization (though only minimal, you can go quite far with compression on tightvnc) like I described on the wiki.
    VNC is nice on occasion, of course! (Many thanks for that guide, too.)

    A VNC session is not as secure as (most) ssh sessions, right? But, then it suggests running VNC through SSH, which is a little redundant when all you need is SSH....

    I will do my best to add a full screen option in the next release, too

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Dali | # 30 | 2008-08-28, 13:19 | Report

    Originally Posted by qwerty12 View Post
    I had the same problem. Although, I was able to do "touch /home/user/airxhost.py" as the tablet default user fine and the application started up.
    Tnanks, now in started, but with same error as in msg #27. pexpect installed.

    Edit | Forward | Quote | Quick Reply | Thanks

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