Coder Social home page Coder Social logo

nvidia-docker-novnc's Issues

Unable to open display message from run.sh

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!

How to setup network / url access to instance correctly?

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?

Setup.sh running problem

Hi, friend! Thanks for your brilliant job first. But I have encountered several problem when running setup.sh. Could you please help me?
I run exactly the same hardware settings and software settings but problems occurs.
30c8dc92-0b9b-4f10-94db-2b93223f72fd
Problem may caused by errors in previous steps as follows: (I am not sure)
bc54ebed-cd68-4323-9791-7192fc0ff747
5c263beb-a80f-4e93-a3e1-6154cd20c4d8
a6e9ad2a-aea7-47f6-a901-28442efd119f
c6a6b267-82b6-41ff-9dd2-af842e561ca2
c0002720-0343-41e5-a1ba-72fee29195dc
66176792-435b-45a4-817a-f6b5e08de755
7a9f3d4e-1e70-4eff-a6b7-d9f9866f8915
cb49d579-edce-45c2-b94c-0609c954cc0a
95694e26-0952-4a9d-9ade-2a97ba49def3
21cbe7a1-f863-474b-8da4-b88505e3346f
885cc353-22c9-4285-bdd2-18e31d81cfe5

How much disk space is needed?

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'

No protocol specified [VGL] ERROR: Could not open display :0.

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.

TurboVNC gray screen error

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.