DesktopContainers / easytag

X11 App: easytag (audio file tagging application) [x86 + arm]
2 stars 0 forks source link

Blank screen after connecting #2

Closed Daniel15 closed 3 years ago

Daniel15 commented 3 years ago

I tried running this container using:

docker run --name=easytag -d --rm -p 10.123.1.42:5800:80 -v /var/local/music_unsorted:/rips:rw desktopcontainers/easytag

But after I connect, I just see a blank screen: image

Log:

################################################################################

Welcome to the desktopcontainers/base-alpine

################################################################################

>> CONTAINER: starting initialisation
>> CONTAINER: generating server tls certs (/certs/localhost.[key|crt])
Generating a RSA private key
..............................................................................++++
.......................................++++
writing new private key to '/certs/localhost.key'
-----
>> CONTAINER: openssh sshd config
Generating public/private rsa key pair.
Your identification has been saved in /certs/ssh_host_rsa_key
Your public key has been saved in /certs/ssh_host_rsa_key.pub
The key fingerprint is:
SHA256:JMwYpAqVOQOji9vtx69AjPVDEDhVoQogFGjbSUgiaiE root@c077db5548ea
The key's randomart image is:
+---[RSA 4096]----+
|E*+**oo.         |
|X=Oo B           |
|*.=+= = .        |
|+= B o o         |
|+ o o o S        |
| o o   .         |
|. . o.           |
|   . .o          |
|    ...o.        |
+----[SHA256]-----+
>> CONTAINER: remove sudo from container
>> CMD: exec docker CMD
runsvdir -P /container/config/runit
###############################################################
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
#@                                                           @#
#@  **  WARNING  **  WARNING  **  WARNING  **  WARNING  **   @#
#@                                                           @#
#@        YOU ARE RUNNING X11VNC WITHOUT A PASSWORD!!        @#
#@                                                           @#
#@  This means anyone with network access to this computer   @#
#@  may be able to view and control your desktop.            @#
#@                                                           @#
#@ >>> If you did not mean to do this Press CTRL-C now!! <<< @#
#@                                                           @#
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
Proxy vnc_frontend started.
Proxy vnc_backend started.
Proxy http_frontend started.
Proxy http_backend started.
Proxy https_frontend started.
Proxy https_backend started.
#@                                                           @#
#@  You can create an x11vnc password file by running:       @#
#@                                                           @#
#@       x11vnc -storepasswd password /path/to/passfile      @#
#@  or   x11vnc -storepasswd /path/to/passfile               @#
#@  or   x11vnc -storepasswd                                 @#
#@                                                           @#
#@  (the last one will use ~/.vnc/passwd)                    @#
#@                                                           @#
#@  and then starting x11vnc via:                            @#
#@                                                           @#
#@      x11vnc -rfbauth /path/to/passfile                    @#
#@                                                           @#
#@  an existing ~/.vnc/passwd file from another VNC          @#
#@  application will work fine too.                          @#
#@                                                           @#
#@  You can also use the -passwdfile or -passwd options.     @#
#@  (note -passwd is unsafe if local users are not trusted)  @#
#@                                                           @#
#@  Make sure any -rfbauth and -passwdfile password files    @#
#@  cannot be read by untrusted users.                       @#
#@                                                           @#
#@  Use x11vnc -usepw to automatically use your              @#
#@  ~/.vnc/passwd or ~/.vnc/passwdfile password files.       @#
#@  (and prompt you to create ~/.vnc/passwd if neither       @#
#@  file exists.)  Under -usepw, x11vnc will exit if it      @#
#@  cannot find a password to use.                           @#
#@                                                           @#
#@                                                           @#
#@  Even with a password, the subsequent VNC traffic is      @#
#@  sent in the clear.  Consider tunnelling via ssh(1):      @#
#@                                                           @#
#@    http://www.karlrunge.com/x11vnc/#tunnelling            @#
#@                                                           @#
#@  Or using the x11vnc SSL options: -ssl and -stunnel       @#
#@                                                           @#
#@  Please Read the documention for more info about          @#
#@  passwords, security, and encryption.                     @#
#@                                                           @#
#@    http://www.karlrunge.com/x11vnc/faq.html#faq-passwd    @#
#@                                                           @#
#@  You are using the -localhost option and that is a good   @#
#@  thing!! Especially if you ssh(1) into this machine and   @#
#@  use port redirection.  Nevertheless, without a password  @#
#@  other users could possibly do redirection as well to     @#
#@  gain access to your desktop.                             @#
#@                                                           @#
#@  To disable this warning use the -nopw option, or put     @#
#@  'nopw' on a line in your ~/.x11vncrc file.               @#
#@                                                           @#
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
###############################################################
WebSocket server settings:
  - Listen on :4443
  - Web server. Web root: /novnc
WebSocket server settings:
  - Listen on :8080
  - Web server. Web root: /novnc
  - No SSL/TLS support (no cert file)
  - SSL/TLS support
  - Deny non-SSL/TLS connections
  - proxying from :4443 to localhost:4900
  - proxying from :8080 to localhost:4900
12/01/2021 06:33:53 x11vnc version: 0.9.16 lastmod: 2019-01-05  pid: 31
12/01/2021 06:33:53 Using X display :0
12/01/2021 06:33:53 rootwin: 0x43 reswin: 0x400001 dpy: 0x371719e0
12/01/2021 06:33:53
12/01/2021 06:33:53 ------------------ USEFUL INFORMATION ------------------
12/01/2021 06:33:53 X DAMAGE available on display, using it for polling hints.
12/01/2021 06:33:53   To disable this behavior use: '-noxdamage'
12/01/2021 06:33:53
12/01/2021 06:33:53   Most compositing window managers like 'compiz' or 'beryl'
12/01/2021 06:33:53   cause X DAMAGE to fail, and so you may not see any screen
12/01/2021 06:33:53   updates via VNC.  Either disable 'compiz' (recommended) or
12/01/2021 06:33:53   supply the x11vnc '-noxdamage' command line option.
12/01/2021 06:33:53
12/01/2021 06:33:53 Wireframing: -wireframe mode is in effect for window moves.
12/01/2021 06:33:53   If this yields undesired behavior (poor response, painting
12/01/2021 06:33:53   errors, etc) it may be disabled:
12/01/2021 06:33:53    - use '-nowf' to disable wireframing completely.
12/01/2021 06:33:53    - use '-nowcr' to disable the Copy Rectangle after the
12/01/2021 06:33:53      moved window is released in the new position.
12/01/2021 06:33:53   Also see the -help entry for tuning parameters.
12/01/2021 06:33:53   You can press 3 Alt_L's (Left "Alt" key) in a row to
12/01/2021 06:33:53   repaint the screen, also see the -fixscreen option for
12/01/2021 06:33:53   periodic repaints.
12/01/2021 06:33:53
12/01/2021 06:33:53 XFIXES available on display, resetting cursor mode
12/01/2021 06:33:53   to: '-cursor most'.
12/01/2021 06:33:53   to disable this behavior use: '-cursor arrow'
12/01/2021 06:33:53   or '-noxfixes'.
12/01/2021 06:33:53 using XFIXES for cursor drawing.
12/01/2021 06:33:53 GrabServer control via XTEST.
12/01/2021 06:33:53
12/01/2021 06:33:53 Scroll Detection: -scrollcopyrect mode is in effect to
12/01/2021 06:33:53   use RECORD extension to try to detect scrolling windows
12/01/2021 06:33:53   (induced by either user keystroke or mouse input).
12/01/2021 06:33:53   If this yields undesired behavior (poor response, painting
12/01/2021 06:33:53   errors, etc) it may be disabled via: '-noscr'
12/01/2021 06:33:53   Also see the -help entry for tuning parameters.
12/01/2021 06:33:53   You can press 3 Alt_L's (Left "Alt" key) in a row to
12/01/2021 06:33:53   repaint the screen, also see the -fixscreen option for
12/01/2021 06:33:53   periodic repaints.
12/01/2021 06:33:53
12/01/2021 06:33:53 XKEYBOARD: number of keysyms per keycode 7 is greater
12/01/2021 06:33:53   than 4 and 51 keysyms are mapped above 4.
12/01/2021 06:33:53   Automatically switching to -xkb mode.
12/01/2021 06:33:53   If this makes the key mapping worse you can
12/01/2021 06:33:53   disable it with the "-noxkb" option.
12/01/2021 06:33:53   Also, remember "-remap DEAD" for accenting characters.
12/01/2021 06:33:53
12/01/2021 06:33:53 X FBPM extension not supported.
Xlib:  extension "DPMS" missing on display ":0".
12/01/2021 06:33:53 X display is not capable of DPMS.
12/01/2021 06:33:53 --------------------------------------------------------
12/01/2021 06:33:53
12/01/2021 06:33:53 Default visual ID: 0x21
12/01/2021 06:33:53 Read initial data from X display into framebuffer.
12/01/2021 06:33:53 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
12/01/2021 06:33:53
12/01/2021 06:33:53 X display :0 is 32bpp depth=24 true color
12/01/2021 06:33:53
12/01/2021 06:33:53 Listening for VNC connections on TCP port 4900
12/01/2021 06:33:53 rfbListenOnTCP6Port: error in bind IPv6 socket: Address not available
12/01/2021 06:33:53 listen6: bind: Address not available
12/01/2021 06:33:53 Not listening on IPv6 interface.
12/01/2021 06:33:53
12/01/2021 06:33:53 Xinerama is present and active (e.g. multi-head).
12/01/2021 06:33:53 Xinerama: number of sub-screens: 1
12/01/2021 06:33:53 Xinerama: no blackouts needed (only one sub-screen)
12/01/2021 06:33:53
12/01/2021 06:33:54 fb read rate: 487 MB/sec
12/01/2021 06:33:54 fast read: reset -wait  ms to: 10
12/01/2021 06:33:54 fast read: reset -defer ms to: 10
12/01/2021 06:33:54 The X server says there are 10 mouse buttons.
12/01/2021 06:33:54 screen setup finished.
12/01/2021 06:33:54
PORT=4900
12/01/2021 06:33:54 WARNING: You are running x11vnc WITHOUT a password.  See
12/01/2021 06:33:54 WARNING: the warning message printed above for more info.
12/01/2021 06:33:54

The VNC desktop is:      localhost:4900
12/01/2021 06:33:54 possible alias:    localhost::4900

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval.  It should work with any VNC viewer.  Try it by running:

    x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

/usr/local/bin/app: .: line 2: can't open '/etc/environment': No such file or directory
Connect from ::ffff:10.123.1.4:18062 to ::ffff:172.17.0.2:80 (http_frontend/TCP)
127.0.0.1 - - [12/Jan/2021 06:34:06] 127.0.0.1: Plain non-SSL (ws://) WebSocket connection
127.0.0.1 - - [12/Jan/2021 06:34:06] 127.0.0.1: Path: '/websockify'
127.0.0.1 - - [12/Jan/2021 06:34:06] connecting to: localhost:4900
12/01/2021 06:34:08 Got connection from client 127.0.0.1
12/01/2021 06:34:08   0 other clients
12/01/2021 06:34:08 Normal socket connection
12/01/2021 06:34:08 check_access: client 127.0.0.1 matches host 127.0.0.1
12/01/2021 06:34:08 Disabled X server key autorepeat.
12/01/2021 06:34:08   to force back on run: 'xset r on' (3 times)
12/01/2021 06:34:08 incr accepted_client=1 for 127.0.0.1:59212  sock=9
12/01/2021 06:34:08 Client Protocol Version 3.8
12/01/2021 06:34:08 Protocol version sent 3.8, using 3.8
12/01/2021 06:34:08 rfbProcessClientSecurityType: executing handler for type 1
12/01/2021 06:34:08 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
12/01/2021 06:34:08 Pixel format for client 127.0.0.1:
12/01/2021 06:34:08   32 bpp, depth 24, little endian
12/01/2021 06:34:08   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
12/01/2021 06:34:08 no translation needed
12/01/2021 06:34:08 Using image quality level 6 for client 127.0.0.1
12/01/2021 06:34:08 Using JPEG subsampling 0, Q79 for client 127.0.0.1
12/01/2021 06:34:08 Using compression level 2 for client 127.0.0.1
12/01/2021 06:34:08 Enabling NewFBSize protocol extension for client 127.0.0.1
12/01/2021 06:34:08 Enabling LastRect protocol extension for client 127.0.0.1
12/01/2021 06:34:08 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFE)
12/01/2021 06:34:08 Enabling ExtDesktopSize protocol extension for client 127.0.0.1
12/01/2021 06:34:08 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC8)
12/01/2021 06:34:08 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC7)
12/01/2021 06:34:08 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECD)
12/01/2021 06:34:08 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xC0A1E5CE)
12/01/2021 06:34:08 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5664)
12/01/2021 06:34:08 Enabling full-color cursor updates for client 127.0.0.1
12/01/2021 06:34:08 Using tight encoding for client 127.0.0.1
12/01/2021 06:34:08 Sending rfbEncodingExtDesktopSize for size (1280x1024)
12/01/2021 06:34:08 client_set_net: 127.0.0.1  0.0001
12/01/2021 06:34:08 created   xdamage object: 0x40002c
12/01/2021 06:34:12 client_count: 0
12/01/2021 06:34:12 Restored X server key autorepeat to: 1
12/01/2021 06:34:12 Client 127.0.0.1 gone
12/01/2021 06:34:12 Statistics             events    Transmit/ RawEquiv ( saved)
12/01/2021 06:34:12  FramebufferUpdate   :      1 |         0/        0 (  0.0%)
12/01/2021 06:34:12  LastRect            :      1 |        12/       12 (  0.0%)
12/01/2021 06:34:12  tight               :      1 |        16/  5242892 (100.0%)
12/01/2021 06:34:12  RichCursor          :      1 |      1374/     1374 (  0.0%)
12/01/2021 06:34:12  ExtendedDesktopSize :      1 |        32/       32 (  0.0%)
12/01/2021 06:34:12  TOTALS              :      5 |      1434/  5244310 (100.0%)
12/01/2021 06:34:12 Statistics             events    Received/ RawEquiv ( saved)
12/01/2021 06:34:12  PointerEvent        :     19 |       114/      114 (  0.0%)
12/01/2021 06:34:12  FramebufferUpdate   :      3 |        30/       30 (  0.0%)
12/01/2021 06:34:12  SetEncodings        :      1 |        80/       80 (  0.0%)
12/01/2021 06:34:12  SetPixelFormat      :      1 |        20/       20 (  0.0%)
12/01/2021 06:34:12  TOTALS              :     24 |       244/      244 (  0.0%)
12/01/2021 06:34:12 destroyed xdamage object: 0x40002c
Connect from ::ffff:10.123.1.4:18073 to ::ffff:172.17.0.2:80 (http_frontend/TCP)
Connect from ::ffff:10.123.1.4:18074 to ::ffff:172.17.0.2:80 (http_frontend/TCP)
Connect from ::ffff:10.123.1.4:18076 to ::ffff:172.17.0.2:80 (http_frontend/TCP)
Connect from ::ffff:10.123.1.4:18075 to ::ffff:172.17.0.2:80 (http_frontend/TCP)
Connect from ::ffff:10.123.1.4:18077 to ::ffff:172.17.0.2:80 (http_frontend/TCP)
Connect from ::ffff:10.123.1.4:18078 to ::ffff:172.17.0.2:80 (http_frontend/TCP)
Connect from ::ffff:10.123.1.4:18080 to ::ffff:172.17.0.2:80 (http_frontend/TCP)
127.0.0.1 - - [12/Jan/2021 06:34:14] 127.0.0.1: Plain non-SSL (ws://) WebSocket connection
127.0.0.1 - - [12/Jan/2021 06:34:14] 127.0.0.1: Path: '/websockify'
127.0.0.1 - - [12/Jan/2021 06:34:14] connecting to: localhost:4900
12/01/2021 06:34:15 Got connection from client 127.0.0.1
12/01/2021 06:34:15   0 other clients
12/01/2021 06:34:15 Normal socket connection
12/01/2021 06:34:15 check_access: client 127.0.0.1 matches host 127.0.0.1
12/01/2021 06:34:15 Disabled X server key autorepeat.
12/01/2021 06:34:15   to force back on run: 'xset r on' (3 times)
12/01/2021 06:34:15 incr accepted_client=2 for 127.0.0.1:59230  sock=9
12/01/2021 06:34:16 Client Protocol Version 3.8
12/01/2021 06:34:16 Protocol version sent 3.8, using 3.8
12/01/2021 06:34:16 rfbProcessClientSecurityType: executing handler for type 1
12/01/2021 06:34:16 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
12/01/2021 06:34:16 Pixel format for client 127.0.0.1:
12/01/2021 06:34:16   32 bpp, depth 24, little endian
12/01/2021 06:34:16   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
12/01/2021 06:34:16 no translation needed
12/01/2021 06:34:16 Using image quality level 6 for client 127.0.0.1
12/01/2021 06:34:16 Using JPEG subsampling 0, Q79 for client 127.0.0.1
12/01/2021 06:34:16 Using compression level 2 for client 127.0.0.1
12/01/2021 06:34:16 Enabling NewFBSize protocol extension for client 127.0.0.1
12/01/2021 06:34:16 Enabling LastRect protocol extension for client 127.0.0.1
12/01/2021 06:34:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFE)
12/01/2021 06:34:16 Enabling ExtDesktopSize protocol extension for client 127.0.0.1
12/01/2021 06:34:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC8)
12/01/2021 06:34:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC7)
12/01/2021 06:34:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECD)
12/01/2021 06:34:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xC0A1E5CE)
12/01/2021 06:34:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5664)
12/01/2021 06:34:16 Enabling full-color cursor updates for client 127.0.0.1
12/01/2021 06:34:16 Using tight encoding for client 127.0.0.1
12/01/2021 06:34:16 Sending rfbEncodingExtDesktopSize for size (1280x1024)
12/01/2021 06:34:16 client_set_net: 127.0.0.1  0.0002
12/01/2021 06:34:16 created   xdamage object: 0x40002d
12/01/2021 06:34:24 created selwin: 0x40002e
12/01/2021 06:34:24 called initialize_xfixes()

Any ideas?

MarvAmBass commented 3 years ago

Hi Daniel,

thanks for the bug report - you found a general error in my parent base image 🙈 It seems like I haven't tested them since I updated all containers to a new baseimage.

I just fixed the issue and it should be fixed in all my contianers by tomorrow (build time)

Quickfix for you: touch /etc/environment inside the container. right mouseclick into the black screen and start application ;)

sorry and thanks for the issue 👍

Daniel15 commented 3 years ago

Thanks. I can confirm that it works now :)