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 用戶身份運行,而不是以普通用戶身份運行。

相關內容