You are not logged in.
Pages: 1
Topic closed
After reading the ArchWiki - xrdp, I installed xrdp:
yay -S xrdp-git
yay -S xorgxrdp
sudo systemctl enable xrdp
sudo systemctl start xrdp
I went to the Windows 11 system, ran Remote Desktop Connection, entered the hostname/IP of the system, and it connects.
I receive the Xorg login window, enter the username and password, hit enter.
Now here is the problem: I only receive a blue window and not the Linux desktop.
What am I missing?
Neofetch:
OS: Arch Linux x86_64
Host: OptiPlex 7010 01
Kernel: 6.2.9-arch1-1
Uptime: 20 hours, 38 mins
Packages: 885 (pacman)
Shell: bash 5.1.16
Resolution: 1600x900
DE: Plasma 5.27.3
WM: KWin
Theme: [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze [GTK2/3]
Terminal: konsole
CPU: Intel i7-3770 (8) @ 3.900GHz
GPU: Intel IvyBridge GT2 [HD Graphics 4000]
Memory: 1822MiB / 15883MiB
Logged in to KDE with X11 and Wayland, no difference.
Thank you.
Offline
I found that I had to modify /etc/X11/xrdp/xorg.conf file:
Section "ServerFlags"
# This line prevents "ServerLayout" sections in xorg.conf.d files
# overriding the "X11 Server" layout (xrdp #1784)
Option "DefaultServerLayout" "X11 Server"
Option "DontVTSwitch" "on"
Option "AutoAddDevices" "off"
Option "AutoAddGPU" "off" <<--- ADD
EndSection
Section "Screen"
Identifier "Screen (xrdpdev)"
Device "Video Card (xrdpdev)"
Monitor "Monitor"
DefaultDepth 24
GPUDevice "" <<--- ADD
SubSection "Display"
Depth 24
Modes "640x480" "800x600" "1024x768" "1280x720" "1280x1024" "1600x900" "1920x1080"
EndSubSection
EndSection
Edit these files as well (if needed):
sudo vim /etc/X11/Xwrapper.config
---
# Allow anyone to start X:
allowed_users=anybody
---
sudo vim /etc/xrdp/sesman.ini
---
[Xorg]
param=/usr/lib/Xorg
# Leave the rest of the lines untouched
---
and:
cp /etc/X11/xinit/xinitrc ~/.xinitrc
~/.xinitrc
# ...
# !!! Remove several lines from "twm" to "xterm",
# !!! since we don't need them and they throw error if not removed
# Start Desktop Environment
exec dbus-run-session -- startplasma-x11
Then restart services:
sudo systemctl restart xrdp xrdp-sesman
When I ran Remote Desktop Connection in Windows 11, the RDP connection connected and logged in to the KDE Plasma desktop!
Offline
Thank you! Just confirming that this works with xorgxrdp-glamor, too
Offline
It works! Thanks for sharing!
Offline
The OP has not been back since May 8, so I am going to consider this thread abandoned and close it now.
Offline
Pages: 1
Topic closed