SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Rep:
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?
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.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
Quote:
Originally Posted by jayjwa
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?
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.