首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Webvirtmgr和novnc:在Ubuntu 14.04 LTS上安装novnc后无法识别的服务

Webvirtmgr和novnc:在Ubuntu 14.04 LTS上安装novnc后无法识别的服务
EN

Stack Overflow用户
提问于 2015-04-10 19:59:05
回答 1查看 2.1K关注 0票数 0

我似乎不明白为什么novnc不能工作。我已经使用指南here安装了它

代码语言:javascript
复制
apt-get install novnc
service novnc stop
novnc: unrecognized service

#updatedb && locate novnc
/root/webvirtmgr/conf/conf.d/webvirtmgr-novnc
/root/webvirtmgr/conf/initd/webvirtmgr-novnc-arch
/root/webvirtmgr/conf/initd/webvirtmgr-novnc-gentoo
/root/webvirtmgr/conf/initd/webvirtmgr-novnc-redhat
/root/webvirtmgr/conf/initd/webvirtmgr-novnc-suse
/root/webvirtmgr/conf/initd/webvirtmgr-novnc-ubuntu
/root/webvirtmgr/static/js/novnc
/root/webvirtmgr/static/js/novnc/Orbitron700.ttf
/root/webvirtmgr/static/js/novnc/Orbitron700.woff
/root/webvirtmgr/static/js/novnc/base.css
/root/webvirtmgr/static/js/novnc/base64.js
/root/webvirtmgr/static/js/novnc/black.css
/root/webvirtmgr/static/js/novnc/blue.css
/root/webvirtmgr/static/js/novnc/chrome-app
/root/webvirtmgr/static/js/novnc/des.js
/root/webvirtmgr/static/js/novnc/display.js
/root/webvirtmgr/static/js/novnc/input.js
/root/webvirtmgr/static/js/novnc/jsunzip.js
/root/webvirtmgr/static/js/novnc/logo.js
/root/webvirtmgr/static/js/novnc/playback.js
/root/webvirtmgr/static/js/novnc/rfb.js
/root/webvirtmgr/static/js/novnc/ui.js
/root/webvirtmgr/static/js/novnc/util.js
/root/webvirtmgr/static/js/novnc/web-socket-js
/root/webvirtmgr/static/js/novnc/websock.js
/root/webvirtmgr/static/js/novnc/webutil.js
/root/webvirtmgr/static/js/novnc/chrome-app/tcp-client.js
/root/webvirtmgr/static/js/novnc/web-socket-js/README.txt
/root/webvirtmgr/static/js/novnc/web-socket-js/WebSocketMain.swf
/root/webvirtmgr/static/js/novnc/web-socket-js/swfobject.js
/root/webvirtmgr/static/js/novnc/web-socket-js/web_socket.js
/usr/lib/python2.7/dist-packages/novnc
/usr/lib/python2.7/dist-packages/python_novnc-0.4_dfsg_1_20130425_git4973b9cc80.egg-info
/usr/lib/python2.7/dist-packages/nova/cmd/novnc.py
/usr/lib/python2.7/dist-packages/nova/cmd/novnc.pyc
/usr/lib/python2.7/dist-packages/nova/cmd/novncproxy.py
/usr/lib/python2.7/dist-packages/nova/cmd/novncproxy.pyc
/usr/lib/python2.7/dist-packages/novnc/__init__.py
/usr/lib/python2.7/dist-packages/novnc/__init__.pyc
/usr/lib/python2.7/dist-packages/novnc/img2js.py
/usr/lib/python2.7/dist-packages/novnc/img2js.pyc
/usr/lib/python2.7/dist-packages/novnc/json2graph.py
/usr/lib/python2.7/dist-packages/novnc/json2graph.pyc
/usr/lib/python2.7/dist-packages/novnc/web.py
/usr/lib/python2.7/dist-packages/novnc/web.pyc
/usr/lib/python2.7/dist-packages/novnc/websocket.py
/usr/lib/python2.7/dist-packages/novnc/websocket.pyc
/usr/lib/python2.7/dist-packages/novnc/websockify.py
/usr/lib/python2.7/dist-packages/novnc/websockify.pyc
/usr/lib/python2.7/dist-packages/novnc/wsproxy.py
/usr/lib/python2.7/dist-packages/novnc/wsproxy.pyc
/usr/share/novnc
/usr/share/doc/novnc
/usr/share/doc/python-novnc
/usr/share/doc/novnc/LICENSE.txt
/usr/share/doc/novnc/README.md.gz
/usr/share/doc/novnc/changelog.Debian.gz
/usr/share/doc/novnc/copyright
/usr/share/doc/python-novnc/changelog.Debian.gz
/usr/share/doc/python-novnc/copyright
/usr/share/novnc/favicon.ico
/usr/share/novnc/images
/usr/share/novnc/include
/usr/share/novnc/vnc.html
/usr/share/novnc/vnc_auto.html
/usr/share/novnc/images/clipboard.png
/usr/share/novnc/images/connect.png
/usr/share/novnc/images/ctrlaltdel.png
/usr/share/novnc/images/disconnect.png
/usr/share/novnc/images/drag.png
/usr/share/novnc/images/favicon.ico
/usr/share/novnc/images/favicon.png
/usr/share/novnc/images/keyboard.png
/usr/share/novnc/images/mouse_left.png
/usr/share/novnc/images/mouse_middle.png
/usr/share/novnc/images/mouse_none.png
/usr/share/novnc/images/mouse_right.png
/usr/share/novnc/images/screen_320x460.png
/usr/share/novnc/images/screen_57x57.png
/usr/share/novnc/images/screen_700x700.png
/usr/share/novnc/images/settings.png
/usr/share/novnc/include/base.css
/usr/share/novnc/include/base64.js
/usr/share/novnc/include/black.css
/usr/share/novnc/include/blue.css
/usr/share/novnc/include/des.js
/usr/share/novnc/include/display.js
/usr/share/novnc/include/input.js
/usr/share/novnc/include/jsunzip.js
/usr/share/novnc/include/logo.js
/usr/share/novnc/include/playback.js
/usr/share/novnc/include/rfb.js
/usr/share/novnc/include/ui.js
/usr/share/novnc/include/util.js
/usr/share/novnc/include/web-socket-js
/usr/share/novnc/include/websock.js
/usr/share/novnc/include/webutil.js
/usr/share/novnc/include/web-socket-js/README.txt
/usr/share/novnc/include/web-socket-js/swfobject.js
/usr/share/novnc/include/web-socket-js/web_socket.js
/var/cache/apt/archives/nova-novncproxy_1%3a2014.1.3-0ubuntu2_all.deb
/var/cache/apt/archives/novnc_1%3a0.4+dfsg+1+20131010+gitf68af8af3d-2_all.deb
/var/cache/apt/archives/python-novnc_1%3a0.4+dfsg+1+20131010+gitf68af8af3d-2_all.deb
/var/lib/dpkg/info/novnc.list
/var/lib/dpkg/info/novnc.md5sums
/var/lib/dpkg/info/novnc.postinst
/var/lib/dpkg/info/python-novnc.list
/var/lib/dpkg/info/python-novnc.md5sums
/var/lib/dpkg/info/python-novnc.postinst
/var/lib/dpkg/info/python-novnc.prerm
/var/log/upstart/nova-novncproxy.log
/var/www/static/js/novnc
/var/www/static/js/novnc/Orbitron700.ttf
/var/www/static/js/novnc/Orbitron700.woff
/var/www/static/js/novnc/base.css
/var/www/static/js/novnc/base64.js
/var/www/static/js/novnc/black.css
/var/www/static/js/novnc/blue.css
/var/www/static/js/novnc/chrome-app
/var/www/static/js/novnc/des.js
/var/www/static/js/novnc/display.js
/var/www/static/js/novnc/input.js
/var/www/static/js/novnc/jsunzip.js
/var/www/static/js/novnc/logo.js
/var/www/static/js/novnc/playback.js
/var/www/static/js/novnc/rfb.js
/var/www/static/js/novnc/ui.js
/var/www/static/js/novnc/util.js
/var/www/static/js/novnc/web-socket-js
/var/www/static/js/novnc/websock.js
/var/www/static/js/novnc/webutil.js
/var/www/static/js/novnc/chrome-app/tcp-client.js
/var/www/static/js/novnc/web-socket-js/README.txt
/var/www/static/js/novnc/web-socket-js/WebSocketMain.swf
/var/www/static/js/novnc/web-socket-js/swfobject.js
/var/www/static/js/novnc/web-socket-js/web_socket.js
EN

回答 1

Stack Overflow用户

发布于 2015-04-20 05:41:23

Ubuntu包似乎没有提供启动脚本/etc/init.d/novnc。您可以从Debian包中下载web虚拟管理器novnc启动脚本,如下所示:

代码语言:javascript
复制
cd /etc/init.d/
wget https://raw.githubusercontent.com/retspen/webvirtmgr/master/conf/initd/webvirtmgr-novnc-ubuntu
mv webvirtmgr-novnc-ubuntu novnc
sudo chmod +x novnc

然后就可以运行service novnc start|stop|status|restart|force-reload了。

(我看到你在/root/webvirtmgr/conf/initd/webvirtmgr-novnc-ubuntu.)上也有这个文件

这就是我今天对这个世界的深入探讨,我希望它能对你有进一步的帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29560872

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档