<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> <BR>
<FONT face="Courier New">Anyone documenting this on the Wiki?</FONT><BR>
<FONT face="Courier New"></FONT> <BR>
<FONT face="Courier New">Xavier?</FONT><BR>
<FONT face="Courier New"></FONT> <BR>
<FONT face="Courier New">Niels.</FONT><BR>
<BR> <BR>> From: Xavier Cremaschi <omega.xavier@gmail.com><BR>> Subject: Re: [SHR] X forwarding: export DISPLAY?<BR>> To: community@lists.openmoko.org<BR>> Date: Tuesday, August 17, 2010, 4:10 PM<BR>> Basically, you need<BR>> <BR>> a computer with :<BR>> - a working X server (mainly Xorg)<BR>> - a working ssh client with -X option (mainly<BR>> openssh-client)<BR>> (Note for working X server on cygwin : be sure to launch<BR>> xterm, not the<BR>> basic tty)<BR>> <BR>> a Freerunner with :<BR>> - a working X client (the app you want to launch, tangogps<BR>> for example)<BR>> - a working ssh server with "X11Forwarding yes" in its<BR>> config (for<BR>> openssh-server it's in /etc/ssh/sshd_config, be sure to<BR>> restart ssh<BR>> server after any modification to this file)<BR>> <BR>> <BR>> Then give us any error you can see while doing your ssh<BR>> -X.<BR>> <BR>> On the freerunner, and after a ssh -X, $DISPLAY should NOT<BR>> be :<BR>> localhost:0<BR>> because it's the X server of the freerunner, but it should<BR>> be something<BR>> like :<BR>> localhost:10.0<BR>> which is where ssh server listen to transmit your display<BR>> data to ssh<BR>> client.<BR>> <BR>> <BR>> Xavier.<BR>> <BR>> <BR>> _______________________________________________<BR>> Openmoko community mailing list<BR>> community@lists.openmoko.org<BR>> <A href="http://lists.openmoko.org/mailman/listinfo/community" target=_blank>http://lists.openmoko.org/mailman/listinfo/community</A><BR>> <BR> <BR> <BR> <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>