XRDP Server on Manjaro

Hello, i followed the tutorial:

  1. Installation of “xrdp” and “xorgxrdp-git”
    2 xrdp.service and xrdp-sesman.service in systemd enabled and startet.
    3 allowed_users=anybody in /etc/X11/Xwrapper.config created.
    4 in ~/.xinitrc i have this lines::
DEFAULT_SESSION=startplasma-x11

get_session(){
#    local dbus_args=(--sh-syntax --exit-with-session)
     local dbus_args=(--sh-syntax)
    case $1 in

Now I try to login with my user “panther” from krdc (another Linux-Box) and I see at first a black screen for about 2 minutes…
here are the server logs…

[20210104-12:48:28] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20210104-12:48:28] [DEBUG] xrdp_wm_log_msg: started connecting
[20210104-12:48:31] [DEBUG] Closed socket 23 (AF_UNIX)

[20210104-12:47:42] [INFO ] Xvnc :10 -auth .Xauthority -geometry 1024x768 -depth 32 -rfbauth /home/panther/.vnc/sesman_passwd-panther@user-pc:10 -bs -nolisten tcp -localhost -dpi 96
[20210104-12:47:42] [CORE ] waiting for window manager (pid 33625) to exit
[20210104-12:48:19] [CORE ] window manager (pid 33625) did exit, cleaning up session
[20210104-12:48:19] [INFO ] calling auth_stop_session and auth_end from pid 33624
[20210104-12:48:19] [DEBUG] cleanup_sockets:
[20210104-12:48:19] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdp_chansrv_socket_10
[20210104-12:48:19] [DEBUG] cleanup_sockets: failed to delete /tmp/.xrdp/xrdp_chansrv_socket_10
[20210104-12:48:19] [INFO ] ++ terminated session: username panther, display :10.0, session_pid 33624, ip 192.168.10.43:36370 - socket: 12
[20210104-12:48:27] [INFO ] A connection received from 127.0.0.1 port 50924

Then I see a windows: not connected… Close… I close and then
I see the xrdp greeter… I choose the second entry “sesman-vnc” and I get to my remote session…

How to change this, I want to get the greater at once offered… (not xorg preset > sesman-vnc)

; Session definitions - startup command-line parameters for each session type
;

[Xorg]
; Specify the path of non-suid Xorg executable. It might differ depending
; on your distribution and version. Find out the appropreate path for your
; environment. The typical path is known as follows:
;
; Fedora 26 or later : param=/usr/libexec/Xorg
; Debian 9 or later : param=/usr/lib/xorg/Xorg
; Ubuntu 16.04 or later : param=/usr/lib/xorg/Xorg
; Arch Linux : param=/usr/lib/Xorg
; CentOS 7 : param=/usr/bin/Xorg or param=Xorg
; CentOS 8 : param=/usr/libexec/Xorg
;
param=/usr/lib/Xorg
; Leave the rest paramaters as-is unless you understand what will happen.
param=-config
param=xrdp/xorg.conf
param=-noreset
param=-nolisten
param=tcp
param=-logfile
param=.xorgxrdp.%s.log

[Xvnc]
param=Xvnc
param=-bs
param=-nolisten
param=tcp
param=-localhost
param=-dpi
param=96

strange: no section sesman-vnc

can anybody help me?

Not long ago, I also needed a remote desktop. Try this:

mangaro-desktop1:

sudo pacman -S x11vnc
sudo x11vnc -forever -passwd 12345qwerty

mangaro-desktop2:

yay -S realvnc-vnc-viewer

Then run VNCViewer from GUI-menu and connect to your mangaro-desktop1

1 Like

can anybody help me at xrdp?

ok, as nobody could help me on xrdp i switched to X11vnc and it worked…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.