Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the sound doesn't work when I build the image locally #95

Closed
joaoreis81 opened this issue Nov 9, 2022 · 3 comments
Closed

the sound doesn't work when I build the image locally #95

joaoreis81 opened this issue Nov 9, 2022 · 3 comments
Labels
no-issue-activity wontfix This will not be worked on

Comments

@joaoreis81
Copy link

joaoreis81 commented Nov 9, 2022

linuxserver.io

the sound doesn't work when I build the image locally. I did this test building several brunches separately. The logs attached demonstrate the build stage and my test that I access the container and try to play sound in youtube.


Expected Behavior

Sound should work, like when I use the images from linuxserver.io repositories. When I download it directly from linuxserver.io repository it works perfectly.

Current Behavior

when accessing youtube, the sound doesn't work.

Steps to Reproduce

  1. git clone https://github.com/linuxserver/docker-webtop.git
  2. cd docker-webtop
  3. docker build --no-cache --pull -t lscr.io/linuxserver/webtop:latest .

Environment

OS: CentOS 7 / Fedora 34
CPU architecture: x86_64
How docker service was installed: docker-ce official repository

Command used to create docker container (run/create/compose/screenshot)

---
version: "2.1"
services:
   webtop:
      image: lscr.io/linuxserver/webtop:latest
      container_name: webtop
      environment:
         - PUID=1000
         - PGID=1000
         - TZ=America/Sao_Paulo
         - TITLE="Desktop Console"
         - AUTO_LOGIN=false
      volumes:
         - ./config:/config
      ports:
         - 3000:3000
      shm_size: "1gb"
      restart: unless-stopped

docker compose up -d

Docker logs

[root@docker1-services1 docker-webtop]# docker build --no-cache --pull -t lscr.io/linuxserver/webtop:latest .
Sending build context to Docker daemon 2.085MB
Step 1/10 : FROM ghcr.io/linuxserver/baseimage-rdesktop-web:3.16
3.16: Pulling from linuxserver/baseimage-rdesktop-web
87124b5e65a1: Pull complete
b7321b7e83db: Pull complete
1c2baba85747: Pull complete
6ea37668a2cd: Pull complete
52fab3aa8d4c: Pull complete
47210327d741: Pull complete
1a3232c75622: Pull complete
edc91c1dfbbb: Pull complete
8017be352ca8: Pull complete
1b7ce4177598: Pull complete
b3d68b8bc889: Pull complete
d5fb279f1bd4: Pull complete
Digest: sha256:fb693fb937fe03b736c701b7928aff9a2305aa2d29a657b91f5b509715b7b33c
Status: Downloaded newer image for ghcr.io/linuxserver/baseimage-rdesktop-web:3.16
---> 22eea98a2549
Step 2/10 : ARG BUILD_DATE
---> Running in 866460a3aec7
Removing intermediate container 866460a3aec7
---> 5c3125e23001
Step 3/10 : ARG VERSION
---> Running in 1ee9e7f50415
Removing intermediate container 1ee9e7f50415
---> c5c45b2c54f9
Step 4/10 : ARG XFCE_VERSION
---> Running in c6a95cc21af9
Removing intermediate container c6a95cc21af9
---> 95dbd0a7ba4b
Step 5/10 : LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
---> Running in 4ccad0fa38ca
Removing intermediate container 4ccad0fa38ca
---> 7f2a3bfb5fbf
Step 6/10 : LABEL maintainer="thelamer"
---> Running in 517b2ea7522e
Removing intermediate container 517b2ea7522e
---> 453c26069c7b
Step 7/10 : RUN echo "**** install packages " && apk add --no-cache faenza-icon-theme faenza-icon-theme-xfce4-appfinder faenza-icon-theme-xfce4-panel firefox mousepad thunar xfce4 xfce4-terminal && apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community xfce4-pulseaudio-plugin && echo " cleanup ***" && rm -rf /tmp/
---> Running in 7c3cec014cfd
**** install packages ****
fetch http://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
(1/89) Installing faenza-icon-theme (1.3.1-r6)
(2/89) Installing faenza-icon-theme-bash (1.3.1-r6)
(3/89) Installing faenza-icon-theme-xfce4-appfinder (1.3.1-r6)
(4/89) Installing faenza-icon-theme-xfce4-panel (1.3.1-r6)
(5/89) Installing dbus-glib (0.112-r0)
(6/89) Installing libevent (2.1.12-r4)
(7/89) Installing nspr (4.33-r0)
(8/89) Installing sqlite-libs (3.38.5-r0)
(9/89) Installing nss (3.78.1-r0)
(10/89) Installing firefox (101.0.1-r0)
(11/89) Installing faenza-icon-theme-firefox (1.3.1-r6)
(12/89) Installing desktop-file-utils (0.26-r1)
(13/89) Installing gtksourceview (3.24.11-r1)
(14/89) Installing mousepad (0.5.8-r0)
(15/89) Installing libexif (0.6.24-r0)
(16/89) Installing libxfce4util (4.16.0-r1)
(17/89) Installing exo-libs (4.16.4-r0)
(18/89) Installing libgudev (237-r1)
(19/89) Installing libnotify (0.7.9-r2)
(20/89) Installing libgtop (2.40.0-r0)
(21/89) Installing xfconf (4.16.0-r1)
(22/89) Installing libxfce4ui (4.16.1-r0)
(23/89) Installing garcon (4.16.1-r1)
(24/89) Installing libxres (1.2.1-r0)
(25/89) Installing libwnck3 (40.1-r0)
(26/89) Installing xfce4-panel (4.16.4-r0)
(27/89) Installing thunar (4.16.11-r0)
Executing thunar-4.16.11-r0.post-install
(28/89) Installing faenza-icon-theme-thunar (1.3.1-r6)
(29/89) Installing exo (4.16.4-r0)
(30/89) Installing thunar-volman (4.16.0-r0)
(31/89) Installing vulkan-loader (1.3.206-r0)
(32/89) Installing ffmpeg4-libs (4.4.1-r3)
(33/89) Installing ffmpegthumbnailer (2.2.2-r3)
(34/89) Installing lz4-libs (1.9.3-r1)
(35/89) Installing libarchive (3.6.1-r0)
(36/89) Installing bubblewrap (0.6.2-r0)
(37/89) Installing xdg-dbus-proxy (0.1.4-r0)
(38/89) Installing libcap-ng (0.8.3-r1)
(39/89) Installing gcr-base (3.41.0-r0)
(40/89) Installing gnome-keyring (40.0-r0)
(41/89) Installing mesa-gles (21.3.8-r2)
(42/89) Installing libwpe (1.12.0-r1)
(43/89) Installing libwpebackend-fdo (1.12.0-r0)
(44/89) Installing aspell-libs (0.60.8-r1)
(45/89) Installing nuspell (5.1.0-r1)
(46/89) Installing enchant2 (2.3.2-r1)
(47/89) Installing harfbuzz-icu (4.3.0-r0)
(48/89) Installing hyphen (2.8.8-r1)
(49/89) Installing lcms2 (2.13.1-r0)
(50/89) Installing libevdev (1.12.1-r0)
(51/89) Installing libmanette (0.2.6-r1)
(52/89) Installing openjpeg (2.5.0-r0)
(53/89) Installing libsecret (0.20.5-r0)
(54/89) Installing gsettings-desktop-schemas (42.0-r0)
(55/89) Installing libproxy (0.4.17-r2)
(56/89) Installing glib-networking (2.72.1-r0)
(57/89) Installing libidn2 (2.3.2-r2)
(58/89) Installing libpsl (0.21.1-r0)
(59/89) Installing libsoup (2.74.0-r0)
(60/89) Installing libwoff2common (1.0.2-r1)
(61/89) Installing libwoff2enc (1.0.2-r1)
(62/89) Installing libxslt (1.1.35-r0)
(63/89) Installing webkit2gtk (2.36.7-r0)
(64/89) Installing libgepub (0.6.0-r2)
(65/89) Installing libgsf (1.14.48-r0)
(66/89) Installing poppler (22.05.0-r0)
(67/89) Installing poppler-glib (22.05.0-r0)
(68/89) Installing tumbler (4.16.0-r1)
(69/89) Installing ttf-dejavu (2.37-r1)
(70/89) Installing xfce4-appfinder (4.16.1-r0)
(71/89) Installing polkit-libs (0.120-r2)
(72/89) Installing polkit-common (0.120-r2)
Executing polkit-common-0.120-r2.pre-install
(73/89) Installing mozjs78 (78.15.0-r6)
(74/89) Installing polkit (0.120-r2)
(75/89) Installing upower (0.99.18-r0)
(76/89) Installing xfce4-power-manager (4.16.0-r0)
(77/89) Installing iceauth (1.0.9-r0)
(78/89) Installing xfce4-session (4.16.0-r1)
(79/89) Installing iso-codes (4.9.0-r0)
(80/89) Installing libxklavier (5.4-r5)
(81/89) Installing xfce4-settings (4.16.2-r0)
(82/89) Installing xfdesktop (4.16.0-r0)
(83/89) Installing libxpresent (1.0.0-r0)
(84/89) Installing xfwm4 (4.16.1-r0)
(85/89) Installing xfce4 (4.16-r0)
(86/89) Installing pcre2 (10.40-r0)
(87/89) Installing vte3 (0.68.0-r1)
(88/89) Installing xfce4-terminal (1.0.3-r0)
(89/89) Installing faenza-icon-theme-xterm (1.3.1-r6)
Executing busybox-1.35.0-r17.trigger
Executing fontconfig-2.14.0-r0.trigger
Executing dbus-1.14.4-r0.trigger
Executing glib-2.72.1-r0.trigger
Executing gtk-update-icon-cache-2.24.33-r3.trigger
Executing desktop-file-utils-0.26-r1.trigger
Executing mkfontscale-1.2.2-r0.trigger
OK: 1190 MiB in 356 packages
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
(1/2) Installing keybinder3 (0.3.2-r3)
(2/2) Installing xfce4-pulseaudio-plugin (0.4.5-r0)
Executing gtk-update-icon-cache-2.24.33-r3.trigger
OK: 1191 MiB in 358 packages
**** cleanup ****
Removing intermediate container 7c3cec014cfd
---> a7db2d892cff
Step 8/10 : COPY /root /
---> a9366ba326a3
Step 9/10 : EXPOSE 3000
---> Running in 943c8ea6609c
Removing intermediate container 943c8ea6609c
---> 08641e8e3531
Step 10/10 : VOLUME /config
---> Running in a3df286c1b9f
Removing intermediate container a3df286c1b9f
---> 40fa55e9d2ff
Successfully built 40fa55e9d2ff
Successfully tagged lscr.io/linuxserver/webtop:latest

[root@docker1-services1 docker-webtop]# docker logs webtop
[custom-init] No custom services found, skipping...
[migrations] started
[migrations] no migrations found


      _         ()
     | |  ___   _    __
     | | / __| | |  /  \
     | | \__ \ | | | () |
     |_| |___/ |_|  \__/

Brought to you by linuxserver.io

To support LSIO projects visit:
https://www.linuxserver.io/donate/

GID/UID

User uid: 1000
User gid: 1000

Generating 2048 bit rsa key...

ssl_gen_key_xrdp1 ok

saving to rsakeys.ini

Generating a RSA private key
..................................................+++++
.....+++++
writing new private key to '/etc/xrdp/key.pem'

[custom-init] No custom files found, skipping...
guacd[181]: INFO: Guacamole proxy daemon (guacd) version 1.1.0 started
guacd[181]: INFO: Listening on host 0.0.0.0, port 4822
guacd[181]: INFO: Guacamole connection closed during handshake
Starting guacamole-lite websocket server
listening on *:3000
[guac-init] Auto start not set, application start on login
[ls.io-init] done.
[2022-11-09 10:50:09] [Connection 1] Client connection open
[2022-11-09 10:50:09] [Connection 1] Opening guacd connection
[2022-11-09 10:50:09] [Connection 1] guacd connection open
[2022-11-09 10:50:09] [Connection 1] Selecting connection type: rdp
[2022-11-09 10:50:09] [Connection 1] Sending opCode: 6.select,3.rdp;
guacd[181]: INFO: Creating new client for protocol "rdp"
guacd[181]: INFO: Connection ID is "$0863507b-bda5-4cac-8ccd-e6f49ef4c060"
[2022-11-09 10:50:09] [Connection 1] Sending opCode: 4.size,4.2560,13.938?undefined,2.96;
[2022-11-09 10:50:09] [Connection 1] Sending opCode: 5.audio,9.audio/L16;
[2022-11-09 10:50:09] [Connection 1] Sending opCode: 5.video;
[2022-11-09 10:50:09] [Connection 1] Sending opCode: 5.image;
[2022-11-09 10:50:09] [Connection 1] Server sent handshake: 4.args,13.VERSION_1_1_0,8.hostname,4.port,6.domain,8.username,8.password,5.width,6.height,3.dpi,15.initial-program,11.color-depth,13.disable-audio,15.enable-printing,12.printer-name,12.enable-drive,10.drive-name,10.drive-path,17.create-drive-path,7.console,13.console-audio,13.server-layout,8.security,11.ignore-cert,12.disable-auth,10.remote-app,14.remote-app-dir,15.remote-app-args,15.static-channels,11.client-name,16.enable-wallpaper,14.enable-theming,21.enable-font-smoothing,23.enable-full-window-drag,26.enable-desktop-composition,22.enable-menu-animations,22.disable-bitmap-caching,25.disable-offscreen-caching,21.disable-glyph-caching,16.preconnection-id,18.preconnection-blob,8.timezone,11.enable-sftp,13.sftp-hostname,13.sftp-host-key,9.sftp-port,13.sftp-username,13.sftp-password,16.sftp-private-key,15.sftp-passphrase,14.sftp-directory,19.sftp-root-directory,26.sftp-server-alive-interval,14.recording-path,14.recording-name,24.recording-exclude-output,23.recording-exclude-mouse,22.recording-include-keys,21.create-recording-path,13.resize-method,18.enable-audio-input,9.read-only,16.gateway-hostname,12.gateway-port,14.gateway-domain,16.gateway-username,16.gateway-password,17.load-balance-info
[2022-11-09 10:50:09] [Connection 1] Sending opCode: 7.connect,0.,9.127.0.0.1,4.3389,0.,0.,0.,4.2560,13.938?undefined,2.96,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,12.en-us-qwerty,3.any,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,14.display-update,0.,0.,0.,0.,0.,0.,0.,0.;
guacd[230]: INFO: Security mode: Negotiate (ANY)
guacd[230]: INFO: Resize method: display-update
guacd[230]: INFO: User "@0c050797-6aec-493b-a4d5-49d63d1342b1" joined connection "$0863507b-bda5-4cac-8ccd-e6f49ef4c060" (1 users now present)
guacd[230]: INFO: Loading keymap "base"
guacd[230]: INFO: Loading keymap "en-us-qwerty"
xauth: file .Xauthority does not exist

X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
Current Operating System: Linux a7a1439d4096 3.10.0-1160.59.1.el7.x86_64 #1 SMP Wed Feb 23 16:47:03 UTC 2022 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1160.59.1.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap net.ifnames=0 rhgb quiet LANG=en_US.UTF-8

Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: ".xorgxrdp.10.log", Time: Wed Nov 9 13:50:15 2022
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpPreInit:
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x7fc544320010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000206d7 bx 0x00010800 cx 0x9fba2203 dx 0x0f8bfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpClientConInit: disconnect idle session after [0] sec
rdpClientConInit: kill disconnected [0] timeout [0] sec
rdpXvInit: depth 24
rdpScreenInit: out
rdpCreateScreenResources:
Global configuration:
rdpmousePreInit: drv 0x7fc544a419d0 info 0x7fc53c039b50, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x7fc5444fb3b1
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x7fc544a41a70 info 0x7fc53c039c90, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x7fc5444f68ad
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRGetInfo:
screen resized to 1024x768
RRScreenSizeSet ok 1
rdpResizeSession: width 2560 height 938
calling RRScreenSizeSet
rdpRRScreenSetSize: width 2560 height 938 mmWidth 677 mmHeight 248
rdpRRGetInfo:
screen resized to 2560x938
RRScreenSizeSet ok 1
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 7
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x7fc5444e1170
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 2560 height 938 bpp 16
rdpClientConProcessScreenSizeMsg: shmemid 0 shmemptr 0x7fc53ae6d000
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 938
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpRRGetInfo:
rdpClientConProcessMsgClientInfo:
got client info bytes 7072
jpeg support 0
offscreen support 0
offscreen size 0
offscreen entries 0
client supports glyph cache but server disabled
client can not do offscreen to offscreen blits
client can do new(color) cursor
client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 2560 height 938
rdpLoadLayout: keylayout 0x00000409 variant display 10
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
guacd[230]: INFO: User "@0c050797-6aec-493b-a4d5-49d63d1342b1" disconnected (0 users remain)
guacd[230]: INFO: Last user of connection "$0863507b-bda5-4cac-8ccd-e6f49ef4c060" disconnected
rdpClientConRecv: g_sck_recv failed(returned 0)
rdpClientConRecvMsg: error
rdpClientConCheck: rdpClientConGotData failed
rdpClientConDisconnect:
rdpRemoveClientConFromDev: removing clientCon 0x7fc5444e1170
guacd[230]: INFO: Internal RDP client disconnected
guacd[181]: INFO: Connection "$0863507b-bda5-4cac-8ccd-e6f49ef4c060" removed.
[2022-11-09 10:51:38] [Connection 1] Closing guacd connection
[2022-11-09 10:51:38] [Connection 1] Closing connection with error: 1000
[2022-11-09 10:51:38] [Connection 1] Client connection closed

@project-bot project-bot bot added this to To do in Issue & PR Tracker Nov 9, 2022
@github-actions
Copy link

github-actions bot commented Nov 9, 2022

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@drizuid drizuid added the wontfix This will not be worked on label Mar 24, 2023
@drizuid
Copy link
Member

drizuid commented Mar 24, 2023

We don't test or support centos. Your issue could be selinux or apparmor, there is no way for us to determine what issue your host is causing.

@drizuid drizuid closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2023
Issue & PR Tracker automation moved this from To do to Done Mar 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-issue-activity wontfix This will not be worked on
Projects
Development

No branches or pull requests

2 participants