Re: [QtMoko] Running applications thrue ssh

2009-10-22 Thread Matthias Apitz
El día Thursday, October 22, 2009 a las 10:56:30AM +0400, Gmail escribió:

 Hello list!
 
 I have a problem running any application thru ssh.
 
 I run this set of commands:
 
 $ ssh -X r...@moko
 neo:~# source /opt/qtmoko/qpe.env
 neo:/root# export DISPLAY=localhost:10
 
 But when I run any application in /opt/qtmoko/bin, I'm getting an output
 to the FR screen. Is there any any possibility to get output to the
 desktop screen?

You should not set $DISPLAY when using -X in ssh, the sshd will set it
for you correctly:

$ ssh -X r...@moko
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
r...@om-gta02:~# echo $DISPLAY
localhost:10.0
r...@om-gta02:~# xterm
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method

and the xterm window comes up on my FreeBSD desktop;

HIH

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] Running applications thrue ssh

2009-10-22 Thread David Reyes Samblas Martinez
Maybe I'm wrong but I think qtmoko apps are running directly on
frambuffer so no X, so you can't export your nonexisting X trough ssh,
Maybe you can do that on the apps running under QtX like TangoGPS , at
least it works fine with x11vnc

David Reyes Samblas Martinez
http://www.tuxbrain.com
Open ultraportable  embedded solutions
Openmoko, Openpandora,  Arduino
Hey, watch out!!! There's a linux in your pocket!!!




2009/10/22 Gmail forin...@gmail.com:
 Hello list!

 I have a problem running any application thru ssh.

 I run this set of commands:

 $ ssh -X r...@moko
 neo:~# source /opt/qtmoko/qpe.env
 neo:/root# export DISPLAY=localhost:10

 But when I run any application in /opt/qtmoko/bin, I'm getting an output to
 the FR screen. Is there any any possibility to get output to the desktop
 screen?
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community