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).

#1 21-12-2019 17:54:03

tlax38
Membre
Distrib. : Debian Stretch 64bits GNOME
Inscription : 24-02-2018

PMAD par VNC Viewer

Salut à tous,

Je suis actuellement en déplacement et j'essaie de faire une PMAD sur un pc chez moi.
- j'ai ma tour sous Debian chez moi (user=nomamess)
- j'ai mon pc sous windows sur lequel j'ai une VM de Debian (user=tlax38)
- j'ai le contrôle sur la tour grâce à putty sous windows

En suivant cette procédure : https://debian-facile.org/atelier:chant … figuration, j'ai installé x11vnc sur ma tour et xvncviewer sur ma VM
Je commence systématiquement par lancer x11vnc sur la tour via putty:

nomamess@Nomamess-PC:/$ x11vnc -rfbauth /home/nomamess/.vnc/passwd
 


21/12/2019 17:03:36 passing arg to libvncserver: -rfbauth
21/12/2019 17:03:36 passing arg to libvncserver: /home/nomamess/.vnc/passwd
21/12/2019 17:03:36 x11vnc version: 0.9.13 lastmod: 2011-08-10  pid: 20186
21/12/2019 17:03:36 XOpenDisplay("") failed.
21/12/2019 17:03:36 Trying again with XAUTHLOCALHOSTNAME=localhost ...
21/12/2019 17:03:36
21/12/2019 17:03:36 *** XOpenDisplay failed. No -display or DISPLAY.
21/12/2019 17:03:36 *** Trying ":0" in 4 seconds.  Press Ctrl-C to abort.
21/12/2019 17:03:36 *** 1 2 3 4
21/12/2019 17:03:40 *** XOpenDisplay of ":0" successful.
21/12/2019 17:03:40
21/12/2019 17:03:40 Using X display :0
21/12/2019 17:03:40 rootwin: 0x4a9 reswin: 0x1400001 dpy: 0x3e3b3a70
21/12/2019 17:03:40
21/12/2019 17:03:40 ------------------ USEFUL INFORMATION ------------------
21/12/2019 17:03:40 X DAMAGE available on display, using it for polling hints.
21/12/2019 17:03:40   To disable this behavior use: '-noxdamage'
21/12/2019 17:03:40
21/12/2019 17:03:40   Most compositing window managers like 'compiz' or 'beryl'
21/12/2019 17:03:40   cause X DAMAGE to fail, and so you may not see any screen
21/12/2019 17:03:40   updates via VNC.  Either disable 'compiz' (recommended) or
21/12/2019 17:03:40   supply the x11vnc '-noxdamage' command line option.
21/12/2019 17:03:40
21/12/2019 17:03:40 Wireframing: -wireframe mode is in effect for window moves.
21/12/2019 17:03:40   If this yields undesired behavior (poor response, painting
21/12/2019 17:03:40   errors, etc) it may be disabled:
21/12/2019 17:03:40    - use '-nowf' to disable wireframing completely.
21/12/2019 17:03:40    - use '-nowcr' to disable the Copy Rectangle after the
21/12/2019 17:03:40      moved window is released in the new position.
21/12/2019 17:03:40   Also see the -help entry for tuning parameters.
21/12/2019 17:03:40   You can press 3 Alt_L's (Left "Alt" key) in a row to
21/12/2019 17:03:40   repaint the screen, also see the -fixscreen option for
21/12/2019 17:03:40   periodic repaints.
21/12/2019 17:03:40
21/12/2019 17:03:40 XFIXES available on display, resetting cursor mode
21/12/2019 17:03:40   to: '-cursor most'.
21/12/2019 17:03:40   to disable this behavior use: '-cursor arrow'
21/12/2019 17:03:40   or '-noxfixes'.
21/12/2019 17:03:40 using XFIXES for cursor drawing.
21/12/2019 17:03:40 GrabServer control via XTEST.
21/12/2019 17:03:40
21/12/2019 17:03:40 Scroll Detection: -scrollcopyrect mode is in effect to
21/12/2019 17:03:40   use RECORD extension to try to detect scrolling windows
21/12/2019 17:03:40   (induced by either user keystroke or mouse input).
21/12/2019 17:03:40   If this yields undesired behavior (poor response, painting
21/12/2019 17:03:40   errors, etc) it may be disabled via: '-noscr'
21/12/2019 17:03:40   Also see the -help entry for tuning parameters.
21/12/2019 17:03:40   You can press 3 Alt_L's (Left "Alt" key) in a row to
21/12/2019 17:03:40   repaint the screen, also see the -fixscreen option for
21/12/2019 17:03:40   periodic repaints.
21/12/2019 17:03:40
21/12/2019 17:03:40 XKEYBOARD:
21/12/2019 17:03:40 Switching to -xkb mode to recover these keysyms:
21/12/2019 17:03:40    xkb  noxkb   Keysym  ("X" means present)
21/12/2019 17:03:40    ---  -----   -----------------------------
21/12/2019 17:03:40     X           0x40  at
21/12/2019 17:03:40     X           0x23  numbersign
21/12/2019 17:03:40     X           0x5b  bracketleft
21/12/2019 17:03:40     X           0x5d  bracketright
21/12/2019 17:03:40     X           0x7b  braceleft
21/12/2019 17:03:40     X           0x7d  braceright
21/12/2019 17:03:40     X           0x7c  bar
21/12/2019 17:03:40     X           0x5c  backslash
21/12/2019 17:03:40
21/12/2019 17:03:40   If this makes the key mapping worse you can
21/12/2019 17:03:40   disable it with the "-noxkb" option.
21/12/2019 17:03:40
21/12/2019 17:03:40
21/12/2019 17:03:40 X FBPM extension not supported.
21/12/2019 17:03:40 X display is capable of DPMS.
21/12/2019 17:03:40 --------------------------------------------------------
21/12/2019 17:03:40
21/12/2019 17:03:40 Default visual ID: 0x21
21/12/2019 17:03:40 Read initial data from X display into framebuffer.
21/12/2019 17:03:40 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
21/12/2019 17:03:40
21/12/2019 17:03:40 X display :0 is 32bpp depth=24 true color
21/12/2019 17:03:40
21/12/2019 17:03:40 Autoprobing TCP port
21/12/2019 17:03:40 Autoprobing selected TCP port 5900
21/12/2019 17:03:40 Autoprobing TCP6 port
21/12/2019 17:03:40 Autoprobing selected TCP6 port 5900
21/12/2019 17:03:40 listen6: bind: Address already in use
21/12/2019 17:03:40 Not listening on IPv6 interface.
21/12/2019 17:03:40
21/12/2019 17:03:40 Xinerama is present and active (e.g. multi-head).
21/12/2019 17:03:40 Xinerama: number of sub-screens: 1
21/12/2019 17:03:40 Xinerama: no blackouts needed (only one sub-screen)
21/12/2019 17:03:40
21/12/2019 17:03:40 fb read rate: 515 MB/sec
21/12/2019 17:03:40 fast read: reset -wait  ms to: 10
21/12/2019 17:03:40 fast read: reset -defer ms to: 10
21/12/2019 17:03:40 The X server says there are 10 mouse buttons.
21/12/2019 17:03:40 screen setup finished.
21/12/2019 17:03:40

The VNC desktop is:      Nomamess-PC:0
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

 



Puis je lance vncviewer sur ma VM:

tlax38@tlax38-PC:~$ vncviewer AAA.BBB.CCC.DDD ::5900
 


TigerVNC Viewer 64-bit v1.9.0
Built on: 2018-12-01 21:51
Copyright (C) 1999-2018 TigerVNC Team and many others (see README.rst)
See http://www.tigervnc.org for information on TigerVNC.

Sat Dec 21 17:05:19 2019
 DecodeManager: Detected 2 CPU core(s)
 DecodeManager: Creating 2 decoder thread(s)
 CConn:       unable connect to socket: Connexion refusée (111)



Malheureusement, comme vous pouvez le constater, la connexion m'est refusée. Je tiens à préciser que le résultat est identique que j'utilise l'option -rfbauth ou non.

D'avance merci pour votre aide.

Dernière modification par tlax38 (28-12-2019 16:23:31)


Laptop ASUS Rog Strix Scar II G715GV - 64bits - RAM: 16 Go
Intel Core I7 - 8750H @2.20 GHz

Hors ligne

#2 28-12-2019 11:05:07

nazmi
Membre
Lieu : Normandie
Distrib. : DFLINUX 98 Stretch | GNU/LINUX Debian Jessie
Noyau : Linux 4.9.0-11-amd64 | Linux 4.3.0-0.bpo.1-amd64
(G)UI : XFCE | Unity/Gnome/KDE/Cinnamon/LXDE/XFCE (2009-20
Inscription : 17-07-2015

Re : PMAD par VNC Viewer

Salut,
J'ai regardé vite fait ce que disent les commandes.

Les ports nécessaires sont-ils ouverts sur le NAT de ta box ?

Qu'est-ce qu'une PMAD ?

Bon courage avec ton projet !

PS: censure ton IP des commandes citées, pas trop prudent de laisser trainer ça sur un fofo public

Dernière modification par nazmi (28-12-2019 11:05:52)

Hors ligne

#3 02-01-2020 23:25:18

tlax38
Membre
Distrib. : Debian Stretch 64bits GNOME
Inscription : 24-02-2018

Re : PMAD par VNC Viewer

nazmi a écrit :


Les ports nécessaires sont-ils ouverts sur le NAT de ta box ?

Qu'est-ce qu'une PMAD ?



Maintenant que tu le dis je ne sais plus si les ports sont configurés...

PMAD = Prise en Main A Distance.


Laptop ASUS Rog Strix Scar II G715GV - 64bits - RAM: 16 Go
Intel Core I7 - 8750H @2.20 GHz

Hors ligne

Pied de page des forums