。
大家好。
我无法启动 cool-retro-term 模拟器。终端输出如下:
cool-retro-term
Qt: Session management error: Authentication Rejected, reason : None
of the authentication protocols specified are supported and host-based
authentication failed
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
libGL error: MESA-LOADER: failed to retrieve device information
default KB_LAYOUT_DIR: "/snap/cool-retro-term/32/usr/lib/x86_64-
linux-gnu/qt5/qml/QMLTermWidget/kb-layouts"
QObject::connect: No such slot
Konsole::TerminalDisplay_QML_135::close()
loadAllColorSchemes
Session::run() - program: "/bin/bash"
Session::run() - arguments: ("")
started!
Both point size and pixel size set. Using pixel size.
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
QOpenGLShader: could not create shader
Fragment shader for simpleShaderProg (MainFragmentShader &
ShockingPinkSrcFragmentShader) failed to compile
QOpenGLShader: could not create shader
Fragment shader for blitShaderProg (MainFragmentShader &
ImageSrcFragmentShader) failed to compile
QOpenGLShader: could not create shader
Warning: "" failed to compile!
Segmentation fault (core dumped)
sudo cool-retro-term
mkdir: cannot create directory '/run/user/0': Permission denied
No protocol specified
QXcbConnection: Could not connect to display :0.0
Aborted
如果您对如何解决此问题有任何想法,请分享。我们将不胜感激。
我使用最新的 Xubuntu。
答案1
如果你已经使用 snap 安装,请尝试使用开发模式和最新的边缘构建。
sudo snap refresh cool-retro-term --devmode --edge
然后您就可以不使用 sudo 来运行,即
cool-retro-term
如果您没有通过 snap 安装,请手动卸载它,然后使用 snap 安装:
sudo snap install cool-retro-term --devmode --edge