Active Topics

 



Notices


Reply
Thread Tools
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#21
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.

Last edited by iamthewalrus; 2008-08-27 at 16:32.
 

The Following User Says Thank You to iamthewalrus For This Useful Post:
Posts: 9 | Thanked: 0 times | Joined on May 2008 @ Russia
#22
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.
 
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#23
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.
 
antikx's Avatar
Posts: 43 | Thanked: 12 times | Joined on Jun 2008 @ Winnpeg, MB, CAN
#24
Thanks so much for making this available Aisu!
 
Scarflash's Avatar
Posts: 193 | Thanked: 23 times | Joined on Aug 2007
#25
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'
__________________
[SIGPIC][/SIGPIC]
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#26
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.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#27
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...
 
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#28
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...
 

The Following User Says Thank You to Aisu For This Useful Post:
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#29
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
 
Posts: 9 | Thanked: 0 times | Joined on May 2008 @ Russia
#30
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:07.