GithubHelp home page GithubHelp logo

Comments (2)

jeremyjjbrown avatar jeremyjjbrown commented on July 2, 2024

Actually it looks like it's not listening in the container.

  docker run --rm -p 8083:8083 -ti --name arch-i3-novnc -e DISPLAY=:0.0 fennerm/arch-i3-novnc:latest bash
[root@9757685575b6 user]# supervisor &
[1] 7
bash: supervisor: command not found
[root@9757685575b6 user]# supervisord &
[2] 8
[1]   Exit 127                supervisor
[root@9757685575b6 user]# /usr/lib/python2.7/site-packages/supervisor/options.py:461: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2021-05-20 14:27:29,118 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2021-05-20 14:27:29,124 INFO supervisord started with pid 8
2021-05-20 14:27:30,129 INFO spawned: 'X11' with pid 11
2021-05-20 14:27:30,133 INFO spawned: 'i3' with pid 12
2021-05-20 14:27:30,135 INFO spawned: 'x11vnc' with pid 13
2021-05-20 14:27:30,138 INFO spawned: 'noVNC' with pid 14
2021-05-20 14:27:31,167 INFO success: X11 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-20 14:27:31,167 INFO success: i3 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-20 14:27:31,167 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-20 14:27:31,167 INFO success: noVNC entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

[root@9757685575b6 user]# telnet localhost 8083
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

[root@9757685575b6 user]# ps -ef
UID          PID    PPID  C STIME TTY          TIME CMD
root           1       0  0 14:27 pts/0    00:00:00 bash
root           8       1  0 14:27 pts/0    00:00:00 /usr/bin/python2 /usr/sbin/supervis
root          11       8  0 14:27 pts/0    00:00:00 /usr/bin/Xvfb :0 -screen 0 1024x768
root          12       8  0 14:27 pts/0    00:00:00 /usr/bin/i3
root          13       8  0 14:27 pts/0    00:00:00 /usr/bin/x11vnc
root          14       8  0 14:27 pts/0    00:00:00 bash /usr/share/noVNC/utils/launch.
root          23      14  0 14:27 pts/0    00:00:00 python /usr/share/noVNC/utils/webso
root          35       1  0 14:27 ?        00:00:00 i3-config-wizard
root          37       1  0 14:27 ?        00:00:00 i3bar --bar_id=bar-0 --socket=/tmp/
root          51       1  0 14:37 pts/0    00:00:00 ps -ef

This might be useful.

[root@9757685575b6 user]# netstat -vat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:rfb             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:us-srv          0.0.0.0:*               LISTEN
tcp6       0      0 [::]:rfb                [::]:*                  LISTEN

from arch-i3-novnc-docker.

jeremyjjbrown avatar jeremyjjbrown commented on July 2, 2024

works on a different machine.

from arch-i3-novnc-docker.

Related Issues (2)

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.