Reply
Thread Tools
Posts: 7 | Thanked: 5 times | Joined on Jan 2010
#1
I haven't seen anybody mention this, and it was missing from http://wiki.maemo.org/Remote_desktop so I've added it there.

May be of use, I think it's pretty cool.

SSH X11 forwarding allows you to run applications on a remote computer running an X11 server and have them displayed on a local X11 client, using the SSH protocol to keep the connection secure. For the purposes of Maemo devices, this allows you to connect to your Linux machine from your N900, run any X11 application on your Linux machine, and have it forward the display and keyboard/mouse capture to your N900.

You will need to have installed an ssh client on your N900 to do this.

The below assumes you are connecting to a Linux PC called 'host', with a user account 'user'.

Open an xterminal on your N900 and type:

~$ ssh -X user@host

Answer the password prompt:

user@host's password:

You now have a CLI prompt from which you can launch any X11 applications on your Linux machine and have them displayed on your N900.

user@host:~$
 

The Following 4 Users Say Thank You to tomassey For This Useful Post:
Posts: 999 | Thanked: 1,117 times | Joined on Dec 2009 @ earth?
#2
It never occured to me to try this on the n900!

I've used this with other systems in the past and it is genuinely useful.

I found it useful for keeping an eye on compiling stuff remotely. With a static IP address you can do this across the internet as well.
__________________
I like cake.
 
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#3
What I tried to do with previous Maemo versions is make this work the other way round: start an app on the N900 and control it on either my Ubuntu or my Gentoo box.

Sometimes it's just nicer to have a mouse and a full keyboard, especially when you experiment a lot or go through a process step by step and want do document it with screenshots.

I never succeeded, though. (There should be some threads about this here.) - I don't have the N900 with me now... so... does it finally work with Maemo 5? Did you try?
 
Posts: 104 | Thanked: 40 times | Joined on Nov 2009
#4
i played around with it alot and i got Linux laptop --> N900 openoffice

but i could not get it the other way around N900 --> Linux laptop

i think it has something todo with authentication

see this thread
http://talk.maemo.org/showthread.php...ighlight=xauth
 

The Following User Says Thank You to therock For This Useful Post:
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#5
pity.

i'd find this much more useful than displaying desktop applications on the N900.... although my use cases are very special.
 
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#6
Originally Posted by johnel View Post
It never occured to me to try this on the n900!

I've used this with other systems in the past and it is genuinely useful.

I found it useful for keeping an eye on compiling stuff remotely. With a static IP address you can do this across the internet as well.
I would be grateful if you could give step by step guide to sshing across the internet. That would be coool. Thanks.
 
Posts: 104 | Thanked: 40 times | Joined on Nov 2009
#7
me 2 i would love to have xauth and X11 forwarding working both ways
 
Posts: 7 | Thanked: 5 times | Joined on Jan 2010
#8
Mmm, would be useful to be able to do it the other way. Really should be possible.

The /etc/ssh/sshd_config file on the N900 has X11Forwarding yes

Far as I can tell it's identical to the sshd_config file on Debian Lenny.

Vague thought would be to compile xauth for Maemo 5. Or perhaps xhost, though that wouldn't be very secure.

Also wonder about ssh -X user@N900 instead of root.

Have to give the user account a password. Or allow ssh logins without a password, perhaps.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#9
To be precise you need an X11 server localy(which of course there is)[it's the server that displays].
The remote end just needs a client which any X app would basically be
__________________
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
 
Posts: 7 | Thanked: 5 times | Joined on Jan 2010
#10
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.
 
Reply

Thread Tools

 
Forum Jump


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