Active Topics

 


Reply
Thread Tools
Posts: 35 | Thanked: 4 times | Joined on Sep 2007
#1
Has anybody tried using "ssh -X" on the Nokia? I didn't see any threads about it when I searched just now, so I thought I post about it. It lets you run a Linux application on a remote computer, but display the UI locally. The results are pretty amazing. You need xterm and ssh installed, obviously. For example:

ssh -X user@host.machine firefox

My host machine runs Ubuntu, so when I run that I get a firefox browser window from my host machine displaying on the Nokia. All my bookmarks are there, Adobe Flash 9 displays, etc. However, there is no sound. Also, the Nokia virtual keyboard doesn't seem to work.

ssh -X user@host.machine nautilus

is interesting to play around with as well. Last night, I went into my .wine folder and opened my genealogy software running under wine. It works quite well, though again there is no virtual keyboard.

ssh -X user@host.machine frozen-bubble

I am able to play frozen-bubble on my Nokia this way, though there is no sound and it's a bit slow.

I haven't had any luck running Windows applications this way using cygwin.

What do you think? Pretty cool, eh? I'm constantly amazed at the capabilities of Linux.
 

The Following User Says Thank You to Makurosu For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
I think it's already been done. Iook at airx.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
IcelandDreams's Avatar
Posts: 228 | Thanked: 30 times | Joined on Mar 2008 @ Ontario & Iceland
#3
Pretty hilarious running remote X apps. Running a browser like that is faster than the local browser and I think less CPU intensive. But you need a keyboard to take full advantage.
 
Posts: 118 | Thanked: 26 times | Joined on Feb 2008
#4
also... try ssh -Y -C ... -X only allows a few X11 extensions, -Y allows all (=> "trusted" X11). -C enables compression which for some reason has always given me a huge boost in X11 performance (even on 100MBit networks).

Also, look at this thread:

http://www.internettablettalk.com/fo...ad.php?t=17555

Martin
 
Posts: 74 | Thanked: 2 times | Joined on Feb 2007
#5
Is there a nice way to input text in a app started by ssh?
Why cant i input in X apps but in the console?
Perhaps someone found a virtual keyboard plugin for Firefox?
Else i will try xkbd after work.
 
Kytrix's Avatar
Posts: 17 | Thanked: 2 times | Joined on Sep 2008 @ France
#6
Hi,
I'm trying to do the oposite :
initiate ssh -X from my computer and lauch gui application from my n810
but application launch on the tablet, not on computer (ubuntu)

any way ?

Kytrix.
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#7
Originally Posted by Kytrix View Post
Hi,
I'm trying to do the oposite :
initiate ssh -X from my computer and lauch gui application from my n810
but application launch on the tablet, not on computer (ubuntu)

any way ?

Kytrix.
The computer you want to run the application on is the one you run ssh -X from. I recommend ssh -fXTC hostname_or_ip application_name. -f forks to background, -X is for X Forwarding (must be enabled in sshd_config on server), -T is so it doesn't assign a tty, and -C is for compression.

If you are sitting behind your computer and want to run an application running on the NIT and let it show on your computer you first SSH to your NIT. Then you run the ssh -X hostname_or_ip (again, I suggest earlier mentioned command instead) with the hostname_or_ip being the one of the computer you're sitting behind. Now, your NIT application will be shown on your computer (including copy/paste and all that ). Because the program runs on the NIT it won't be any faster, and because you're using encryption, compression, and WiFi you'll have a bit latency.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Kytrix's Avatar
Posts: 17 | Thanked: 2 times | Joined on Sep 2008 @ France
#8
I find a solution here :
http://www.internettablettalk.com/fo...ght=gdm&page=2
reply 13:
http://www.internettablettalk.com/fo...6&postcount=13

but it does not work for all applications .. like osso_calculator or application manager :/
 
jpramlak's Avatar
Posts: 111 | Thanked: 24 times | Joined on Feb 2008 @ Raleigh, NC
#9
I got this to work for rdesktop-cli.
For other apps, I get a "Segmentation fault".
Does Maemo leave a core file lying around, like Server Linux/Unix?
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#10
i try run ssh -X firefox on my ubuntu

but i miss xauth diablo package on my tablet for all works
any clue where i can find xauth diablo?
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:00.