• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

KaliTut

Kali Linux tutorial and Linux Tips

  • Home
  • Raspberry Pi
  • Privacy Policy
  • About us
  • Affiliate disclaimer

Connect to Raspberry pi graphical user interface

November 22, 2017 by Walid Salame

How to connect to raspberry pi remotely

connect to raspberry pi remotely

An SSH server can not only provide the command line, but also a graphical user interface that does not necessarily have to look like the one on the remote system.
A display redirection or X-Forwarding can be performed by an SSH server. However, you will not get the current, but your own desktop in this solution.

Task

  • Set up display redirection.
  • Install panel.
  • Connect to the graphical user interface via SSH.

Solution: Setup display redirection
The display redirection is called X-Forwarding. For this to work, the respective SSH server must be configured accordingly. To do this, we open the configuration file:

sudo nano /etc/ssh/sshd_config

There we enter the following line, which should be available by default.

X11 Forwarding yes

Then save and close: Ctrl + O, Return, Ctrl + X.

The SSH server needs to be restarted (only if you have changed the file).

sudo service ssh restart

Solution: install panel
The display redirection is of no help if you do not have a panel (start menu, program bar, …) that allows you to control the desktop. A panel is a control bar, which can be placed anywhere on the desktop and expanded with many applets and plugins. For example, program starter or battery, network or hard disk monitor.
That’s why we first install a panel.

sudo apt-get install lxpanel

Other panels include tint2, fpanel, xfce4-panel, visibility, kicker, barpanel and many more.

Establish raspberry pi connection via SSH

Then you can enter the following command directly in the SSH client.

ssh -X pi@192.168.1.2 lxpanel

The key parameters are “-X” (large X) for display redirection and “lxpanel” for the panel.
The IP address must be adapted according to your own Raspberry Pi.

Alternative: Remote Desktop via RDP
In the Windows world, VNC is less common. This is called remote desktop support via RDP. If you’re working with Windows clients, setting up an RDP server on the Raspberry Pi is a viable alternative to VNC.

  • raspberry pi remote access via XRDP
Post Views: 71

Filed Under: Raspberry Pi Tagged With: raspberry pi remote access

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow us

  • Facebook
  • Twitter
  • YouTube

Categories

  • algorithm
  • Android Ai coding
  • Android pentesting tools
  • Arduino
  • Artificial Intelligence
  • Books
  • ChatGPT Prompt
  • Darknet
  • database
  • General
  • Github Tools
  • Hacking
  • Kali Linux
  • Linux
  • Linux Commands
  • Network Administrator
  • Penetration Testing
  • Penetration Testing Tools
  • PowerShell
  • Raspberry Pi
  • resources
  • Review
  • Termux
  • Tutorials
  • Ubuntu
  • Uncategorized
  • Video Tutorials
  • vmware
  • WiFi Adapter
  • WiFi Pentesting
  • Wireless Router
  • Wireshark

Recent Posts

  • Transforming Photos with ChatGPT Prompt : A Cinematic Double Exposure in a Post-Apocalyptic World
  • Stryker Android App: Your Mobile Pentesting Powerhouse
  • Alfa awus036ach review
  • Alfa AWUS1900 for Wireless Penetration Testing
  • How to Run DeepSeek AI Locally on Kali Linux – Step-by-Step Guide

Footer

Kalitut

Kalitut.com goal is to share the knowledge for free, help you find the best tools on the web and provides tutorials

Find us on social media

  • Facebook
  • Pinterest
  • Reddit
  • Twitter
  • YouTube

Copyright © 2025

  • Home
  • About us
  • Privacy Policy
  • Affiliate disclaimer