1、mobaXterm远程用root用户打开图形化界面报错,但普通用户不报错:
root@lzy-virtual-machine:/opt/Qt5.12.9/Tools/QtCreator/bin# qtcreator
MoTTY X11 proxy: Unsupported authorisation protocol
qt.qpa.xcb: could not connect to display localhost:10.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" 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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted (core dumped)
解决:sudo cp /home/lzy/.Xauthority /root/