Link to home
Start Free TrialLog in
Avatar of Jimmy Larsson, CISSP, CEH
Jimmy Larsson, CISSP, CEHFlag for Sweden

asked on

Remote access Kali 2017 desktop

I have a lab environment based on vmware ESXi. Part of that is a number of virtual Kali 2017.2 machines that needs to be remotely accessible. Users on internet must be able to access the console GUI of the Kali, the desktop. Security is not an issue since they will use VPN.

I have tried using the built-in tightvncserver but whenever I connect the VM will freeze. I have reinstalled Kali numeous of times but it´s still the same issue. Probably something inside of the Kali distribution and/or my vmware environment that behaves strangely...

I have also tried installing xrdp but it seems not to be available for Kali 2017.2. Also, when reading about it I see that it depends on the same tightvncserver and I don´t think that´s the solution for me.

What other options do I have? I want inbound connection from the clients, which means that all cloud based solutions like Teamviewer is out of the question.

vmware has its built-in remote console application that can be used from vcenter web frontend but it requires both installation of the client software as well as flash in order to work properly so I have ruled that out aswell.

What other options do I have?
Avatar of Shehbaz Akbar
Shehbaz Akbar
Flag of United Kingdom of Great Britain and Northern Ireland image

Sounds like an issue with your VMWare environment. Have you installed VMware tools on the Kali Linux? You can try Oracle VM Virtual Box and install your Kali Linux on this and then setup for VNC.
Avatar of Jimmy Larsson, CISSP, CEH

ASKER

Yes, Kali has vmware tools installed. Kali works great in both Virtual Box and Vmware fusion.

My main question is: what other remote control solutions can I try?
You have ruled out any cloud based apps. As a workaround spin up a virtual desktop with VMware client etc. RDP to the desktop and connect to Kali Linux.
ASKER CERTIFIED SOLUTION
Avatar of Shehbaz Akbar
Shehbaz Akbar
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also forgot to mention you can run GUI apps through SSH X11 forwarding.
To determine why your VM is freezing, use...

multitail /var/log/kern.log /var/log/syslog

Open in new window


in a large window, then initiate your connection.

You can also run this command to see if some other log is getting hit, just before your VM hangs...

inotifywait -mrq /var/log

Open in new window


As for other remote connection options, as Shehbaz suggested, SSH X11 is the most common way to remotely connect.