Image

Knowledge base → Debian 12 remote desktop from Windows

[Virtual servers]
Date of publication: 01.03.2024

Usually we talk about the Debian 12 operating system as an industrial server, in this guide we will talk about a workstation or home server as a Debian 12.

When installing the operating system, we installed the graphical shell; you can choose Gnome or KDE. The task has arisen to connect to it remotely from the Windows operating system, using the standard utility - Remote Desktop Connection.

1. Install the necessary services on Linux Debain 12

apt update
apt upgrade
apt install xrdp
apt install xfce4

1.1 Let's make the necessary settings

echo xfce4-session >~/.xsession

1.2 Restart the service

service xrdp restart

1.3 Let's allow access

In file

nano /etc/X11/Xwrapper.config

Let's change the line:

allowed_users=console

on the:

allowed_users=anybody

2. Let's connect using a standard Windows utility

2.1 Launch the application and enter the IP address of the Debian 12 workstation

2.2 Specify login and password

2.3 Connection was successful





Ivan
14.07.2024 10:46
Could you help, I can't connect to the server?
I installed xrdp on the server following your example, as a client I tried different options, the latest option is xfreerdp

[ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED
Synay Support
14.07.2024 11:00
1) Check port 3389 with telnet
2) Try change default SSL certificate