-
-
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
Session crashes when launching some apps but not others #2841
Comments
The only significant thing in these logs is the session is getting a SIGTERM after 8 seconds.. Is there anything more useful in either
|
I have attached them below. Several warnings and errors but I'm afraid I don't understand what they are about. |
Looks like #1367 A couple of questions:
|
@matt335672 Thanks for the quick reply.
|
Thanks. The suggestion in #1367 is this is fixed in neutrinolabs/xorgxrdp#121 but that doesn't seem to be the case.
|
Do you mean on the client-side? At the moment, the server is monitor-less.
The Gnome Videos app (aka Totem) triggers the crash consistently. Others (like RStudio) don't. |
Yes, client-side. The server monitors are not visible to xrdp. |
@matt335672 I unplugged my external monitor and rebooted both the client and server just in case. Still no luck. |
That's not quite what I meant. In the mstsc.exe settings dialogue what options to you have set here:- Also, if you're using a .ini file to start the session can you post it after removing any passwords? They're encrypted anyway and specific to your machine, but it's not a good idea to make them public. |
@matt335672 The client is a Mac computer using Microsoft's official client from the Mac app store (the server is on an Ubuntu 22.04 machine). The display settings of the client are in the image below. |
Sorry - you already said that. That's another similarity with #1367. Can you untick the 'Fit session to window' box? I'm not hopeful, but there are definitely problems in this area. |
@matt335672 No luck here either. I went ahead and tried a combination of ticking and unticking all three top boxes and that didn't seem to help either. |
I'm unable to reproduce this on 0.9.17 with a Windows 10 client. I've installed totem, and I can play this rather dull video fine:- /usr/share/texlive/texmf-dist/tex/latex/mwe/example-movie.mp4 Can you provide a link to a problematic video for me? |
Looking a bit more closely, it appears you may be hitting this Xorg bug:- https://gitlab.freedesktop.org/xorg/xserver/-/issues/1053 There's no mention of xorgxrdp in the stack trace in the Xorg log. Also, you're loading the glamor module, which my testbed isn't. Can you have a look at neutrinolabs/xorgxrdp#241, and the changes to |
When I make these changes (all or in combination), all I get is a black screen. Also, to answer your previous question about Totem, it crashes the connection even when I call it directly from the app launcher. In any case, I will attempt a full reinstall of this machine tomorrow (there is nothing critical on it yet), and I'll see if something radical like that resolves the issue. |
@matt335672 So, I did a fresh install of the server and tested along the way as I was adding to/configuring the system. It looks like the problem is somehow linked to adding my user to the "video" group. If my user is part of this group, then trying to launch related apps (e.g., Cheese) causes the session to just terminate. If I remove my user from the group "video", then all is good again but then I can't use apps requiring the user to be part of the "video" group. |
That's a good bit of detective work.
Also, I'm surprised that the X server is unable to open
|
Hard to tell. As soon as I select the app in the app launcher, the remote session quits. If I try to reconnect, sometimes it opens up a fresh session like nothing had happened, sometimes it's just a black screen.
Nothing.
❯ lsmod | grep i915
i915 3899392 11
drm_buddy 20480 1 i915
ttm 110592 1 i915
drm_display_helper 212992 1 i915
cec 94208 2 drm_display_helper,i915
drm_kms_helper 249856 2 drm_display_helper,i915
i2c_algo_bit 16384 1 i915
drm 700416 9 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
video 73728 1 i915 ❯ ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 Nov 2 20:48 by-path
crw-rw----+ 1 root video 226, 0 Nov 2 20:48 card0
crw-rw----+ 1 root render 226, 128 Nov 2 20:48 renderD128 |
Sorry - I meant "how does the application fail when your user isn't in the video group?" Try adding your user to the |
@matt335672 Adding the user to the To answer your question (not sure it matters now), when the user is not in the |
xrdp version
0.9.17
Detailed xrdp version, build options
Operating system & version
Ubuntu 22.04
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
xorgxrdp (I think) version 1:0.2.17-1build1
What desktop environment do you use?
GNOME
Environment xrdp running on
Physical machine with Intel Corporation HD Graphics 530 (rev 06)
What's your client?
Microsoft's official client from Mac app store
Area(s) with issue?
Crashes such as segfault
Steps to reproduce
After launching a session, the desktop shows up normally but attempts to launch certain apps (e.g., Videos) result in the session crashing and the client disconnecting.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Anything else?
xrdp-sesman.log
xrdp.log
The text was updated successfully, but these errors were encountered: