Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 06/11/2014, à 09:16

JujuLand

[Résolu] Partage d'écran sous Xubuntu

Bonjour,

je viens de passer un portable de Ubuntu 12.04 à Xubuntu 14.04 (install, pas mise à niveau).

Je me casse les dents sur le partage d'écran.
J'ai installé et essayé :
vino
x11vnc

Et j'ai un message d'erreur lors de mes tentatives de connexion (avec remina coté client).
J'ai bien parametré connexion autorisée, et bien mis le bon mot de passe ... => 'Impossible de se connecter au serveur VNC'
Bref, je patauge.

Quel serveur à installer ?

Merci
A+

Dernière modification par JujuLand (Le 10/11/2014, à 10:09)


Xubuntu 16.04 > Dell DM061 (2007) + Dell Inspiron 531 (2008)
Xubuntu 16.04 > Asus X51L (2009) + MSI GX723 (2009)
Xubuntu 22.04 > HP 15BA048NF (2018)

Hors ligne

#2 Le 07/11/2014, à 17:27

JujuLand

Re : [Résolu] Partage d'écran sous Xubuntu

Bon, çà ne fonctionne toujours pas, mais je commence à comprendre pourquoi.

Pour vino, quand kje lance vino-preferences dans une console, j'ai le message d'erreur suivant :

anais@anais-N5010:~$ vino-preferences
** (vino-preferences:13349): WARNING **: Couldn't connect to accessibility bus:
    Failed to connect to socket /tmp/dbus-6liiBxAm8r: Connexion refusée
(vino-preferences:13349): dconf-WARNING **:
    failed to commit changes to dconf: Impossible de se connecter : Connexion refusée

J'ai confirmation, car contrairement à ce qui se passe sous Ubuntu, le serveur vnc n'est pas lancé (sur le port 5900)
J'ai pourtant dans lancé les services gnome ...
A abandonner, je le crains ...

Pour x11vnc, je suis en train de voir, et il semblait manquer vnc.
J'ai installé vnc4server, mis un mot de passe, mais x11vnc me jette des injures.
Voici le log trouvé dans de x11vnc :

anais@anais-N5010:~$ cat .x11*log*
07/11/2014 17:35:46 passing arg to libvncserver: -rfbport
07/11/2014 17:35:46 passing arg to libvncserver: 5900
07/11/2014 17:35:46 passing arg to libvncserver: -rfbversion
07/11/2014 17:35:46 passing arg to libvncserver: 3.6
07/11/2014 17:35:46 passing arg to libvncserver: -permitfiletransfer
07/11/2014 17:35:46 x11vnc version: 0.9.13 lastmod: 2011-08-10  pid: 22209
07/11/2014 17:35:46 Using X display :0.0
07/11/2014 17:35:46 rootwin: 0x80 reswin: 0x1e00001 dpy: 0x9f3630
07/11/2014 17:35:46 
07/11/2014 17:35:46 ------------------ USEFUL INFORMATION ------------------
07/11/2014 17:35:46 X DAMAGE available on display, using it for polling hints.
07/11/2014 17:35:46   To disable this behavior use: '-noxdamage'
07/11/2014 17:35:46 
07/11/2014 17:35:46   Most compositing window managers like 'compiz' or 'beryl'
07/11/2014 17:35:46   cause X DAMAGE to fail, and so you may not see any screen
07/11/2014 17:35:46   updates via VNC.  Either disable 'compiz' (recommended) or
07/11/2014 17:35:46   supply the x11vnc '-noxdamage' command line option.
07/11/2014 17:35:46 
07/11/2014 17:35:46 Wireframing: -wireframe mode is in effect for window moves.
07/11/2014 17:35:46   If this yields undesired behavior (poor response, painting
07/11/2014 17:35:46   errors, etc) it may be disabled:
07/11/2014 17:35:46    - use '-nowf' to disable wireframing completely.
07/11/2014 17:35:46    - use '-nowcr' to disable the Copy Rectangle after the
07/11/2014 17:35:46      moved window is released in the new position.
07/11/2014 17:35:46   Also see the -help entry for tuning parameters.
07/11/2014 17:35:46   You can press 3 Alt_L's (Left "Alt" key) in a row to 
07/11/2014 17:35:46   repaint the screen, also see the -fixscreen option for
07/11/2014 17:35:46   periodic repaints.
07/11/2014 17:35:46 
07/11/2014 17:35:46 XFIXES available on display, resetting cursor mode
07/11/2014 17:35:46   to: '-cursor most'.
07/11/2014 17:35:46   to disable this behavior use: '-cursor arrow'
07/11/2014 17:35:46   or '-noxfixes'.
07/11/2014 17:35:46 using XFIXES for cursor drawing.
07/11/2014 17:35:46 GrabServer control via XTEST.
07/11/2014 17:35:46 
07/11/2014 17:35:46 Scroll Detection: -scrollcopyrect mode is in effect to
07/11/2014 17:35:46   use RECORD extension to try to detect scrolling windows
07/11/2014 17:35:46   (induced by either user keystroke or mouse input).
07/11/2014 17:35:46   If this yields undesired behavior (poor response, painting
07/11/2014 17:35:46   errors, etc) it may be disabled via: '-noscr'
07/11/2014 17:35:46   Also see the -help entry for tuning parameters.
07/11/2014 17:35:46   You can press 3 Alt_L's (Left "Alt" key) in a row to 
07/11/2014 17:35:46   repaint the screen, also see the -fixscreen option for
07/11/2014 17:35:46   periodic repaints.
07/11/2014 17:35:46 
07/11/2014 17:35:46 XKEYBOARD:
07/11/2014 17:35:46 Switching to -xkb mode to recover these keysyms:
07/11/2014 17:35:46    xkb  noxkb   Keysym  ("X" means present)
07/11/2014 17:35:46    ---  -----   -----------------------------
07/11/2014 17:35:46     X           0x40  at
07/11/2014 17:35:46     X           0x23  numbersign
07/11/2014 17:35:46     X           0x5b  bracketleft
07/11/2014 17:35:46     X           0x5d  bracketright
07/11/2014 17:35:46     X           0x7b  braceleft
07/11/2014 17:35:46     X           0x7d  braceright
07/11/2014 17:35:46     X           0x7c  bar
07/11/2014 17:35:46     X           0x5c  backslash
07/11/2014 17:35:46 
07/11/2014 17:35:46   If this makes the key mapping worse you can
07/11/2014 17:35:46   disable it with the "-noxkb" option.
07/11/2014 17:35:46 
07/11/2014 17:35:46 
07/11/2014 17:35:46 X FBPM extension not supported.
07/11/2014 17:35:46 X display is capable of DPMS.
07/11/2014 17:35:46 --------------------------------------------------------
07/11/2014 17:35:46 
07/11/2014 17:35:46 Default visual ID: 0x20
07/11/2014 17:35:46 Read initial data from X display into framebuffer.
07/11/2014 17:35:46 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5464
07/11/2014 17:35:46 WARNING: Width (1366) is not a multiple of 4. VncViewer has problems with that.
07/11/2014 17:35:46 
07/11/2014 17:35:46 X display :0.0 is 32bpp depth=24 true color
07/11/2014 17:35:46 
07/11/2014 17:35:46 Listening for VNC connections on TCP port 5900
07/11/2014 17:35:46 Listening for VNC connections on TCP6 port 5900
07/11/2014 17:35:46 listen6: bind: Address already in use
07/11/2014 17:35:46 Not listening on IPv6 interface.
07/11/2014 17:35:46 
07/11/2014 17:35:46 Xinerama is present and active (e.g. multi-head).
07/11/2014 17:35:46 Xinerama: number of sub-screens: 1
07/11/2014 17:35:46 Xinerama: no blackouts needed (only one sub-screen)
07/11/2014 17:35:46 
07/11/2014 17:35:46 fb read rate: 1006 MB/sec
07/11/2014 17:35:46 fast read: reset -wait  ms to: 10
07/11/2014 17:35:46 fast read: reset -defer ms to: 10
07/11/2014 17:35:46 The X server says there are 10 mouse buttons.
07/11/2014 17:35:46 screen setup finished.
07/11/2014 17:35:46 

The VNC desktop is:      anais-N5010:0

******************************************************************************
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

07/11/2014 17:35:47 read X11VNC_REMOTE: qry=ping
07/11/2014 17:35:48 read X11VNC_REMOTE: cmd=client_info_sock:127.0.0.1:13037 ...
07/11/2014 17:35:48 connect_tcp: trying:   127.0.0.1 13037
07/11/2014 17:35:48 client_info_sock to: 127.0.0.1:13037
07/11/2014 17:35:49 remote_cmd: will try to embed 0x3a00088 in the system tray.
07/11/2014 17:35:50 tray_embed: using parent: tkx11vnc - anais-n5010:0.0
07/11/2014 17:36:07 remote_cmd: changed full access passwd.
07/11/2014 17:36:07 remote_cmd: allowing new connections.
07/11/2014 17:36:54 Got connection from client 192.168.1.192
07/11/2014 17:36:54   other clients:
07/11/2014 17:36:54 Normal socket connection
07/11/2014 17:36:54 Disabled X server key autorepeat.
07/11/2014 17:36:54   to force back on run: 'xset r on' (3 times)
07/11/2014 17:36:54 incr accepted_client=1 for 192.168.1.192:46333  sock=13
07/11/2014 17:36:54 Client Protocol Version 3.6
07/11/2014 17:36:54 Protocol version sent 3.6, using 3.6
07/11/2014 17:36:54 Pixel format for client 192.168.1.192:
07/11/2014 17:36:54   8 bpp, depth 8
07/11/2014 17:36:54   true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
07/11/2014 17:36:54 rfbProcessClientNormalMessage: ignoring unsupported encoding type ultraZip
07/11/2014 17:36:54 Using compression level 3 for client 192.168.1.192
07/11/2014 17:36:54 Using image quality level 7 for client 192.168.1.192
07/11/2014 17:36:54 Using JPEG subsampling 0, Q86 for client 192.168.1.192
07/11/2014 17:36:54 Enabling KeyboardLedState protocol extension for client 192.168.1.192
07/11/2014 17:36:54 Enabling NewFBSize protocol extension for client 192.168.1.192
07/11/2014 17:36:54 Enabling LastRect protocol extension for client 192.168.1.192
07/11/2014 17:36:54 Enabling SupportedMessages protocol extension for client 192.168.1.192
07/11/2014 17:36:54 Enabling SupportedEncodings protocol extension for client 192.168.1.192
07/11/2014 17:36:54 Enabling ServerIdentity protocol extension for client 192.168.1.192
07/11/2014 17:36:54 Enabling Xvp protocol extension for client 192.168.1.192
07/11/2014 17:36:54 Using tight encoding for client 192.168.1.192
07/11/2014 17:36:55 rfbSendUpdateBuf: write: Connection reset by peer
*** rfbSendFramebufferUpdate *FAILED* #1
*** fb_push ublen not zero: 732
07/11/2014 17:36:55 copy_tiles: allocating first_line at size 44
07/11/2014 17:36:55 client_count: 0
07/11/2014 17:36:55 Restored X server key autorepeat to: 1
07/11/2014 17:36:55 Client 192.168.1.192 gone
07/11/2014 17:36:55 Statistics             events    Transmit/ RawEquiv ( saved)
07/11/2014 17:36:55  XvpServerMessage    :      1 |         4/        4 (  0.0%)
07/11/2014 17:36:55  FramebufferUpdate   :      1 |         0/        0 (  0.0%)
07/11/2014 17:36:55  tight               :     43 |    121828/   482815 ( 74.8%)
07/11/2014 17:36:55  ServerIdentify      :      1 |        41/       41 (  0.0%)
07/11/2014 17:36:55  SupportedEncoding   :      1 |        92/       92 (  0.0%)
07/11/2014 17:36:55  SupportedMessage    :      1 |        76/       76 (  0.0%)
07/11/2014 17:36:55  TOTALS              :     48 |    122041/   483028 ( 74.7%)
07/11/2014 17:36:55 Statistics             events    Received/ RawEquiv ( saved)
07/11/2014 17:36:55  FramebufferUpdate   :      1 |        10/       10 (  0.0%)
07/11/2014 17:36:55  SetEncodings        :      1 |        80/       80 (  0.0%)
07/11/2014 17:36:55  SetPixelFormat      :      1 |        20/       20 (  0.0%)
07/11/2014 17:36:55  TOTALS              :      3 |       110/      110 (  0.0%)

Sur le client, vnc se lance (par l'intermédiaire de remina), mais se ferme de suite.

Si vous avez une idée ...

Merci
A+

Dernière modification par JujuLand (Le 07/11/2014, à 17:47)


Xubuntu 16.04 > Dell DM061 (2007) + Dell Inspiron 531 (2008)
Xubuntu 16.04 > Asus X51L (2009) + MSI GX723 (2009)
Xubuntu 22.04 > HP 15BA048NF (2018)

Hors ligne

#3 Le 08/11/2014, à 14:33

JujuLand

Re : [Résolu] Partage d'écran sous Xubuntu

Bon, à force de chercher, j'ai fini par trouver que c'est lié à vino et remmina qui utilisent et ne permettent qu'un seul type de messages, et que les autres ne pigent pas.

Bref, en cherchant un peu plus, j'ai trouvé un post qui parlait de terminal serveur client et de xvnc4viewer

J'ai installé çà, et lancé, et çà fonctionne. C'est déjà çà, même si je trouve qu'on est un peu à poil à comparer avec remmina qui permet de passer en plein écran, .mémoriser les paramètres et mots de passe pour chaque connexion et faire toute sorte de chose ...

Bref, pour le moment, je me contenterai de çà.
J'aurai toutefois voulu savoir s'il y avait possibilité avec remmina de changer le client vnc par défaut.
Et si vous connaissez un client plus performant.

Une idée sur la question ?

Merci
A+

Dernière modification par JujuLand (Le 08/11/2014, à 14:36)


Xubuntu 16.04 > Dell DM061 (2007) + Dell Inspiron 531 (2008)
Xubuntu 16.04 > Asus X51L (2009) + MSI GX723 (2009)
Xubuntu 22.04 > HP 15BA048NF (2018)

Hors ligne

#4 Le 10/11/2014, à 10:08

JujuLand

Re : [Résolu] Partage d'écran sous Xubuntu

Bon, j'ai trouvé un client qui similaire qui permet notamment de mémoriser les paramètres de connexions, je n'ai pas encore vu s'il permet d'autres réglages, notamment sur la taille de la fenêtre, mais il permet les connexions ssl ou ssh en plus, c'est déjà mieux.

Il s'agit de ssvnc

A+


Xubuntu 16.04 > Dell DM061 (2007) + Dell Inspiron 531 (2008)
Xubuntu 16.04 > Asus X51L (2009) + MSI GX723 (2009)
Xubuntu 22.04 > HP 15BA048NF (2018)

Hors ligne