LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-04-2023, 04:59 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
Black screen connecting xfreerdp -> xrdp


I'm running Slackware 15 on three boxes, A, B and C. I'm running xrdp and trying to connect via xfreerdp. No matter what box runs xrdp and no matter what box I try to connect from, I get a black screen. I tried to connect from a windows box - black screen. Tried a different rdp client - black screen.

So at this point I conclude either xrdp is broken, or I'm doing something fundamentally wrong in that I'm trying it on three boxes and all three give me the same results - black screen.

I'm really not sure where to go with this one. What can we do next to troubleshoot this?

Last edited by Ook; 10-04-2023 at 05:29 PM.
 
Old 10-04-2023, 06:40 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 794

Rep: Reputation: 253Reputation: 253Reputation: 253
First I'd check the machines are reachable (ping, traceroute, etc). Then I'd try to connect to the RDP ports with something like ncat. If you get that far, check the xrdp.log and xrdp-sesman.log. I think the Xorg server being used by Xrdp drops its own log outside of the system's normal log so look at that. It might be in ~/ or maybe /var/log. Make sure Xrdp is running a working window manager. Right now I'm using Fvwm2 but when I RDP it wants me to use XFCE (you can configure this). Check if the module is findable for the Xserver (/usr/lib64/xorg/modules/libxorgxrdp.so on my install). Check if your keys are correct. I have xrdp-0.9.2.1 with xorgxrdp-0.9.19 working (built from source). rdesktop (on PC) and the Microsoft client (on mobile, Android) I've seen working. xfreerdp had to have some odd switch when I tried to use it last (/relax-order-checks) at the end of the command line so I stuck with rdesktop. As I recall, the config files for Xrdp are very touchy so let them at default as much as you can.
 
Old 10-04-2023, 09:40 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by Ook View Post
I'm really not sure where to go with this one. What can we do next to troubleshoot this?
I'll give it a go if you can post a link to the instructions you followed to install & configure xrdp.
 
Old 10-05-2023, 10:56 AM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by jayjwa View Post
First I'd check the machines are reachable (ping, traceroute, etc). Then I'd try to connect to the RDP ports with something like ncat. If you get that far, check the xrdp.log and xrdp-sesman.log. I think the Xorg server being used by Xrdp drops its own log outside of the system's normal log so look at that. It might be in ~/ or maybe /var/log. Make sure Xrdp is running a working window manager. Right now I'm using Fvwm2 but when I RDP it wants me to use XFCE (you can configure this). Check if the module is findable for the Xserver (/usr/lib64/xorg/modules/libxorgxrdp.so on my install). Check if your keys are correct. I have xrdp-0.9.2.1 with xorgxrdp-0.9.19 working (built from source). rdesktop (on PC) and the Microsoft client (on mobile, Android) I've seen working. xfreerdp had to have some odd switch when I tried to use it last (/relax-order-checks) at the end of the command line so I stuck with rdesktop. As I recall, the config files for Xrdp are very touchy so let them at default as much as you can.
OMFG....

I added /relax-order-checks to the xfreerdp line and it connected.

I tried remmina, but it gets stuck in a loop trying to connect.

I tried it from a windows machine and now it works? It would not connect yesterday. Was there a full moon yesterday?
 
Old 10-06-2023, 01:29 PM   #5
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
And FWIW, rdesktop performance is much better than xfreerdp at least for my setup. Not sure why.
 
Old 10-24-2023, 12:00 PM   #6
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Followup: I've been running this on four different computers and it works well. The missing piece of the puzzle was xorgxrdp. I read somewhere to not use this, but without it I could not get this to work. I installed xorgxrdp, and it fired right up like magic.
 
Old 10-25-2023, 03:45 AM   #7
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Is it related ?
https://bugzilla.redhat.com/show_bug.cgi?id=2242028


You can try rebuilding freerdp with:
Code:
    -DWITH_FFMPEG=OFF \
    -DWITH_DSP_FFMPEG=OFF \
 
Old 10-27-2023, 09:23 AM   #8
max242
LQ Newbie
 
Registered: Nov 2009
Distribution: Slackware 13.0
Posts: 7

Rep: Reputation: Disabled
This sounds familiar to me.

What I had to do is add an Xwrapper.config file to the /etc/X11 directory, with the following content:

allowed_users = anybody

found on: https://slackbuilds.org/repository/15.0/system/xrdp/

Hope this helps,

Last edited by max242; 10-27-2023 at 09:25 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XRDP failes authentication via xRDP divernick Linux - Software 3 02-06-2019 05:19 AM
xrdp and hibernate, getting black screen after resume jeffry7 Linux - Server 0 02-05-2019 06:45 AM
xrdp black screen after login RHEL7server samed Linux - Networking 0 03-09-2016 11:45 PM
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 02:56 PM
Gentoo XRDP black screen puntjuh Linux - Software 0 01-14-2011 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration