首页 > 其他 > 详细

docker 桌面镜像内安装gui程序启动报错

时间:2020-08-14 16:13:57      阅读:113      评论:0      收藏:0      [点我收藏+]

jupyter notebook出现报错:OSError: [Errno 99] Cannot assign requested address

   解决:添加参数,--ip=0.0.0.0 --allow-root

   报错:端口占用 8888

   解决:lsof -i:8888      kill -9 pid 即可

   或者:    

           输入 jupyter notebook --generate-config

           在提示的文件路径找到 generate-config.py文件

           在文件中搜索 port ,将默认端口进行更改 比如8889

           重启

    总结:对jupyter进行配置即可

./code出现报错:5822:0812/071846.227498:FATAL:atom_main_delegate.cc(223)] Running as root without --no-sandbox is not supported.                                                                          Seehttps://crbug.com/638180.Trace/breakpoint trap (core dumped)

    解决:添加参数:--no-sandbox

    又出现报错:You are trying to start Visual Studio Code as a super user which isn‘t recommended. If this was intended, please specify an alternate user data                                       directory using the `--user-data-dir` argument.

    解决:/root/zz/VSCode-linux-x64/bin/code . --user-data-dir=‘.‘

    即可!

 

cmake 出现报错:-- The C compiler identification is unknown -- The CXX compiler identificati

    解决:   安装gcc, g++, make等编译器

                 apt install build-essential

docker 桌面镜像内安装gui程序启动报错

原文:https://www.cnblogs.com/yu121/p/13502294.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!