1. Este site usa cookies. Ao continuar a usar este site está a concordar com o nosso uso de cookies. Saber Mais.

Erro na ligação via VNC "gnutls_set_priority_direct failed"

Discussão em 'Dúvidas e Suporte Técnico - GNU/Linux & *nix' iniciada por naoliveira, 18 de Outubro de 2018. (Respostas: 3; Visualizações: 159)

  1. naoliveira

    naoliveira Power Member

    Boas,

    Tenho o vncserver a correr numa máquina, mas quando tento ligar-me com um cliente aparece-me o seguinte erro: "gnutls_set_priority_direct failed"

    Já percebi que tem a ver com o TLS, não consegui foi ainda resolver :)

    Alguém tem alguma sugestão?
     
  2. luckypt

    luckypt Power Member

    Tenta dar mais detalhes, Distribuiçao usada no server?
    Cliente em Windows? Linux? Qual?
    Logs?
    Já tentaste com outro Cliente?
    Qual o server vnc que usas?
     
  3. naoliveira

    naoliveira Power Member

    Ambos os PC têm PCLinuxOS a correr, o server tem o LXDE e estou a correr o TigerVNC, no que se liga ao server tenho o KDE5, e já usei o TigerVNC e o KRDC e ambos dá o mesmo erro.

    Os logs agora aqui não tenho, mas mais logo meto. Mas basicamente no log vê-se que tenta ligar e depois dá aquele erro.



    Xvnc TigerVNC 1.8.0 - built Nov 3 2017 14:46:15
    Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)
    See http://www.tigervnc.org for information on TigerVNC.
    Underlying X server release 11905000, The X.Org Foundation


    Sat Oct 20 11:55:07 2018
    vncext: VNC extension running!
    vncext: Listening for VNC connections on all interface(s), port 5901
    vncext: created VNC server for screen 0
    gpg-agent[4506]: failed to run the command: No such file or directory
    localhost being added to access control list
    ** Message: 11:55:10.158: main.vala:102: Session is LXDE
    ** Message: 11:55:10.158: main.vala:103: DE is LXDE

    (lxsession:4460): Gtk-WARNING **: 11:55:10.165: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.165: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.166: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.166: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.166: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.166: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.166: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.166: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.166: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.167: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.167: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.167: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.167: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.167: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.167: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.167: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.167: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.169: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.169: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.169: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.169: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.170: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.170: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.171: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.171: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.171: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.171: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.172: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.173: Unable to locate theme engine in module_path: "murrine",

    (lxsession:4460): Gtk-WARNING **: 11:55:10.173: Unable to locate theme engine in module_path: "murrine",
    ** Message: 11:55:10.184: main.vala:134: log directory: /home/nuno/.cache/lxsession/LXDE
    ** Message: 11:55:10.185: main.vala:135: log path: /home/nuno/.cache/lxsession/LXDE/run.log

    Sat Oct 20 12:17:30 2018
    Connections: accepted: 192.168.1.252::40224
    SConnection: Client needs protocol version 3.8
    SConnection: Client requests security type VeNCrypt(19)
    SVeNCrypt: Client requests security type TLSVnc (258)
    TLS: GnuTLS priority syntax error at:
    SConnection: AuthFailureException: gnutls_set_priority_direct failed
    Connections: closed: 192.168.1.252::40224 (gnutls_set_priority_direct failed)
    EncodeManager: Framebuffer updates: 0
    EncodeManager: Total: 0 rects, 0 pixels
    EncodeManager: 0 B (1:-nan ratio)
    TLS: TLS session wasn't terminated gracefully
    ComparingUpdateTracker: 0 pixels in / 0 pixels out
    ComparingUpdateTracker: (1:-nan ratio)

     
    Última edição: 20 de Outubro de 2018
  4. masterpro

    masterpro Power Member

    O erro não é do Servidor VNC em si, mas sim do GnuTLS, tenta ajustar a configuração da prioridade TLS no servidor.

    Pelo log "GnuTLS priority syntax error at" cheira-me a algum erro no que é enviado do tigervnc para o gnutls a nível de configuração.

    No teu lugar eu alterava/forçava a opção GnuTLS priority e SecurityTypes e começava por apenas permitir o none(sem encriptação) e ir adicionando.

    Pessoalmente e profissionalmente uso o tightvnc ou o x11vnc caso necessite de aceder a um ambiente gráfico linux.
     

Partilhar esta Página