-
Notifications
You must be signed in to change notification settings - Fork 113
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
Xorg crashes when closing xfreerdp session in xrdp #137
Comments
I looks like a crash in damage X11 extension. Good find. |
I tried myself, to turn off damage, you have to do it with -extension DAMAGE in sesman.ini. |
I just tried with Debian 9, seems to work. |
I tried it without DAMAGE: xorg starts but not the window manager (gnome). xterm as wm works but as soon as i start an xfreerdp session in xterm xorg crashes xorgxrdp_wo_DAMAGE_w_XTERM.log XOrg 1.20.1, free 1.0.2 but i tried freerdp 2.0 too. |
I am having the exact same issue. Please fix. |
Same here (mstsc -> xrdp on a RHEL7 VM), disconnecting a xfreerdp connection breaks XRDP and logs out. |
Dear All, |
Just an update, the same behaviour is there with: freerdp-libs-2.0.0-4.rc4.el7_8.x86_64 It seems that the latest stable environment was using CentOS/RHEL 7.5. After update to 7.6, problems started and it is not fixed yet. It's already reported to redhat bugzilla and freerdp teams. |
I can't reproduce this. I've got a Win 10 client connecting to a CentOS 7.8 machine with two users. Connection a: Win 10 -> CentOS logging in with Xorg backend on first user Can anyone who is experiencing this give me any clues as to differences? My versions are identical to @Mikky83 with the addition of:- xorgxrdp-0.2.13-1.el7.x86_64 Thanks, |
Dear @matt335672, many thanks for following up this. In order to reproduce it, please create one more win10 VM and configure it for remote access. It's happening only with Windows machines. And each Windows distribution has specific behaviour. The common for all of them is xfreerdp crash the X server on disconnection. freerdp team is blaming redhat for the problem and they said that don't plan to change anything related with X11 part in xfreerdp. |
Thanks for that. I've just started a download of the latest Windows 10 ISO so I can set up a VM as a target. It may take me a while to get it all configured. In the meantime, have you got a reference to the conversation between freerdp and redhat about this? It may be quite informative. Also we may also have some input into it too (depending on what we find out). Thanks. |
Hi @Mikky83 I still can't reproduce this. I'm going Win 10 (physical) -> CentOS7 -> Win 10 (VM) and all is well.
I'm running the Xorg server on the CentOS machine under valgrind, and it's not showing anything unusual. A couple of questions for you:-
Thanks |
Hi @matt335672 , Regarding the references: |
Great - thanks. Leave it with me. |
Well I'm getting plenty of crashes with XFCE4, although all I have to do is run xfreerdp - I don't need to even exit the session. I can't be sure yet whether this is xorgxrdp or X server related (or both) so I'll continue digging. For reference, I've attached a trace I'm getting from valgrind when the X server goes down. I'll carry on looking at this next week. If I do decide it's an X server issue I'll add more info to the bugzilla. |
Hi @matt335672, great to hear that you were able to reproduce the problem. So, now we know that it happens only when you use xfce4 as desktop environment. I can provide some additional details about xorg server crashes. So, as you said, I'm leaving to you. In case if you need some additional details please let me know. |
Having spent quite a bit of time on this, I've managed to confirm it's nothing to do with xorgxrdp - I've managed to reproduce it on a CentOS 7.8 VM without using xorgxrdp. I've added a bit more technical info to https://bugzilla.redhat.com/show_bug.cgi?id=1659113 on what's happening inside the X server when this happens. I'm in a position to add to this information if Red Hat ask me to do so. @Mikky83 - thanks for your help in getting this reproduced. I'm just sorry I can't give you a more positive response right now. |
Even though it might not be relevant for the problem, a workaround that works for me is using Remmina (version 1.4.1-1, haven't updated yet) as the RDP client. Oddly enough, Remmina is using the same library as xfreerdp, yet it doesn't crash.
|
The Red Hat bugzilla entry above has been updated as "CLOSED WONTFIX". I'm closing this issue here too, as there's nothing we can do about it. If anyone on this thread has any leverage with Red Hat and can get the bugzilla re-opened, I'll re-open this issue too. |
I encountered a strange issue with xrdp.
Setup is as follows:
opening a session a with mstc (win7) to xrdp (xorgrdp) on rhel7.
opening a session b with xfreerdp 1.0 or 2.0 in session a to a windows host.
closing session b closes session b AND session A will be killed by segfault in Xorg.
xorgxrdp.log
The text was updated successfully, but these errors were encountered: