9

【踩坑】Docker容器中启动VNC服务端报错

 2 years ago
source link: https://blog.loli.fj.cn/2023/04/30/Docker%E5%AE%B9%E5%99%A8%E4%B8%AD%E5%90%AF%E5%8A%A8VNC%E6%9C%8D%E5%8A%A1%E7%AB%AF%E6%8A%A5%E9%94%99/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

【踩坑】Docker容器中启动VNC服务端报错

2023-04-30

Docker容器中启动VNC服务端报错:vncserver: The USER environment variable is not set.

  • 环境变量中没有指定登陆的用户名
  • 环境遍历变量指定登陆的用户名

root:自定义VNC登陆的用户名

export USER=root
  • 首次启动时会要求设置登陆密码

开源博客——zli_

</article


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK