maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   ssh -X (https://talk.maemo.org/showthread.php?t=19063)

Makurosu 2008-04-13 14:34

ssh -X
 
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.

qwerty12 2008-04-13 14:40

Re: ssh -X
 
I think it's already been done. Iook at airx.

IcelandDreams 2008-04-13 15:07

Re: ssh -X
 
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.

m_stolle 2008-04-13 19:09

Re: ssh -X
 
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

Modulok 2008-04-16 06:45

Re: ssh -X
 
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 2008-09-12 11:45

Re: ssh -X
 
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 2008-09-12 19:47

Re: ssh -X
 
Quote:

Originally Posted by Kytrix (Post 223322)
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.

Kytrix 2008-09-15 07:54

Re: ssh -X
 
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 2008-12-06 03:47

Re: ssh -X
 
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 2009-07-10 19:21

Re: ssh -X
 
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?


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

vBulletin® Version 3.8.8