<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<FONT face="Courier New">This looks like a pretty comprehensive how-to.</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">Anyone documenting this&nbsp;on the Wiki?</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">Xavier?</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">Niels.</FONT><BR>
<BR>&nbsp;<BR>&gt; From: Xavier Cremaschi &lt;omega.xavier@gmail.com&gt;<BR>&gt; Subject: Re: [SHR] X forwarding: export DISPLAY?<BR>&gt; To: community@lists.openmoko.org<BR>&gt; Date: Tuesday, August 17, 2010, 4:10 PM<BR>&gt; Basically, you need<BR>&gt; <BR>&gt; a computer with :<BR>&gt; - a working X server (mainly Xorg)<BR>&gt; - a working ssh client with -X option (mainly<BR>&gt; openssh-client)<BR>&gt; (Note for working X server on cygwin : be sure to launch<BR>&gt; xterm, not the<BR>&gt; basic tty)<BR>&gt; <BR>&gt; a Freerunner with :<BR>&gt; - a working X client (the app you want to launch, tangogps<BR>&gt; for example)<BR>&gt; - a working ssh server with "X11Forwarding yes" in its<BR>&gt; config (for<BR>&gt; openssh-server it's in /etc/ssh/sshd_config, be sure to<BR>&gt; restart ssh<BR>&gt; server after any modification to this file)<BR>&gt; <BR>&gt; <BR>&gt; Then give us any error you can see while doing your ssh<BR>&gt; -X.<BR>&gt; <BR>&gt; On the freerunner, and after a ssh -X, $DISPLAY should NOT<BR>&gt; be :<BR>&gt; &nbsp; &nbsp; localhost:0<BR>&gt; because it's the X server of the freerunner, but it should<BR>&gt; be something<BR>&gt; like :<BR>&gt; &nbsp; &nbsp; localhost:10.0<BR>&gt; which is where ssh server listen to transmit your display<BR>&gt; data to ssh<BR>&gt; client.<BR>&gt; <BR>&gt; <BR>&gt; Xavier.<BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Openmoko community mailing list<BR>&gt; community@lists.openmoko.org<BR>&gt; <A href="http://lists.openmoko.org/mailman/listinfo/community" target=_blank>http://lists.openmoko.org/mailman/listinfo/community</A><BR>&gt; <BR> <BR> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR> <BR> <BR><BR><BR><BR>--Doorgestuurd bericht in de bijlage--<BR>From: omega.xavier@gmail.com<BR>To: community@lists.openmoko.org<BR>Date: Tue, 17 Aug 2010 16:27:37 +0200<BR>Subject: Re: [SHR] X forwarding: export DISPLAY?<BR><BR><PRE>To continue :<BR> <BR>if you want to do it 'old school' without ssh -X doing the job for you,<BR>you need to authorize your X server to accept distant X clients<BR> <BR>To authorize X server of "here" to display application running on<BR>"faraway", you need to do (here$ is the prompt) :<BR>    here$  xhost +faraway<BR> <BR>Then you need to log yourself on faraway (ssh without -X nor -Y, rsh,<BR>telnet, xterm on freerunner...) and launch your application with a good<BR>$DISPLAY<BR>    faraway$  DISPLAY=here:0 my_application<BR> <BR>If it does not work :<BR>- either "faraway" doesn't allow the X client to go out (firewall ?)<BR>- or "here" has its X server running with "-nolisten tcp" and therefore<BR>refuses any connection<BR> <BR>If you have "-nolisten tcp" (check with ps), you can remove it but it<BR>depends on how you launch your X server :<BR>- if you use startx, check your /etc/X11/xinit/xserverrc (or ~/.xserverrc)<BR>- if you use gdm, launch gdmconfig and check security options)<BR>- if you use kdm or xdm, I don't know :S<BR> <BR> <BR> <BR> <BR> <BR> <BR>If you want to control the freerunner desktop from your PC, you could<BR>use vnc.<BR>On the freerunner you start x11vnc :<BR>    faraway$   x11vnc<BR>but NOT from a ssh -X, you don't want any redirection here.<BR> <BR>On your pc you start your vnc client :<BR>    here$    vncviewer faraway:0<BR> <BR> <BR> <BR>Xavier.<BR>PS : use ip addresses instead of names like here and faraway<BR> <BR> <BR> <BR></PRE><BR><BR>--Doorgestuurd bericht in de bijlage--<BR>From: omega.xavier@gmail.com<BR>To: community@lists.openmoko.org<BR>Date: Tue, 17 Aug 2010 16:28:54 +0200<BR>Subject: Re: [SHR] X forwarding: export DISPLAY?<BR><BR><PRE>I forgot an important thing : network must work of course (first thing<BR>to check)  ;)<BR> <BR></PRE>                                               </body>
</html>