# Anki won't start on Ubuntu 24.04 LTS

**URL:** <https://forums.ankiweb.net/t/anki-wont-start-on-ubuntu-24-04-lts/44773>\
**Category:** Help\
**Created:** [May 14, 2024, 9:32am UTC](https://forums.ankiweb.net/t/anki-wont-start-on-ubuntu-24-04-lts/44773 "2024-05-14T09:32:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mewloch](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@mewloch](https://forums.ankiweb.net/u/mewloch)\
**Post date:** [May 14, 2024, 9:32am UTC](https://forums.ankiweb.net/t/anki-wont-start-on-ubuntu-24-04-lts/44773/1 "2024-05-14T09:32:35Z")

</div>

Hello everyone! My OS i Ubuntu 24.04 LTS and after installing Anki, it’s impossible to launch it because of thie error(s):

```auto
**Anki starting...**
 **Initial setup...**
 **Preparing to run...**
 **File "<string>", line 1, in <module>**
 **File "aqt", line 519, in run**
 **File "aqt", line 592, in _run**
 **File "aqt.profiles", line 139, in setupMeta**
 **File "aqt.profiles", line 424, in _loadMeta**
 **resetting corrupt _global**
 **Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix**
 **Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.**
 **Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found.**
 **Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.**

**Available platform plugins are: wayland, linuxfb, minimalegl, eglfs, xcb, offscreen, wayland-egl, vkkhrdisplay, vnc, minimal.**
 ****
**Annullato (core dump creato)**

I tried with:
*sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0*
*kernel.apparmor_restrict_unprivileged_userns = 0*

but it doesn't work...

Thanks for your help!

ME

```

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [May 14, 2024, 2:29pm UTC](https://forums.ankiweb.net/t/anki-wont-start-on-ubuntu-24-04-lts/44773/2 "2024-05-14T14:29:35Z")

</div>

[https://docs.ankiweb.net/platform/linux/missing-libraries.html](https://docs.ankiweb.net/platform/linux/missing-libraries.html)

---

<div class="post-metadata">

**Author:** ![jorgen23](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jorgen23](https://forums.ankiweb.net/u/jorgen23)\
**Post date:** [May 27, 2024, 12:48pm UTC](https://forums.ankiweb.net/t/anki-wont-start-on-ubuntu-24-04-lts/44773/3 "2024-05-27T12:48:21Z")

</div>

Hola a mi me funciono, instalandola de la siguiente forma pero usando  
anki-24.04.1-linux-qt5.tar.zst instalando este funciona con QT5  
espero haberte ayudado a mi me funciono

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [June 26, 2024, 12:48pm UTC](https://forums.ankiweb.net/t/anki-wont-start-on-ubuntu-24-04-lts/44773/4 "2024-06-26T12:48:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
