本文主要是介绍Ubuntu切换账号出现错误MoTTY X11 proxy: Unsupported authorisation protocol,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Ubuntu普通账号切换到root账号运行程序出现了
MoTTY X11 proxy: Unsupported authorisation protocol
qt.qpa.screen: QXcbConnection: Could not connect to display localhost:10.0
Could not connect to any X display.的问题
解决方法:
cp /home/openailab/.Xauthority /root/.Xauthority
执行上面命令后可能会出现普通账号ssh权限、若ubuntu界面登录只有普通账号,可能还会出现黑屏情况,解决方法:
root账号ssh远程登录
chmod -R 755 /bin
若还是无法进入图像界面,重新安装NVIDIA-Linux-x86_64-535.98.run
这篇关于Ubuntu切换账号出现错误MoTTY X11 proxy: Unsupported authorisation protocol的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!