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

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值