# Segfault error while logging into XRDP

**URL:** <https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358>\
**Category:** Rocky Linux Help & Support\
**Created:** [December 25, 2022, 10:27pm UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358 "2022-12-25T22:27:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![frankz66](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/frankz66/32/2600_2.png) [@frankz66](https://forums.rockylinux.org/u/frankz66)\
**Post date:** [December 25, 2022, 10:27pm UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358/1 "2022-12-25T22:27:09Z")

</div>

Hi all , this is my first post and thanks for letting me participate in the forum .  
I have a machine rocky linux 9.1 install as VM on a proxmox ve 7.3 cluster  
This Vm has been accredited to an AD server, everything is working properly even the xrdp session. However , I noticed that when logging into the GUI , the system signals a segfault error ( not blocking at the moment ) .  
Can I solve?

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [December 26, 2022, 1:59am UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358/2 "2022-12-26T01:59:34Z")

</div>

Copy and paste the error output into a code block \</\> and then we may have an opinion on whether you can solve it.

---

<div class="post-metadata">

**Author:** ![frankz66](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/frankz66/32/2600_2.png) [@frankz66](https://forums.rockylinux.org/u/frankz66)\
**Post date:** [December 26, 2022, 8:54am UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358/3 "2022-12-26T08:54:11Z")

</div>

```auto
gnome-session-c[1376]: segfault at 20 ip 00007f8fa49e3624 sp 00007ffec23cefb8 error 6 in swrast_dri.so[7f8fa49c6000+e09000]
[22.649879] Code: 48 89 fd e8 ce cc ff ff 48 89 ef 5d e9 35 6e fe ff 0f 1f 44 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa <83> 6f 20 01 48 c7 47 08 00 00 00 00 75 1e 55 48 8b 47 18 48 89 fd

```

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [December 26, 2022, 1:03pm UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358/4 "2022-12-26T13:03:23Z")

</div>

> [@frankz66](#):
>
> `segfault at 20 ip 00007f8fa49e3624 sp 00007ffec23cefb8 error 6 in swrast_dri.so`

I googled this: segfault error 6 in swrast\_dri.so which you can do too but I found nothing conclusive.

Running dnf provides thus:

```auto
# dnf provides \*/dri/swrast_dri.so
Last metadata expiration check: 0:40:11 ago on Mon 26 Dec 2022 07:04:03 AM EST.
mesa-dri-drivers-22.1.5-2.el9.i686 : Mesa-based DRI drivers
Repo : appstream
Matched from:
Filename : /usr/lib/dri/swrast_dri.so

mesa-dri-drivers-22.1.5-2.el9.x86_64 : Mesa-based DRI drivers
Repo : @System
Matched from:
Filename : /usr/lib64/dri/swrast_dri.so

mesa-dri-drivers-22.1.5-2.el9.x86_64 : Mesa-based DRI drivers
Repo : appstream
Matched from:
Filename : /usr/lib64/dri/swrast_dri.so

```

The segfault is related to the mesa driver package. I do not get that error on my RL9 install. I use the mate desktop and it appears you are using gnome so it may be an issue with the wayland graphics software. Since you say you have no usability issues you might just ignore.

---

<div class="post-metadata">

**Author:** ![frankz66](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/frankz66/32/2600_2.png) [@frankz66](https://forums.rockylinux.org/u/frankz66)\
**Post date:** [December 26, 2022, 3:33pm UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358/5 "2022-12-26T15:33:28Z")

</div>

Thank you for answering, in principle I agree with what you wrote. I use gnome and everything works regularly. As written it was just technical curiosity to try to understand the problem, although often a segfault is generated by a driver that in some contexts has some bugs or conflicts …

---

<div class="post-metadata">

**Author:** ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)\
**Post date:** [December 26, 2022, 4:37pm UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358/6 "2022-12-26T16:37:15Z")

</div>

It’s not clear enough.  
How did you install xrdp?  
When you say “logging in to the GUI”, does that mean the Gnome login screen, or the xrdp login screen? If you have gnome desktop, are you using [x.org](http://x.org) or wayland?

---

<div class="post-metadata">

**Author:** ![frankz66](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/frankz66/32/2600_2.png) [@frankz66](https://forums.rockylinux.org/u/frankz66)\
**Post date:** [December 26, 2022, 6:26pm UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358/7 "2022-12-26T18:26:11Z")

</div>

Hi and thank you for answering. Yes you are right use [x.org](http://x.org), practically after making the credit on AD , I proceeded with the installation of xrdp and consequently all its dependencies . I continued or rather finalized the installation with Gnome ,.  
Also by GUI, I meant graphic rdp access, sorry if I was superficial.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:30am UTC](https://forums.rockylinux.org/t/segfault-error-while-logging-into-xrdp/8358/8 "2023-08-25T03:30:03Z")

</div>


