当前位置:   article > 正文

解决麒麟系统VNC黑屏_failed to open alsa control for default

failed to open alsa control for default

查看日志

[root@host-172-16-16-234 ~]# tail -f /root/.vnc/host-172-16-16-234:2.log
Mon Dec 27 15:15:56 2021
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5902
 vncext:      created VNC server for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
Errors from xkbcomp are not fatal to the X server
/root/.vnc/xstartup:行5: /usr/bin/mate-session: 没有那个文件或目录
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

处理问题

安装缺失的组件

yum install mate-session-manager.aarch64 mate-desktop.aarch64 -y
  • 1

赋权

chmod 777 /root/.vnc/xstartup 
  • 1

重启服务

systemctl restart vncserver@\:1.service
  • 1

启动服务

vncserver 
  • 1

查看日志


[root@host-172-16-16-234 ~]# tail -f /root/.vnc/host-172-16-16-234:3.log

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:07.944: Failed to open ALSA control for default: 没有那个文件或目录

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:08.944: Failed to open ALSA control for default: 没有那个文件或目录

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:09.944: Failed to open ALSA control for default: 没有那个文件或目录

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:10.944: Failed to open ALSA control for default: 没有那个文件或目录

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:11.944: Failed to open ALSA control for default: 没有那个文件或目录

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:12.944: Failed to open ALSA control for default: 没有那个文件或目录

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:13.944: Failed to open ALSA control for default: 没有那个文件或目录

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:14.944: Failed to open ALSA control for default: 没有那个文件或目录

(mate-settings-daemon:5548): libmatemixer-alsa-WARNING **: 15:44:15.944: Failed to open ALSA control for default: 没有那个文件或目录
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20

连接测试

连接成功,只是鼠标形状有个小黑点,其他正常

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/661083
推荐阅读
相关标签
  

闽ICP备14008679号