TexStudio 仅在 ArchLinux 中以 root 身份运行

TexStudio 仅在 ArchLinux 中以 root 身份运行

我已经在 Arco Linux 中使用 pacman 和 i3wm 安装了 texstudio

sudo pacman -S texstudio

后来,当我尝试从 rofi 打开它时,它没有启动,所以我尝试从终端打开它,并得到了以下输出:

➜  ~ texstudio
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: offscreen, wayland-egl, xcb, eglfs, vnc, minimal, minimalegl, linuxfb, wayland, vkkhrdisplay.

[1]    89919 IOT instruction (core dumped)  texstudio

但当我这样做时sudo texstudio 它正常工作

➜  ~ sudo texstudio
QApplication: invalid style override 'kvantum' passed, ignoring it.
    Available styles: Windows, Fusion
qt.xkb.compose: failed to create compose table

我哪里做错了?

我正在尝试在 ArcoLinux 中运行 texstudio,但它只能以 root 用户身份运行,而不是以普通用户身份运行。

相关内容