Jody wrote:

Bonjour,

eric wrote:
[...]

Je comprends maintenant mieux la différene.
je vais limiter mon besoin à ouvrir une session X à distance donc si je comprends bien je souhaite faire tourner mon appli sur serveur (proto) et deporter sa visualisation sur une machine cliente qui est hp. Je dois donc approfondir l'export de display et ssh -X. me trompe-je? ;)


ssh [EMAIL PROTECTED] ton_appli

Ou pour savoir ce qui se passe, tu te connectes:

ssh [EMAIL PROTECTED]

Ensuite ton terminal est:

[EMAIL PROTECTED]:$

Tu peux executer ton_appli, son affichage suivra, fait tes tests avec une de petite taille de préférence au début, surtout si tu passes par une connection 512k.


--

Jody

Linux-Azur :      http://www.linux-azur.org
D�sinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****


voici une manip propre mas malheureusement problématique
je souhaite de l'export de display sans la couche ssh dans un premier temps j'applique les indications de cette page
http://people.via.ecp.fr/~alexis/formation-linux/export-display.html

[EMAIL PROTECTED]:~$ logout
Connection to proto closed.
[EMAIL PROTECTED] xhost +proto
proto being added to access control list
[EMAIL PROTECTED] ssh [EMAIL PROTECTED]
Password:
Linux proto 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Last login: Thu Nov 10 12:54:30 2005 from hp.localdomain
[EMAIL PROTECTED]:~$ echo $DISPLAY
localhost:11.0 -----------------------------------------------------------------------------( que signifie localhost:11.0? 11ème écran?)
[EMAIL PROTECTED]:~$ ps ax | grep X
[EMAIL PROTECTED]:~$ ps ax | grep X
3976 pts/1 R+ 0:00 grep X -----------------------------------------------------(il n'y a aucun serveur X en route sur proto)
[EMAIL PROTECTED]:~$ export DISPLAY=hp:0.0
[EMAIL PROTECTED]:~$ echo $DISPLAY
hp:0.0 ----------------------------------------------------------------------------------------( proto semble avoir comprit que je voulais [EMAIL PROTECTED]:~$ startx & afficher X sur le 1er écran de hp)
Using authority file /home/mono/.Xauthority
Writing authority file /home/mono/.Xauthority
Using authority file /home/mono/.Xauthority
Writing authority file /home/mono/.Xauthority -------------------------------------------(je n'ai pas compris l'utilité de ce fichier)

[1] 3977 ------------------------------------------------------------------------------------------(PID de startx : OK) [EMAIL PROTECTED]:~$ XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-14sarge1 20050901212727 [EMAIL PROTECTED])
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.8-16.0508-2 i686 [ELF]
Build Date: 02 September 2005

This version of XFree86 has been extensively modified by the Debian
Project, and is not supported by the XFree86 Project, Inc., in any
way.  Bugs should be reported to the Debian Bug Tracking System; see
<URL: http://www.debian.org/Bugs/Reporting >.

We strongly encourage the use of the "reportbug" package and command
to ensure that bug reports contain as much useful information as
possible.

Before filing a bug report, you may want to consult the Debian X FAQ:
      XHTML version: file:///usr/share/doc/xfree86-common/FAQ.xhtml
 plain text version: file:///usr/share/doc/xfree86-common/FAQ.gz

Module Loader present
OS Kernel: Linux version 2.6.8-2-386 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Nov 10 13:14:19 2005
(==) Using config file: "/etc/X11/XF86Config-4"
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbols found Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No symbols found Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No symbols found Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_vertex.o": No symbols found Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server ----------------------( X puis xfce4 ont été lancé sur proto !!!!!!!!!!!!!!)

[EMAIL PROTECTED]:~$ echo $DISPLAY --------------------------------------------(pourtant proto dit bien que son display et hp !!!!!!!!!)
hp:0.0
[EMAIL PROTECTED]:~$ ps ax | grep X --------------------------------------(un seul serveur X tourne c'est celui qui s'afiche sur proto!)
3977 pts/1    S      0:00 /bin/sh /usr/bin/X11/startx
3990 pts/1 S 0:00 xinit /usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc
3991 ?        S<     0:03 /usr/bin/X11/X -dpi 100
4038 pts/1    S+     0:00 grep X
[EMAIL PROTECTED]:~$ kill 3991
[EMAIL PROTECTED]:~$ xinit: connection to X server lost. --------------------------(Xfce4 et X s'éteingnent sur proto)


[1]+  Done                    startx
[EMAIL PROTECTED]:~$ echo $DISPLAY
hp:0.0
[EMAIL PROTECTED]:~$ ps ax | grep X
4053 pts/1    S+     0:00 grep X
[EMAIL PROTECTED]:~$ ----------------------------------------------------------------(et pourtant les paramètres sont toujours inchangés!)

Quelqu'un aurait il une explication???
Merci d'avance
Eric
Linux-Azur :      http://www.linux-azur.org
D�sinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****

Répondre à