maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Off Topic (https://talk.maemo.org/forumdisplay.php?f=19)
-   -   X11 Forwarding from n900 to pc (https://talk.maemo.org/showthread.php?t=49436)

Cartoon_Head 2010-04-07 15:28

X11 Forwarding from n900 to pc
 
Just thought someone might be interested to know i had some success with this today, didn't spend long on it but i managed to get fennec (firefox) sort of running by installing xauth, im just about to leave work so i can't post much more info but if anyone is interested in getting this up and running i am going to have a proper crack tomorrow.


CH

http://i30.photobucket.com/albums/c3...6/Picture2.png

Cartoon_Head 2010-04-07 15:39

Re: X11 Forwarding from n900 to pc
 
http://i30.photobucket.com/albums/c3...6/Picture3.png

http://i30.photobucket.com/albums/c3...6/Picture4.png

bit more progress..

CH

Cartoon_Head 2010-04-07 15:47

Re: X11 Forwarding from n900 to pc
 
http://i30.photobucket.com/albums/c3...6/Picture5.png

Leafpad works perfectly.. It seems anything that is not already running works fine, if i try to run something like image-viewer i get

Code:

X11 connection rejected because of wrong authentication.
The application 'image-viewer' lost its connection to the display localhost:10.0;
most likely the X server was shut down or you killed/destroyed
the application.

Anyway time to go home =)

CH

assetburned 2010-04-08 00:20

Re: X11 Forwarding from n900 to pc
 
shouldn't be the "Chicken of the VNC" also be able to do the job?

daved 2010-04-08 00:32

Re: X11 Forwarding from n900 to pc
 
I don't quite understand what you are trying to do here. Are you trying to run apps on the N900 and display on a PC, or vice versa? ssh can cope with all this stuff on its own, without having to install xauth. It could be that your use of sudo is losing the display authorisation. Why are you using sudo in this way?

AlMehdi 2010-04-08 00:41

Re: X11 Forwarding from n900 to pc
 
Yeah.. don't see the point here either. I am only doing this the other way if i need to run something on my PC from the n900. Just boot up terminal on the n900 and connect to PC with ssh.

ssh -X user@ip-number

maacruz 2010-04-08 14:39

Re: X11 Forwarding from n900 to pc
 
Quote:

Originally Posted by Cartoon_Head (Post 599512)
Just thought someone might be interested to know i had some success with this today, didn't spend long on it but i managed to get fennec (firefox) sort of running by installing xauth, im just about to leave work so i can't post much more info but if anyone is interested in getting this up and running i am going to have a proper crack tomorrow.


CH

That's pretty interesting :)
Please keep posting.
While there is no problem getting X forwarded from PC to my N810, I've been unable to do the reverse and couldn't understand what was wrong.

clasificado 2010-04-08 14:45

Re: X11 Forwarding from n900 to pc
 
Hey, pretty cool!

I prefer x fowarding over vnc, keep posting!

Cartoon_Head 2010-04-08 23:02

Re: X11 Forwarding from n900 to pc
 
Well im not sure what peoples point is here, i tried vnc and it's really slow and barely usable, however if you get the forwarding going right it's fine. And this is ssh, and you can't do it without xauth, i tried that already. I mainly just want this set up for work, i can just ssh in and hopefully by the end of it be able to text from my pc without all the laggyness of vnc.

Will post up tomorrow and upload the file if anyone else wants to try it, and hopefully get all the system apps forwarded too.

CH

Cartoon_Head 2010-04-08 23:07

Re: X11 Forwarding from n900 to pc
 
Quote:

Originally Posted by daved (Post 600336)
I don't quite understand what you are trying to do here. Are you trying to run apps on the N900 and display on a PC, or vice versa? ssh can cope with all this stuff on its own, without having to install xauth. It could be that your use of sudo is losing the display authorisation. Why are you using sudo in this way?

I am trying to ssh into apps on my n900 from my pc. ssh can't do it without xauth, i was not using sudo i was logged in as root via ssh. I tried just running things without xauth and the program loads on the n900 instead of the pc, so i tried
Code:

set display 192.168.0.x 0
and
Code:

export display
with no luck.

CH


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

vBulletin® Version 3.8.8