-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen with cursor #2496
Comments
Logs look fine. You may be missing a lot of X stuff. Which desktop have you installed, and how? |
Thanks for your reply. I use XFCE. I get same issue, all XFCE process are loaded but still black screen with the cursor.
XFCE have been installed on this way: In syslog, I have the following error:
Why I get black screen if processes are loaded in memory ? Thanks |
Off the top of my head, I have no idea. Can you get access to the console of the VM (ie. is it local) ? If so, is xfce working OK there? |
With the same configuration (including same sesman.ini and xrdp.ini): Did you know what code change can make the persistant black screen between 0.9.12 and 0.9.21 ? |
I'm not aware of any code changes that can result in that behaviour. Did you try with Xvnc to see what happens? |
Also, if you've got it, can you post the xorgxrdp log using v0.9.12? |
0.9.12 don't have the following error in logs: I'm unable to make Xvnc working in both version (I think I have firewall issue somewhere on the path or something is wrong in configuration). Is it possible to use Xvnc using an SSH tunnel on machine xrdp and connection as localhost ? |
For the record, here are both logs without the timestamps:- I ran a diff with meld (a graphical diff tool). The error message is a good spot. I'll look at it later - I'm currently running some timing tests on my development VM. The Xvnc backend is running locally on the machine, so unless you've got a firewall on the loopback interface you shouldn't have any problems along those lines. Here are some hints:-
If it doesn't work, post the xrdp-sesman.log file which tells us how the server is being started. |
That error seems to be related to your problem. Further more, it may be something to do with the colour depth which should be forced to 32 for the Xorg backend. What is the colour depth of your RDP client? |
Are you using a Windows RDP client? If so, on the 'Experience' tab, what is the connection quality set to? |
By default it's set to 32. I have set to 16 for try but same black screen. |
I'm unable to make Xvnc session working. In pop-up window
xrdp-sesman.log
|
From the code I've looked at so far, this would seem to be client-related so this is a real mystery. Let's look at the Xvnc problem first. It's not clear to me whether the X server is starting or not. Can you try a connection and post the complete contents of |
@ndeffayet - do you need any more help with this? |
@matt335672 Thanks for your follow-up. |
No-one else has reported this issue, so we need to find out what is unusual with your setup. Getting Xvnc working will let us determine the component at fault, and also possible workarounds. If you're in a position to post the complete contents of Also, you say you're running xrdp 0.9.21 on Debian 11. Presumably you're building this and also xorgrdp from source? |
Sorry for my reply delay. I have done some tests. xrdp-sesman.log:
xrdp.log
xorgxrdp.10.log
Thanks |
If Xvnc is working, the problem with your setup is to do with xorgxrdp. You say you're running xrdp 0.9.21 on Debian 11. Presumably you're building this and also xorgrdp from source? This may be an installation issue. |
Thanks for your feedback. I use the same version of xorgxrdp (0.2.12) with xrdp version 0.9.12 (works) and xrdp version 0.9.21 (black screen with cursor). |
I have done some test. xrdp 0.9.21.1 works with xorgxrdp 0.9.19 but not with xorgxrdp 0.2.12. |
@ndeffayet - how are you building and installing these? |
xorgxrdp 0.2.12 is installed using binary package built by Debian 11 (https://packages.debian.org/bullseye/xorgxrdp) |
I think I see what's going on here. There is a run-time dependency xrdp and xorgxrdp. We added a check to xorgxrdp to make sure the version of xrdp matched in xrdp PR #1813 and xorgxrdp PR #184. These checks made it to v0.9.16, so aren't in v0.9.12. I think this is what you are seeing. The current advice is to use these versions together:-
There however only very minor changes to xrdp v0.9.20 and v0.9.21, so for both of these, xordxrdp v0.9.19 should work OK. Is that consistent with your observations? |
Thanks for your feedback. Yes, it's consistent with my observations. |
That's for the swift reply. Can we close this one then, or is there something else outstanding I've missed? |
The issue can be closed. Thanks |
...
... It looks like I have same problems with black screen after reconnecting (randomly). I have same errors in
What would you recommend to get my service restored? |
@p5-vbnekit - if your issue is random, it's not this. The errors you've posted are normally nothing to worry about. Make sure you don't use the same user for xrdp that you're using to log in to the machine locally. See the FAQ |
This container doesn't have graphical devices. There's no display manager. Users can login only over BUT: Lingering are enabled ( Black screen doesn't appear when user try to log in for the first time, but when user try to reconnect several times. |
Could be neutrinolabs/xorgxrdp#171 which was merged for xorgxrdp 0.2.17 |
On
|
I found a similar problem (2 sec "BSWC") on another host with
If I understand correctly, you are saying that PR's around this issue could break something and lead to this behavior... Could this bug have rised before? I mean since |
Yup - see #1964. |
More info.
|
i also had trouble with a black screen, this was indeed due a version mismatch on debian 11 |
I had same on My solution: rebuild
|
Newest Debian 11 update for xorgxrdp (1:0.2.12-1+deb11u1) fixed this problem for me, that was introduced with the update to xrdp 0.9.21.1-1~deb11u1 a few days ago |
Version: xrdp_0.9.21
OS: Debian 11 in virtual machine (so no physical hardware)
Login screen for prompt username/password show fine if username/password not supplied by RDP client.
When connecting (after login), I get a black screen with cursor.
I have done the xterm test as suggested in a bug report.
Log attached: .xsession-errors (empty) .xorgxrdp.10.log /var/log/xrdp.log /var/log/xrdp-sesman.log
xorgxrdp.10.log
xrdp-sesman.log
xrdp.log
xterm window is not shown but cursor change from arrow to cross when moving it into black screen.
When I check running process, xterm is running:
The text was updated successfully, but these errors were encountered: