willkessler / nvidia-docker-novnc Goto Github PK
View Code? Open in Web Editor NEWHow to build a GPU-powered Lubuntu desktop in the cloud
License: MIT License
How to build a GPU-powered Lubuntu desktop in the cloud
License: MIT License
I'm unable to run gazebo
and rosrun rviz rviz
from Terminator because of a display error.
root@2a24d5d302e1:~/my_project/catkin_ws# gazebo
No protocol specified
[VGL] ERROR: Could not open display :0.
No protocol specified
[VGL] ERROR: Could not open display :0.
root@2a24d5d302e1:~/my_project/catkin_ws# rosrun rviz rviz
No protocol specified
[VGL] ERROR: Could not open display :0.
Hello Folks,
When I execute the run.sh script, I see the following output:
root@ip-192-168-0-37:/home/ubuntu/nvidia-docker-novnc# ./run.sh
+ chmod -f 777 /tmp/.X11-unix
+ touch /root/.Xauthority
+ xauth generate :0 . trusted
No protocol specified
xauth: (argv):1: unable to open display ":0".
When I docker exec to the running container, the lightdm service cannot start.
Has anyone else run into this? If so, how did you solve it? Thanks!
I started the following GCP instance but seem to run out of disk space. I would love for this to be part of the readme!
The instance has 10GB of disk space.
Error:
Unpacking gconf2-common (3.2.6-3ubuntu6) ...
dpkg: unrecoverable fatal error, aborting:
unable to flush /var/lib/dpkg/updates/tmp.i after padding: No space left on device
E: Sub-process /usr/bin/dpkg returned an error code (2)
The command '/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl wget emacs vim less sudo lsof net-tools git htop gedit gedit-plugins unzip zip psmisc xz-utils libglib2.0-0 libxext6 libsm6 libxrender1 libpython-dev libsuitesparse-dev libeigen3-dev libsdl1.2-dev doxygen graphviz libignition-math2-dev gcc libc6-dev libglu1 libglu1:i386 libxv1 libxv1:i386 lubuntu-desktop xvfb xterm terminator zenity mesa-utils make cmake python python-numpy x11-xkb-utils xauth xfonts-base xkb-data && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
How I started the instance:
$ gcloud compute instances create gpu-gazebo \
> --machine-type n1-standard-8 --zone us-central1-c \
> --accelerator type=nvidia-tesla-k80,count=1 \
> --image-family ubuntu-1604-lts --image-project ubuntu-os-cloud \
> --maintenance-policy TERMINATE --restart-on-failure \
> --metadata startup-script='#!/bin/bash
> echo "Checking for CUDA and installing."
> # Check for CUDA and try to install.
> if ! dpkg-query -W cuda-8-0; then
> curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
> dpkg -i ./cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
> apt-get update
> apt-get install cuda-8-0 -y
> fi'
It would be great to have documentation in the README. that refers to how networking should be setup to the instance.
When executing /run.sh
, the output ends in something like this:
Navigate to this URL:
http://5e1e573deXYZ:40001/vnc.html?host=5e1e573deXYZ&port=40001
On google cloud, does one just open port 40001 and access the external IP address, like actually navigating to http://216.3.128.12:40001/vnc.html?host=216.3.128.12&port=40001
(just an example)?
Or is url mapping needed?
Hello, I know this repo was created a few years ago. I was able to successfully build the image and run it. However I am not sure why I am getting a gray screen. I did have to comment out Light-locker and Xfce-power manager due to errors. It looks like those two are not compatible with current Ubuntu 20.04. I would like to run this on Ubuntu 20.04. Any ideas on how I can go about this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.