Not able to connect to VNCserver

Overview Forums Sticky Finger’s Kali-Pi Not able to connect to VNCserver

Viewing 2 reply threads
  • Author
    Posts
    • #12155
      wilsonb
      Participant

      Iv’e spent some time trying to get VNC to work witout luck..
      I have done it hundreds of times in past with other distros..
      Don’t think it’s anything with your build, just me being a noob..

      Here is the vnc log;

      Connection failure: Connection refused
      pa_context_connect() failed: Connection refused
      Xvnc TigerVNC 1.7.0 – built Apr 9 2017 14:38:13
      Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)
      See http://www.tigervnc.org for information on TigerVNC.
      Underlying X server release 11903000, The X.Org Foundation

      Wed Nov 1 10:55:51 2017
      vncext: VNC extension running!
      vncext: Listening for VNC connections on local interface(s), port 5901
      vncext: created VNC server for screen 0
      /usr/bin/startxfce4: X server already running on display :1
      gpg-agent[1685]: WARNING: “–write-env-file” is an obsolete option – it has no effect
      gpg-agent: a gpg-agent is already running – not starting a new one

      (xfce4-session:1671): xfce4-session-WARNING **: gpg-agent returned no PID in the variables

      (xfce4-session:1671): xfce4-session-WARNING **: xfsm_manager_load_session: Something wrong with /root/.cache/sessions/xfce4-session-kali-pi:1, Does it exist? Permis$
      Connection failure: Connection refused
      pa_context_connect() failed: Connection refused

      (xfwm4:1688): xfwm4-WARNING **: Error opening /dev/dri/card0: No such file or directory

      ** (light-locker:1697): ERROR **: Environment variable XDG_SESSION_PATH not set. Is LightDM running?

    • #12156
      wilsonb
      Participant

      Doing this , got me going.. Tanx

      enable vnc connections from the network add the following line to /etc/vnc.conf:

      $localhost = “no”;

    • #13766
      phunckster
      Participant

      God bless you wilsonb <3
      I hustled so much. Maybe I would have hustled to the end of my life without the solution given by you. I once had tigervnc running on debian10 and didn’t remember everything I did to get it going. As I had to set it up again i was hustling even more…but i didn’t work…and then I found this site again with your hint and i thought fuck yes, that was something i have done. And that was it, simply that. I assume this was the only thing that kept me away from the working server surely…that easy but yes..when you know.
      THANK YOU! <3<3<3

Viewing 2 reply threads
  • You must be logged in to reply to this topic.