# libEGL warning :DRI2 failed to authenticate while launching rviz

**URL:** <https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522>\
**Category:** General Questions\
**Created:** [May 14, 2020, 5:21am UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522 "2020-05-14T05:21:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![msfarhan123456](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/m/b9e5f3/32.png) [@msfarhan123456](https://forum.ubiquityrobotics.com/u/msfarhan123456)\
**Post date:** [May 14, 2020, 5:21am UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522/1 "2020-05-14T05:21:32Z")

</div>

Hello everyone,

I’m launching rviz for opening my urdf

I’m getting the following error

libEGL warning : DRI2: failed to authenticate  
i have tried this method [raspbian - Qt applications don't work due to libEGL - Raspberry Pi Stack Exchange](https://raspberrypi.stackexchange.com/questions/61078/qt-applications-dont-work-due-to-libegl) still not working

 ![Screenshot%20from%202020-05-14%2009-38-21](https://frm.ubiquityrobotics.com/uploads/default/original/1X/c31c1759ad89c6bae22b5b9bfe5737da596d05ff.png)

but still error persists  
Thanking you

---

<div class="post-metadata">

**Author:** ![anfederman](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/anfederman/32/141_2.png) [@anfederman](https://forum.ubiquityrobotics.com/u/anfederman)\
**Post date:** [May 15, 2020, 4:57pm UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522/2 "2020-05-15T16:57:14Z")

</div>

Does ’ rosrun rviz rviz ’ work?

While Rviz will run on a Pi, most people run it on a workstation.

LibEGL is more likely a display issue.

---

<div class="post-metadata">

**Author:** ![msfarhan123456](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/m/b9e5f3/32.png) [@msfarhan123456](https://forum.ubiquityrobotics.com/u/msfarhan123456)\
**Post date:** [May 16, 2020, 4:27am UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522/3 "2020-05-16T04:27:35Z")

</div>

rosrun rviz rviz is not working ,  
LibeGL how to solve that ? do you have any idea ?

---

<div class="post-metadata">

**Author:** ![rohbotics](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/rohbotics/32/222_2.png) [@rohbotics](https://forum.ubiquityrobotics.com/u/rohbotics)\
**Post date:** [May 16, 2020, 11:05pm UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522/4 "2020-05-16T23:05:56Z")

</div>

Hey @msfarhan123456, can you please post the entire output of rviz when you try to launch it?

What image are you using for the Pi? That screenshot doesn’t look like our image, which uses LXDE.

---

<div class="post-metadata">

**Author:** ![msfarhan123456](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/m/b9e5f3/32.png) [@msfarhan123456](https://forum.ubiquityrobotics.com/u/msfarhan123456)\
**Post date:** [May 18, 2020, 4:56am UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522/5 "2020-05-18T04:56:13Z")

</div>

Hey

i can launch rviz from `rosrun rviz rviz` it will open empty

but if i launch using my files like `roslaunch slam display.launch` with stl files in it  
im getting error like this

 ![rvizerror](https://frm.ubiquityrobotics.com/uploads/default/original/1X/4457940825afe86e2c335e70ad994c9527c962b9.png)

and also im trying to achieve to load rviz in x11vnc for giving access to people who are in remote places .

a help will be apprecitated .  
Thanking you  
m s farhan

---

<div class="post-metadata">

**Author:** ![Insaan12](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/i/f17d59/32.png) [@Insaan12](https://forum.ubiquityrobotics.com/u/Insaan12)\
**Post date:** [June 1, 2022, 7:36pm UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522/6 "2022-06-01T19:36:57Z")

</div>

Pls help me also on this topic if it is resolved.

---

<div class="post-metadata">

**Author:** ![Insaan12](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/i/f17d59/32.png) [@Insaan12](https://forum.ubiquityrobotics.com/u/Insaan12)\
**Post date:** [June 1, 2022, 7:37pm UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522/7 "2022-06-01T19:37:46Z")

</div>

I am also stuck on this point and I have to submit my final year project.

---

<div class="post-metadata">

**Author:** ![Insaan12](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/i/f17d59/32.png) [@Insaan12](https://forum.ubiquityrobotics.com/u/Insaan12)\
**Post date:** [June 1, 2022, 7:38pm UTC](https://forum.ubiquityrobotics.com/t/libegl-warning-dri2-failed-to-authenticate-while-launching-rviz/522/8 "2022-06-01T19:38:50Z")

</div>

@msfarhan123456 @rohbotics
