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?
LVL 18
Jimmy Larsson, CISSP, CEHNetwork and Security consultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shehbaz AkbarIT Infrastructure EngineerCommented:
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.
Jimmy Larsson, CISSP, CEHNetwork and Security consultantAuthor Commented:
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?
Shehbaz AkbarIT Infrastructure EngineerCommented:
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.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Shehbaz AkbarIT Infrastructure EngineerCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shehbaz AkbarIT Infrastructure EngineerCommented:
Also forgot to mention you can run GUI apps through SSH X11 forwarding.
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Remote Access

From novice to tech pro — start learning today.