Xrdp black screen after login

Hi there!
I'm a new greatefull user of Garuda distro. It's awesome!! Thank you for sharing it!

Back to business.
Currently I'm struggling with issue when I would like connect to my Garuda Linux from other computers.
I have installed xrdp software and sshd to allow for a such connection type. Each attempt ends with black screen (sometimes after showing running spinner) and there is only dead black screen. Nothing more. I'm trying to log in as a administrator.

Can someone provide step by step instructions how to set up it properly, please?

I have found out that using x2geo soft is working perfectly (while we choose current desktop as a taget) but don't like fact that that connected computer reflect everything including mouse movement. Besides I don't want to install in on my all computers. Connecting from Ubuntu to Garuda with x2geo is fine. But I would like to use xrdp instead. For example I would like to connect from Windows RDP to Garuda (which has drag & drop , copy/paste out of the box).

So dear collegues I'm asking for a help with setting up xrdp to allow me connect from different machine.
Best regards

:smiley:

systemctl enable --now sshd.service

Or check status before.

Use user.

Oops, I use only ssh.
IDK x2geo and xrdp, sorry.

1 Like

sshd service is already enabled.

[đź”´] Ă— sudo systemctl status sshd
â—Ź sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2021-05-17 01:56:06 CEST; 33min left
Main PID: 465 (sshd)
Tasks: 1 (limit: 14302)
Memory: 1.9M
CPU: 13ms
CGroup: /system.slice/sshd.service
└─465 sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups

maj 17 01:56:06 zawier-garuda systemd[1]: Started OpenSSH Daemon.
maj 17 01:56:06 zawier-garuda sshd[465]: Server listening on 0.0.0.0 port 22.
maj 17 01:56:06 zawier-garuda sshd[465]: Server listening on :: port 22.

with xrdp right :slight_smile:

╰─λ sudo systemctl status xrdp
â—Ź xrdp.service - xrdp daemon
Loaded: loaded (/usr/lib/systemd/system/xrdp.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2021-05-17 01:26:45 CEST; 2s ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Process: 394990 ExecStart=/usr/bin/xrdp (code=exited, status=0/SUCCESS)
Main PID: 394991 (xrdp)
Tasks: 1 (limit: 14302)
Memory: 980.0K
CPU: 9ms
CGroup: /system.slice/xrdp.service
└─394991 /usr/bin/xrdp

maj 17 01:26:44 zawier-garuda xrdp[394990]: [INFO ] address [0.0.0.0] port [3389] mode 1
maj 17 01:26:44 zawier-garuda xrdp[394990]: [INFO ] listening to port 3389 on 0.0.0.0
maj 17 01:26:44 zawier-garuda xrdp[394990]: [INFO ] xrdp_listen_pp done
maj 17 01:26:44 zawier-garuda xrdp[394990]: daemon process 394991 started ok
maj 17 01:26:44 zawier-garuda systemd[1]: xrdp.service: Can't open PID file /run/xrdp.pid (yet?) after start: Operation no>
maj 17 01:26:45 zawier-garuda systemd[1]: Started xrdp daemon.
maj 17 01:26:46 zawier-garuda xrdp[394991]: [INFO ] starting xrdp with pid 394991
maj 17 01:26:46 zawier-garuda xrdp[394991]: [INFO ] address [0.0.0.0] port [3389] mode 1
maj 17 01:26:46 zawier-garuda xrdp[394991]: [INFO ] listening to port 3389 on 0.0.0.0
maj 17 01:26:46 zawier-garuda xrdp[394991]: [INFO ] xrdp_listen_pp done

Without that it wouldn't show spinner right? Besides I'm able to choose environment and user. Regarding a non-admin user - that's the point where I would like to login as administrator.

Currently I'm using only one environment.

✦2  ╰─λ ls /usr/share/xsessions

.rw-r--r-- 2,4k root  4 maj 15:58 ď…› plasma.desktop

If needetd I could install ubuntu-mate-desktop for xrdp. But how to configure xrdp to use it?

systemctl don’t need sudo in terminal, if, you got ask by system :slight_smile:

But I can’t help more :frowning:

1 Like

What if I have the same problem with regular user? How to solve that? Could you provide sollution as well for sending receiving files/folders between computers? Yeap, I'm aware we have scp but in XXI century I would nice to have similar functionality like windows rdp :wink:

Take this: freerdp (2:2.3.2-1)

3 Likes

This is the Windows remote desktop protocol - any specific reasons for using that? Also have a look through Category:Remote desktop - ArchWiki

No, it’s up to you to do the reading. I’d start here: Xrdp - ArchWiki

3 Likes

Thanks, looks prommising!

Is in the repos.

1 Like

Yeap, coz I have Windows and Linux machines…

Been there last time. They also describe problem with black screen, however it doesn’t solve my problem.

https://forum.garudalinux.org/t/setup-xrdp-on-garuda-linux-kde-plasma-dr460nized/14907

I appreciate your attempt to be helpful, but just FYI we try to encourage forum users to not necrobump old technical help requests

1 Like