logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).


L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT → ODT PDF Export

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révision Les deux révisions suivantes
doc:reseau:x11vnc [26/03/2019 03:19]
Debian Alain [Créer un tunnel ssh :]
doc:reseau:x11vnc [26/03/2019 03:44]
Debian Alain [utilisation de ssh]
Ligne 103: Ligne 103:
 on peut aussi la lancer en direct sur le pc distant où est installé le logiciel ​ on peut aussi la lancer en direct sur le pc distant où est installé le logiciel ​
    
-<code user>​x11vnc -many -rfbauth ~/​.vnc/​passwd</​code>​+<code user>​x11vnc ​-q -many -rfbauth ~/​.vnc/​passwd</​code>​
  
 <note tip>​IMPORTANT !  <note tip>​IMPORTANT ! 
Ligne 111: Ligne 111:
 stocké dans le fichier par défaut "​~/​.vnc/​passwd"​ de la commande "​x11vnc -storepasswd"​ </​note>​ stocké dans le fichier par défaut "​~/​.vnc/​passwd"​ de la commande "​x11vnc -storepasswd"​ </​note>​
  
-<​code>​alain@debian:​~$ x11vnc -many -rfbauth ~/​.vnc/​passwd +<​code>​alain@debian:​~$ x11vnc ​-q -many -rfbauth ~/​.vnc/​passwd 
-26/03/2019 03:06:08 passing arg to libvncserver:​ -rfbauth +26/03/2019 03:42:44  
-26/03/2019 03:06:08 passing arg to libvncserver:​ /​home/​alain/​.vnc/​passwd +26/03/2019 03:42:44 *** XOpenDisplay failed. No -display or DISPLAY. 
-26/03/2019 03:06:08 x11vnc version: 0.9.13 lastmod: 2011-08-10 ​ pid: 3843 +26/03/2019 03:42:44 *** Trying ":​0"​ in 4 seconds. ​ Press Ctrl-C to abort. 
-26/03/2019 03:06:08 XOpenDisplay(""​) failed. +26/03/2019 03:42:44 *** 1 2 3 4  
-26/03/2019 03:06:08 Trying again with XAUTHLOCALHOSTNAME=localhost ... +26/03/2019 03:42:48 *** XOpenDisplay of ":​0"​ successful. 
-26/03/2019 03:06:08  +26/03/2019 03:42:48 
-26/03/2019 03:​06:​08 ​*** XOpenDisplay failed. No -display or DISPLAY. +
-26/03/2019 03:06:08 *** Trying ":​0"​ in 4 seconds. ​ Press Ctrl-C to abort. +
-26/03/2019 03:06:08 *** 1 2 3 4  +
-26/03/2019 03:06:12 *** XOpenDisplay of ":​0"​ successful. +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 Using X display :0 +
-26/03/2019 03:06:12 rootwin: 0x280 reswin: 0x800001 dpy: 0x24ad6c20 +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 ------------------ USEFUL INFORMATION ------------------ +
-26/03/2019 03:06:12 X DAMAGE available on display, using it for polling hints. +
-26/03/2019 03:​06:​12 ​  To disable this behavior use: '​-noxdamage'​ +
-26/03/2019 03:06:12  +
-26/03/2019 03:​06:​12 ​  Most compositing window managers like '​compiz'​ or '​beryl'​ +
-26/03/2019 03:​06:​12 ​  cause X DAMAGE to fail, and so you may not see any screen +
-26/03/2019 03:​06:​12 ​  ​updates via VNC.  Either disable '​compiz'​ (recommended) or +
-26/03/2019 03:​06:​12 ​  ​supply the x11vnc '​-noxdamage'​ command line option. +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 Wireframing:​ -wireframe mode is in effect for window moves. +
-26/03/2019 03:​06:​12 ​  If this yields undesired behavior (poor response, painting +
-26/03/2019 03:​06:​12 ​  ​errors,​ etc) it may be disabled: +
-26/03/2019 03:​06:​12 ​   - use '​-nowf'​ to disable wireframing completely. +
-26/03/2019 03:​06:​12 ​   - use '​-nowcr'​ to disable the Copy Rectangle after the +
-26/03/2019 03:​06:​12 ​     moved window is released in the new position. +
-26/03/2019 03:​06:​12 ​  Also see the -help entry for tuning parameters. +
-26/03/2019 03:​06:​12 ​  You can press 3 Alt_L'​s (Left "​Alt"​ key) in a row to  +
-26/03/2019 03:​06:​12 ​  ​repaint the screen, also see the -fixscreen option for +
-26/03/2019 03:​06:​12 ​  ​periodic repaints. +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 XFIXES available on display, resetting cursor mode +
-26/03/2019 03:​06:​12 ​  to: '​-cursor most'​. +
-26/03/2019 03:​06:​12 ​  to disable this behavior use: '​-cursor arrow'​ +
-26/03/2019 03:​06:​12 ​  or '​-noxfixes'​. +
-26/03/2019 03:06:12 using XFIXES for cursor drawing. +
-26/03/2019 03:06:12 GrabServer control via XTEST. +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 Scroll Detection: -scrollcopyrect mode is in effect to +
-26/03/2019 03:​06:​12 ​  use RECORD extension to try to detect scrolling windows +
-26/03/2019 03:​06:​12 ​  ​(induced by either user keystroke or mouse input). +
-26/03/2019 03:​06:​12 ​  If this yields undesired behavior (poor response, painting +
-26/03/2019 03:​06:​12 ​  ​errors,​ etc) it may be disabled via: '​-noscr'​ +
-26/03/2019 03:​06:​12 ​  Also see the -help entry for tuning parameters. +
-26/03/2019 03:​06:​12 ​  You can press 3 Alt_L'​s (Left "​Alt"​ key) in a row to  +
-26/03/2019 03:​06:​12 ​  ​repaint the screen, also see the -fixscreen option for +
-26/03/2019 03:​06:​12 ​  ​periodic repaints. +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 XKEYBOARD: number of keysyms per keycode 7 is greater +
-26/03/2019 03:​06:​12 ​  than 4 and 51 keysyms are mapped above 4. +
-26/03/2019 03:​06:​12 ​  ​Automatically switching to -xkb mode. +
-26/03/2019 03:​06:​12 ​  If this makes the key mapping worse you can +
-26/03/2019 03:​06:​12 ​  ​disable it with the "​-noxkb"​ option. +
-26/03/2019 03:​06:​12 ​  Also, remember "​-remap DEAD" for accenting characters. +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 X FBPM extension not supported. +
-26/03/2019 03:06:12 X display is capable of DPMS. +
-26/03/2019 03:06:12 -------------------------------------------------------- +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 Default visual ID: 0x21 +
-26/03/2019 03:06:12 Read initial data from X display into framebuffer. +
-26/03/2019 03:06:12 initialize_screen:​ fb_depth/​fb_bpp/​fb_Bpl 24/​32/​4608 +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 X display :0 is 32bpp depth=24 true color +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 Autoprobing TCP port  +
-26/03/2019 03:06:12 Autoprobing selected TCP port 5900 +
-26/03/2019 03:06:12 Autoprobing TCP6 port  +
-26/03/2019 03:06:12 Autoprobing selected TCP6 port 5900 +
-26/03/2019 03:06:12 listen6: bind: Address already in use +
-26/03/2019 03:06:12 Not listening on IPv6 interface. +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 Xinerama is present and active (e.g. multi-head). +
-26/03/2019 03:06:12 Xinerama: number of sub-screens:​ 1 +
-26/03/2019 03:06:12 Xinerama: no blackouts needed (only one sub-screen) +
-26/03/2019 03:06:12  +
-26/03/2019 03:06:12 fb read rate: 2137 MB/sec +
-26/03/2019 03:06:12 fast read: reset -wait  ms to: 10 +
-26/03/2019 03:06:12 fast read: reset -defer ms to: 10 +
-26/03/2019 03:06:12 The X server says there are 10 mouse buttons. +
-26/03/2019 03:06:12 screen setup finished. +
-26/03/2019 03:06:12 +
  
 The VNC desktop is:      debian:0 The VNC desktop is:      debian:0
 PORT=5900 PORT=5900
- 
-****************************************************************************** 
-Have you tried the x11vnc '​-ncache'​ VNC client-side pixel caching feature yet? 
- 
-The scheme stores pixel data offscreen on the VNC viewer side for faster 
-retrieval. ​ It should work with any VNC viewer. ​ Try it by running: 
- 
-    x11vnc -ncache 10 ... 
- 
-One can also add -ncache_cr for smooth '​copyrect'​ window motion. 
-More info: http://​www.karlrunge.com/​x11vnc/​faq.html#​faq-client-caching 
 </​code>​ </​code>​
- 
 ===== Créer un tunnel ssh : ===== ===== Créer un tunnel ssh : =====
  
Ligne 262: Ligne 171:
 exit 0 exit 0
 EOF</​code>​ EOF</​code>​
 +
 +
 +n'​oubliez pas les droits :
 +<code root>​chmod u+x ~/​scriptvnc.sh</​code>​
 +
 +dorénavant , <code user>​./​scriptvnc.sh</​code>​suffit pour lancer sur votre machine locale l'​affichage de votre machine distante .
 +
 +qui plus est , en passant par un tunnel ssh . (sécurité) ​
 +
 +NB: n'​hésitez pas à remplacer <​user>​ par le nom de l'​utilisateur distant ​
 +
 +et <​ip_distante>​ par l'​adresse ip de votre machine distante .
 +
 +vous pouvez accéder à l'ip de votre machine distante dans les paramètres de certaines box , ou , 
 +
 +sur la machine distante , en tapant <code user>ip a</​code>​ et en cherchant les données "​inet"​ pour l'​interface concernée .
 +
 +<note tip>vous pouvez éditer le script avec nano (voir plus amples infos dans les notes de bas de page)</​note>​
 +
 +<note important>​on parle , ici , de la connexion au systeme (en ssh) , donc , du mot de passe systeme (user) </​note>​
  
 écran : écran :
Ligne 425: Ligne 354:
 </​code>​ </​code>​
  
-n'​oubliez pas les droits : 
-<code root>​chmod u+x ~/​scriptvnc.sh</​code>​ 
- 
-dorénavant , <code user>​./​scriptvnc.sh</​code>​suffit pour lancer sur votre machine locale l'​affichage de votre machine distante . 
- 
-qui plus est , en passant par un tunnel ssh . (sécurité) ​ 
- 
-NB: n'​hésitez pas à remplacer <​user>​ par le nom de l'​utilisateur distant ​ 
- 
-et <​ip_distante>​ par l'​adresse ip de votre machine distante . 
- 
-vous pouvez accéder à l'ip de votre machine distante dans les paramètres de certaines box , ou ,  
- 
-sur la machine distante , en tapant <code user>ip a</​code>​ et en cherchant les données "​inet"​ pour l'​interface concernée . 
- 
-<note tip>vous pouvez éditer le script avec nano (voir plus amples infos dans les notes de bas de page)</​note>​ 
- 
-<note important>​on parle , ici , de la connexion au systeme (en ssh) , donc , du mot de passe systeme (user) </​note>​ 
  
 ===== connexion avec ssl (préambule) ===== ===== connexion avec ssl (préambule) =====
Ligne 503: Ligne 414:
  
 voilà ! voilà !
 +
 +
 +===== Connexion à ssl : écrans types ssvnc =====
  
 graphiques : graphiques :
doc/reseau/x11vnc.txt · Dernière modification: 01/10/2023 11:27 par captnfab

Pied de page des forums

Propulsé par FluxBB