博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
docker-ubuntu-vnc-desktop
阅读量:4082 次
发布时间:2019-05-25

本文共 1150 字,大约阅读时间需要 3 分钟。

根据我这篇博文找到的

docker-ubuntu-vnc-desktop

 

Docker image to provide HTML5 VNC interface to access ROS kinetic on Ubuntu 16.04 with the LXDE desktop environment.

Quick Start

Run the docker image and open port 6080

docker run -it --rm -p 6080:80 ct2034/vnc-ros-kinetic-full

Browse

 

Connect with VNC Viewer and protect by VNC Password

Forward VNC service port 5900 to host by

docker run -it --rm -p 6080:80 -p 5900:5900 ct2034/vnc-ros-kinetic-full

Now, open the vnc viewer and connect to port 5900. If you would like to protect vnc service by password, set environment variable VNC_PASSWORD, for example

docker run -it --rm -p 6080:80 -p 5900:5900 -e VNC_PASSWORD=mypassword ct2034/vnc-ros-kinetic-full

A prompt will ask password either in the browser or vnc viewer.

Mount directory

Mount host directory to docker using

docker run -v 
:/mnt/ -it --rm -p 6080:80 ct2034/vnc-ros-kinetic-full

Troubleshooting and FAQ

  1. boot2docker connection issue,
  2. Screen resolution is fitted to browser's window size when first connecting to the desktop. If you would like to change resolution, you have to re-create the container

License

See the LICENSE file for details.

转载地址:http://tgmni.baihongyu.com/

你可能感兴趣的文章
MODULE_DEVICE_TABLE的理解
查看>>
platform_device与platform_driver
查看>>
platform_driver平台驱动注册和注销过程(下)
查看>>
.net强制退出主窗口的方法——Application.Exit()方法和Environment.Exit(0)方法
查看>>
c# 如何调用win8自带的屏幕键盘(非osk.exe)
查看>>
build/envsetup.sh 简介
查看>>
Android framework中修改或者添加资源无变化或编译不通过问题详解
查看>>
linux怎么切换到root里面?
查看>>
linux串口操作及设置详解
查看>>
安装alien,DEB与RPM互换
查看>>
编译Android4.0源码时常见错误及解决办法
查看>>
Android 源码编译make的错误处理
查看>>
linux环境下C语言中sleep的问题
查看>>
ubuntu 12.04 安装 GMA3650驱动
查看>>
新版本的linux如何生成xorg.conf
查看>>
xorg.conf的编写
查看>>
启用SELinux时遇到的问题
查看>>
virbr0 虚拟网卡卸载方法
查看>>
No devices detected. Fatal server error: no screens found
查看>>
新版本的linux如何生成xorg.conf
查看>>