Showing posts with label kali linux. Show all posts
Showing posts with label kali linux. Show all posts

Friday, September 25, 2026

Kali Linux Remote Desktop: Access GNOME from Windows Using Native RDP


 Kali Linux + GNOME 50 + GNOME Remote Desktop + Windows Remote Desktop (MSTSC)

Getting a full GNOME desktop remotely on Kali Linux can be confusing because there are several different technologies involved: GNOME, GDM3, Wayland, gnome-remote-desktop, RDP, and the user/system systemd services.

This guide documents a working Kali Linux setup where a Windows machine connects to Kali using the built-in Remote Desktop Connection (mstsc) and receives a full GNOME desktop session.

The important part is that this configuration uses GNOME Remote Login, rather than traditional xrdp.


What We Are Building

The final architecture looks like this:

┌─────────────────────────────┐
│       Windows 10/11         │
│                             │
│  Remote Desktop Connection  │
│          mstsc.exe          │
└──────────────┬──────────────┘
               │
               │ RDP / TCP 3389
               │
               ▼
┌─────────────────────────────┐
│          Kali Linux         │
│                             │
│           GDM3              │
│             │               │
│             ▼               │
│      GNOME Remote Desktop  │
│             │               │
│             ▼               │
│       GNOME Desktop         │
│       GNOME Shell 50.x      │
│                             │
│         Wayland             │
└─────────────────────────────┘

GNOME's Remote Login implementation integrates with GDM and provides remote login through RDP. GNOME documents this as the headless multi-user remote login mode.


Why GNOME Instead of Xfce?

Kali supports several desktop environments, including GNOME and Xfce. The Kali GNOME desktop is provided by the kali-desktop-gnome metapackage and includes components such as gdm3, gnome-session, and gnome-shell.

For this configuration, the goal was specifically:

Windows
   ↓
RDP
   ↓
Kali
   ↓
GNOME

Rather than:

Windows
   ↓
xrdp
   ↓
Xfce

Both approaches are possible, but they are different architectures.

GNOME Remote Desktop has native support for RDP and can integrate with GDM for remote login.


Step 1 — Check the Current Desktop

When connecting to Kali through SSH, these commands may initially show:

echo "Desktop: $XDG_CURRENT_DESKTOP"
echo "Session: $XDG_SESSION_TYPE"

Output:

Desktop:
Session: tty

This does not mean GNOME is missing.

It simply means the current SSH session is a TTY rather than a graphical GNOME session.

For example, GNOME Shell itself can still be installed:

gnome-shell --version

In this setup, the system reported:

GNOME Shell 50.4

So the important distinction is:

SSH session
    ↓
TTY

RDP session
    ↓
GNOME graphical session

Do not use the SSH environment variables alone to determine whether GNOME is installed.


Wednesday, October 4, 2023

Best tool of #kali #linux

  1. Nmap - Network Mapper: A powerful open-source network scanner used for network discovery and security auditing.
  2. Wireshark: A widely-used network protocol analyzer that allows you to capture and inspect data packets on your network.
  3. Metasploit Framework: An advanced penetration testing platform that provides a wide range of exploits and payloads for testing system vulnerabilities.
  4. Burp Suite: A web vulnerability scanner and proxy tool for testing the security of web applications.
  5. Hydra: A fast and flexible password-cracking tool that supports various protocols and services.
  6. Aircrack-ng: A set of tools for auditing wireless networks, including WEP and WPA/WPA2 cracking.
  7. John the Ripper: A password cracking tool that can perform various types of password attacks, such as dictionary and brute-force attacks.
  8. OWASP Zap: The Zed Attack Proxy is a popular open-source security tool for finding vulnerabilities in web applications.
  9. Gobuster: A directory and file brute-forcing tool that helps in discovering hidden content on web servers.
  10. Sqlmap: An automated SQL injection tool that helps identify and exploit SQL injection vulnerabilities in web applications.
  11. WiFite: A tool for automating wireless network attacks, including cracking WEP and WPA/WPA2 keys.
  12. Hashcat: A highly efficient password recovery tool that supports a wide range of hash algorithms.
  13. Nikto: A web server scanner that detects known vulnerabilities and misconfigurations on web servers.
  14. BeEF: The Browser Exploitation Framework is a penetration testing tool that focuses on client-side attacks against web browsers.
  15. Dirb: A simple tool for brute-forcing directories and files on web servers.
  16. Maltego: A data mining tool used for information gathering and link analysis.
  17. Cupp: Common User Passwords Profiler is used to create custom wordlists for password cracking.
  18. Snort: An open-source intrusion detection system (IDS) that detects and alerts on network traffic anomalies.
  19. OWASP Amass: An information gathering and reconnaissance tool for discovering subdomains and associated information.
  20. Netcat: A versatile networking utility that can be used for port scanning, banner grabbing, and more.
  21. Dmitry: A powerful information gathering tool that can retrieve detailed information about hosts and networks.
  22. Hping3: A command-line packet crafting tool that can be used for network scanning, firewall testing, and more.
  23. Ghidra: An open-source software reverse engineering (SRE) framework developed by the NSA.
  24. Yersinia: A network tool designed to take advantage of some weaknesses in different network protocols.
  25. Reaver: A tool for brute-forcing WPS (Wi-Fi Protected Setup) PINs to recover WPA/WPA2 passphrases.



#KaliLinux

#PenetrationTesting

#EthicalHacking

#SecurityTools

#NetworkSecurity

#Cybersecurity

#InfoSec

#Hacking

#VulnerabilityAssessment

#PasswordCracking

#WirelessSecurity

#WebApplicationSecurity

#NetworkScanning

#Forensics

#Exploits

#IntrusionDetection

#DataMining

#ReverseEngineering

#PacketAnalysis

#WebVulnerabilities

#SQLInjection

#HashCracking

#SubdomainDiscovery

#NetworkAnalysis

#CyberTools


Featured Posts

Kali Linux Remote Desktop: Access GNOME from Windows Using Native RDP

  Kali Linux + GNOME 50 + GNOME Remote Desktop + Windows Remote Desktop (MSTSC) Getting a full GNOME desktop remotely on Kali Linux can be ...