Results 1 to 6 of 6

Thread: Remote access with SSH/TightVNC failed with new Kali 2.0

  1. #1
    Join Date
    2015-Aug
    Posts
    1

    Remote access with SSH/TightVNC failed with new Kali 2.0

    Hello,

    I have a problem since the new Kali 2.0 with getting access to an installed TightVNC Server.
    It seems to crash Gnome?

    Description of working steps until Kali 1.1.0
    # Connect to Kali with SSH
    # Install TightVNC
    sudo apt-get install tightvncserver
    # Run VNC Server only localhost on Kali
    sudo tightvncserver -localhost
    # Set password before for remote access
    # Tunnel a ThightVNC viewer over SSH to Kali and open i.e. 127.0.0.1:5901
    It worked perfect until Kali 1.1.0 to get a "X Windows" which really helps sometimes for remote access.

    If I am doing the same steps on Kali 2.0 and connect with the TightVNC viewer
    I get a password prompt and then the TightVNC viewer opens with an error message
    > Oh no! Something has gone wrong.

    I have no idea why and how I can fix it.
    Maybe a setting in /etc/init.d/gdm3 ?

    I would really appreciate every help
    or for an other solution to get access to the X.

    Kind regards,
    Sabi

  2. #2
    Join Date
    2015-Sep
    Posts
    1
    Same issue here - are we the only two running into this problem or the only two using vnc to get to a kali host?

  3. #3
    Join Date
    2014-Jun
    Posts
    3
    Same issue here, has anyone got vnc working?

  4. #4
    Join Date
    2015-Nov
    Location
    Germany
    Posts
    1
    Quote Originally Posted by JKAD View Post
    Same issue here, has anyone got vnc working?
    I have, but it involves installing the MATE desktop environment, which is a GNOME 2 fork.

    First, you have to install MATE:

    Code:
    $ sudo apt-get install mate-core mate-desktop-environment-extra mate-desktop-environment-extras mate-themes
    Then, you have to change a line in the ~/.vnc/xstartup, replacing

    Code:
    /etc/X11/Xsession
    with

    Code:
    /usr/bin/mate-session
    It is just a workaround, as MATE offers a different look and feel than GNOME.

    The underlying problems with GNOME and VNC (and RDP, NX, ...) are described here:

    https://bugs.debian.org/cgi-bin/bugr...cgi?bug=776746
    https://bugs.launchpad.net/ubuntu/+s...n/+bug/1251281

    and it looks like a fix for Debian will take some time...

  5. #5
    Join Date
    2015-Nov
    Posts
    4
    great thanks the workaround is great

  6. #6
    Join Date
    2014-May
    Posts
    23
    ok just a thought guys but i recently found that mikogo works well with kali gnome - the interesting thing is mikogo seems to be based on vnc protocols so the million dollar question is why does mikogo vnc work but sana/debian does not ??

Similar Threads

  1. Setup WiFi with Internet Access: dhcpd service failed
    By krats in forum Kali Linux General Questions
    Replies: 4
    Last Post: 2017-11-19, 18:11
  2. Raspberry Pi 3 - Kali Linux - Remote Access over 3G
    By markojic in forum ARM Archive
    Replies: 3
    Last Post: 2017-07-06, 15:27
  3. Replies: 0
    Last Post: 2015-12-31, 20:27
  4. Replies: 0
    Last Post: 2015-10-09, 01:01

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •