Reply
Thread Tools
Posts: 7 | Thanked: 5 times | Joined on Jan 2010
#11
Originally Posted by tomassey View Post
I'm actually wondering if it's possible to install the Debian package x11-xserver-utils from http://packages.debian.org/lenny/arm...utils/download

Which should give you xhost. Run xhost + on the N900, should get rid of any authentication problems.
Hmm. Not easily. Many dependencies.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#12
Just build xhost from it and reduce the deps... I did the same for xrdb and xset(I think... someone requested it)
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 

The Following User Says Thank You to ruskie For This Useful Post:
Posts: 3 | Thanked: 1 time | Joined on Jan 2010
#13
Originally Posted by tomassey View Post
Vague thought would be to compile xauth for Maemo 5. Or perhaps xhost, though that wouldn't be very secure.
I needed xauth to get tunneling into my N900 , so I hacked up the Debian
version 1.0.3 package and built it for fremantle.

I've attached the .deb and a tar file of the .dsc and .diff.gz to build it.
I'm new to this and haven't had much time to read up on it, so I likely
haven't done it right.
Attached Files
File Type: deb xauth_1.0.3-2maemo_armel.deb (15.9 KB, 293 views)
File Type: tar xauth-1.0.3-2maemo-diff-dsc.tar (30.0 KB, 174 views)
 
Posts: 74 | Thanked: 17 times | Joined on Jan 2010 @ Turin, Italy
#14
Originally Posted by loveshack View Post
I needed xauth to get tunneling into my N900 , so I hacked up the Debian
version 1.0.3 package and built it for fremantle.

I've attached the .deb and a tar file of the .dsc and .diff.gz to build it.
I'm new to this and haven't had much time to read up on it, so I likely
haven't done it right.
I tried to install on my n900 xauth through the deb you provided, but a message appears that the application is not compatible. How can I install it?
 
Siggen's Avatar
Posts: 204 | Thanked: 75 times | Joined on Jan 2010 @ Norway
#15
Originally Posted by elris View Post
I tried to install on my n900 xauth through the deb you provided, but a message appears that the application is not compatible. How can I install it?
have you tried to use dpkg?

#dpkg -i package_name.deb
 
Posts: 176 | Thanked: 56 times | Joined on Oct 2009
#16
Originally Posted by jaeezzy View Post
I would be grateful if you could give step by step guide to sshing across the internet. That would be coool. Thanks.

Just run

ssh -X -C user@ip

in a terminal.

-X forwards the display

-X enables compression.

I ssh from the N900 to servers all the time. It is one of the main uses of my phone. I leave ssh running and monitor the progress of activities on the server.
 
Posts: 3 | Thanked: 1 time | Joined on Jan 2010
#17
Originally Posted by elris View Post
I tried to install on my n900 xauth through the deb you provided, but a message appears that the application is not compatible. How can I install it?
I don't know how you'd get "not compatible". Post exactly what you
did and what the result was. I installed it with dpkg -i.
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#18
Originally Posted by loveshack View Post
I don't know how you'd get "not compatible". Post exactly what you
did and what the result was. I installed it with dpkg -i.
How do you use the diff and dsc file here?
 
Posts: 31 | Thanked: 18 times | Joined on Mar 2010 @ Venlo-Blerick, The Netherlands
#19
has anyone been able to login into ssh x11 n900 yet? we have x11vnc, but i'd prefer ssh x.

vnc tunneling through ssh is quite a hassle.

Last edited by cure; 2010-06-06 at 22:02.
 
Posts: 172 | Thanked: 170 times | Joined on Jan 2010 @ Sweden
#20
OK, I think this is solved now. As noted, there are no problems forwarding x-programs from a PC to the n900 over ssh. The problem has been forwarding an x-session from the n900 to your PC.

1) The n900 doesn't have xauth installed, and that is required for ssh-forwarding. xauth can now easily be installed from the apt repositories through "sudo apt-get install xauth"

1b) You might (I am uncertain) need to add the tools repository first:

Address: http://repository.maemo.org
Distribution: fremantle/tools
Components: free non-free

2) Now, on your PC, you should be able to do:

ssh -X user@n900

2b) Once you get to your n900, $DISPLAY should be ":10.0". If not, you need to check that X11-forwarding is enabled in /etc/ssh/sshd-config on your n900. Make sure "/etc/ssh/sshd_config" on your n900 contains:

X11Forwarding yes
X11DisplayOffset 10

3) Not all n900-applications work as expected, though most do. In particular, some hildon-apps seem to have display-widgets that don't really work as they should. Also, osso-xterm, browser and probably a few more do not forward at all across the ssh-session, but always seems to stay on the n900. Not sure if anything can be done about that. I use /usr/bin/ossofilemanager to check if the session is up and running.
 

The Following 4 Users Say Thank You to stefanmohl For This Useful Post:
Reply


 
Forum Jump


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