linuxserver / docker-baseimage-guacgui

GNU General Public License v3.0
99 stars 52 forks source link

CLIPBOARD and FUSE errors in Docker container logs #32

Closed xthursdayx closed 2 years ago

xthursdayx commented 3 years ago

linuxserver.io


Expected Behavior

I maintain a gPodder docker image based on this baseimage and have been noticing a few errors in my logs that I wanted to ask about. However, I want to be clear that container seems to be functioning fine, and I haven't run into any problems (so far) as a result of the errors listed below.

Current Behavior

In the previous version of my gPodder image I was getting the following errors in my container logs when starting the container:

Warning: Cannot convert string "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-courier-medium-r-normal--*-120-*-*-*-*-iso8859-1" to type FontStruct

and these FUSE and CLIPBOARD errors

xrdp:xrdp_encoder [rdpClientConProcessMsgClientInfo:
got client info bytes 5744
jpeg support 0
offscreen support 0
fuse: device not found, try 'modprobe fuse' first
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 1 monitorCount 0fuse: device not found, try 'modprobe fuse' first

rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1420 height 743
rdpLoadLayout: keylayout 0x00000409 variant display 1
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
chansrv::main: using log file [/tmp/xrdp-chansrv.1.log]
[20210506-17:32:13] [CORE ] main: app started pid 455(0x000001c7)
[20210506-17:32:13] [INFO ] main: DISPLAY env var set to :1
[20210506-17:32:13] [INFO ] main: using DISPLAY 1
[20210506-17:32:13] [INFO ] channel_thread_loop: thread start
xrdp-chansrv [1119663086]: child_signal_handler:
xrdp-chansrv [1119663087]: child_signal_handler: child pid 465
xrdp-chansrv [1119663087]: child_signal_handler: child pid -1
[20210506-17:34:07] [INFO ] Socket 12: AF_UNIX connection received
[20210506-17:34:07] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1119777451]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

xrdp-chansrv [1119777453]: xcommon_init: connected to display ok
[1119777454]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x195

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0xfe

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x196

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x197

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x198

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0xfa

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x18e

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x18f

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x190

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x191

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x192

[1119777657]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x193

[1119777657]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x194

[20210506-17:34:21] [INFO ] channel_thread_loop: trans_check_wait_objs error resetting

xrdp-chansrv [1119790841]: scard_deinit:
chansrv:smartcard_pcsc [1119790841]: scard_pcsc_deinit:
[20210506-17:34:21] [INFO ] Socket 13: AF_UNIX connection received
[20210506-17:34:22] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1119791452]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1119791452]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x195

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0xfe

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x196

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x197

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x198

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0xfa

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x18e

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x18f

[1119791484]: CLIPBOARD clipboard_event_selection_nordpInDeferredUpdateCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
xrdp:xrdp_encoder [rdpClientConProcessMsgClientInfo:
got client info bytes 5744
jpeg support 0
offscreen support 0
fuse: device not found, try 'modprobe fuse' first
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 1 monitorCount 0fuse: device not found, try 'modprobe fuse' first

rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1420 height 743
rdpLoadLayout: keylayout 0x00000409 variant display 1
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
chansrv::main: using log file [/tmp/xrdp-chansrv.1.log]
[20210506-17:32:13] [CORE ] main: app started pid 455(0x000001c7)
[20210506-17:32:13] [INFO ] main: DISPLAY env var set to :1
[20210506-17:32:13] [INFO ] main: using DISPLAY 1
[20210506-17:32:13] [INFO ] channel_thread_loop: thread start
xrdp-chansrv [1119663086]: child_signal_handler:
xrdp-chansrv [1119663087]: child_signal_handler: child pid 465
xrdp-chansrv [1119663087]: child_signal_handler: child pid -1
[20210506-17:34:07] [INFO ] Socket 12: AF_UNIX connection received
[20210506-17:34:07] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1119777451]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

xrdp-chansrv [1119777453]: xcommon_init: connected to display ok
[1119777454]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x195

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0xfe

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x196

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x197

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x198

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0xfa

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x18e

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x18f

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x190

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x191

[1119777656]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x192

[1119777657]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x193

[1119777657]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x194

[20210506-17:34:21] [INFO ] channel_thread_loop: trans_check_wait_objs error resetting

xrdp-chansrv [1119790841]: scard_deinit:
chansrv:smartcard_pcsc [1119790841]: scard_pcsc_deinit:
[20210506-17:34:21] [INFO ] Socket 13: AF_UNIX connection received
[20210506-17:34:22] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1119791452]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1119791452]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x195

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0xfe

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x196

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x197

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x198

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0xfa

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x18e

[1119791484]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x18f

[1119791484]: CLIPBOARD clipboard_event_selection_nordpInDeferredUpdateCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off

To try to fix these errors I added these packages to the Dockerfile of my testing branch: xfonts-75dpi and xfonts-100dpi. This got rid of the FontStruct errors, but not the CLIPBOARD or FUSE errors, and I am still getting the following errors in my container logs:

rdpClientConProcessMsgClientInfo:
got client info bytes 5744
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
fuse: device not found, try 'modprobe fuse' first
client can do new(color) cursor
client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1440 height 768
fuse: device not found, try 'modprobe fuse' first
rdpLoadLayout: keylayout 0x00000409 variant display 1
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
chansrv::main: using log file [/tmp/xrdp-chansrv.1.log]
[20210506-17:03:13] [CORE ] main: app started pid 448(0x000001c0)
[20210506-17:03:13] [INFO ] main: DISPLAY env var set to :1
[20210506-17:03:13] [INFO ] main: using DISPLAY 1
[20210506-17:03:13] [INFO ] channel_thread_loop: thread start
xrdp-chansrv [1117923236]: child_signal_handler:
xrdp-chansrv [1117923236]: child_signal_handler: child pid 455
xrdp-chansrv [1117923236]: child_signal_handler: child pid -1
[20210506-17:07:30] [INFO ] Socket 12: AF_UNIX connection received
[20210506-17:07:30] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1118180252]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

xrdp-chansrv [1118180254]: xcommon_init: connected to display ok
[1118180255]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[20210506-17:07:35] [ERROR] clipboard_event_selection_request: unknown target COMPOUND_TEXT

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a7

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10f

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a8

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a9

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1aa

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10b

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a0

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a1

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a2

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a3

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a4

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a5

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a6

[20210506-17:07:36] [INFO ] channel_thread_loop: trans_check_wait_objs error resetting

xrdp-chansrv [1118186143]: scard_deinit:
chansrv:smartcard_pcsc [1118186143]: scard_pcsc_deinit:
[20210506-17:07:37] [INFO ] Socket 13: AF_UNIX connection received
[20210506-17:07:37] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1118186759]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1118186759]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a7

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10f

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a8

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a9

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1aa

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10b

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a0

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_rdpInDeferredUpdateCallback:

rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off

However, I notice that the clipboard_event_selection_notify errors are different now in the testing branch container. For example, the first listed error in my previous image version was unknown atom 0x195 while the first listed error in my current testing version is unknown atom 0x1a7. I should note that these errors are occurring when no user is doing anything in the container's Guac WebUI interface, i.e. I am not trying to past anything into the container.

I have noticed these same errors in the logs other people have posted for containers using this baseimage (or previous versions of it), for example here and here, so I assume that these errors exist in the base image rather than being created as a result of the image my Dockerfile builds.

Steps to Reproduce

  1. My container was created on UNRAID using the DockerMan GUI which runs following command: docker create --name='gPodder' --net='docker_net' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'GUAC_USER'='admin' -e 'GUAC_PASS'='5f4dcc3b5aa765d61d8327deb882cf99' -e 'TZ'='America/New_York' -e 'WIDTH'='1280' -e 'HEIGHT'='720' -p '3389:3389/tcp' -p '8080:8080/tcp' -v '/mnt/user/Media/Podcasts/':'/downloads':'rw' -v '/mnt/cache/appdata/gPodder':'/config':'rw' 'xthursdayx/gpodder-docker:testing
  2. This pulls the testing branch of my image with this Dockerfile.
  3. Log into Guac WebUI using the set user and password variables.
  4. Wait

Environment

OS: UNRAID CPU architecture: x86_64 How docker service was installed:

I am using DockerMan in UNRAID and my own template from UNRAID's Community Apps.

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

As noted, I'm using DockerMan in Unraid with my own template from my template repo which runs the following docker create command: docker create --name='gPodder' --net='docker_net' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'GUAC_USER'='admin' -e 'GUAC_PASS'='5f4dcc3b5aa765d61d8327deb882cf99' -e 'TZ'='America/New_York' -e 'WIDTH'='1280' -e 'HEIGHT'='720' -p '3389:3389/tcp' -p '8080:8080/tcp' -v '/mnt/user/Media/Podcasts/':'/downloads':'rw' -v '/mnt/cache/appdata/gPodder':'/config':'rw' 'xthursdayx/gpodder-docker:testing

Docker logs

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
usermod: no changes

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

Brought to you by linuxserver.io
-------------------------------------

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

User uid: 911
User gid: 911
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 11-moduser: executing...
[cont-init.d] 11-moduser: exited 0.
[cont-init.d] 12-prep_xrdp: executing...
[cont-init.d] 12-prep_xrdp: exited 0.
[cont-init.d] 13-update_app_name: executing...
[cont-init.d] 13-update_app_name: exited 0.
[cont-init.d] 14-configure_openbox: executing...
[cont-init.d] 14-configure_openbox: exited 0.
[cont-init.d] 30-update_webapp_context: executing...
[cont-init.d] 30-update_webapp_context: exited 0.
[cont-init.d] 35-update_guac_creds: executing...
[cont-init.d] 35-update_guac_creds: exited 0.
[cont-init.d] 50-config: executing...
[cont-init.d] 50-config: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Unable to find an X display. Ensure you have permission to connect to the display.

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0

Build Operating System: Linux 4.15.0-140-generic x86_64 Ubuntu
Current Operating System: Linux d1d44700f2b2 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64
Kernel command line: BOOT_IMAGE=/bzimage initrd=/bzroot

Build Date: 08 April 2021 01:57:21PM
xorg-server 2:1.19.6-1ubuntu4.9 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.34.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: "/var/log/Xorg.pid-439.log", Time: Thu May 6 17:03:12 2021
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
guacd[442]: INFO: Guacamole proxy daemon (guacd) version 0.9.14 started

guacd[442]: INFO: Listening on host 127.0.0.1, port 4822
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10

:
rdpPreInit:
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x146baf95c010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000306e4 bx 0x28200800 cx 0x7fbee3ff dx 0xbfebfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpXvInit: depth 24
rdpClientConInit: kill disconnected [0] timeout [0] sec

rdpScreenInit: out
guacd[442]: INFO: Guacamole connection closed during handshake
rdpmousePreInit: drv 0x560ce2ea4000 info 0x560ce30f03e0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x146bafd35c60
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x560ce2ea31a0 info 0x560ce3261000, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x146bafb32530
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpSaveScreen:
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
rdpInDeferredUpdateCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
Obt-Message: Xinerama extension is not present on the server
Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml"
/usr/bin/env: 'python': No such file or directory
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
rdpRRGetInfo:
dbus-daemon[547]: [session uid=911 pid=547] Activating service name='org.a11y.Bus' requested by ':1.1' (uid=911 pid=548 comm="python3 /gpodder/bin/gpodder ")
dbus-daemon[547]: [session uid=911 pid=547] Successfully activated service 'org.a11y.Bus'
dbus-daemon[615]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=911 pid=548 comm="python3 /gpodder/bin/gpodder ")
dbus-daemon[615]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
06-May-2021 13:03:14.957 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR file [/usr/share/tomcat8/lib/commons-dbcp.jar], exists: [false], canRead: [false]

06-May-2021 13:03:14.963 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR file [/usr/share/tomcat8/lib/commons-pool.jar], exists: [false], canRead: [false]

06-May-2021 13:03:14.968 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.968 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.969 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.969 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.972 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.972 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.972 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.973 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.973 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.974 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.974 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.974 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:15.066 SEVERE [main] org.apache.catalina.startup.Catalina.initDirs Cannot find specified temporary folder at [/var/lib/tomcat8/temp]
Storing downloads in /downloads (GPODDER_DOWNLOAD_DIR is set)

06-May-2021 13:03:15.862 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.39 (Ubuntu)

06-May-2021 13:03:15.862 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 9 2019 19:47:51 UTC
06-May-2021 13:03:15.863 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.39.0
06-May-2021 13:03:15.863 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
06-May-2021 13:03:15.863 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.10.28-Unraid

06-May-2021 13:03:15.863 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
06-May-2021 13:03:15.864 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-11-openjdk-amd64
06-May-2021 13:03:15.864 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.11+9-Ubuntu-0ubuntu2.18.04

06-May-2021 13:03:15.864 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Ubuntu
06-May-2021 13:03:15.864 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /var/lib/tomcat8
06-May-2021 13:03:15.864 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/share/tomcat8
06-May-2021 13:03:15.865 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
06-May-2021 13:03:15.865 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
06-May-2021 13:03:15.865 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
06-May-2021 13:03:15.865 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
06-May-2021 13:03:15.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-May-2021 13:03:15.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
06-May-2021 13:03:15.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
06-May-2021 13:03:15.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
06-May-2021 13:03:15.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
06-May-2021 13:03:15.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/var/lib/tomcat8
06-May-2021 13:03:15.867 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat8
06-May-2021 13:03:15.867 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/var/lib/tomcat8/temp
06-May-2021 13:03:15.867 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
06-May-2021 13:03:15.915 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
06-May-2021 13:03:15.936 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-May-2021 13:03:15.951 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 886 ms
06-May-2021 13:03:16.023 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
06-May-2021 13:03:16.023 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.39 (Ubuntu)
06-May-2021 13:03:16.064 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/var/lib/tomcat8/webapps/ROOT.war]
06-May-2021 13:03:17.638 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
13:03:18.001 [localhost-startStop-1] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
13:03:18.099 [localhost-startStop-1] INFO o.a.g.rest.auth.HashTokenSessionMap - Sessions will expire after 60 minutes of inactivity.
13:03:18.225 [localhost-startStop-1] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
13:03:18.327 [localhost-startStop-1] INFO o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support...
06-May-2021 13:03:18.634 WARNING [localhost-startStop-1] com.google.inject.internal.ProxyFactory.<init> Method [public void org.apache.guacamole.rest.user.UserResource.updateObject(java.lang.Object) throws org.apache.guacamole.GuacamoleException] is synthetic and is being intercepted by [org.apache.guacamole.rest.RESTExceptionWrapper@4db64c4a]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.

06-May-2021 13:03:18.728 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.extension.ExtensionRESTService as a root resource class
06-May-2021 13:03:18.729 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.language.LanguageRESTService as a root resource class
06-May-2021 13:03:18.729 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.patch.PatchRESTService as a root resource class
06-May-2021 13:03:18.729 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.auth.TokenRESTService as a root resource class
06-May-2021 13:03:18.729 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.session.SessionRESTService as a root resource class
06-May-2021 13:03:18.730 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.codehaus.jackson.jaxrs.JacksonJsonProvider as a provider class
06-May-2021 13:03:18.732 INFO [localhost-startStop-1] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'

06-May-2021 13:03:18.814 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.codehaus.jackson.jaxrs.JacksonJsonProvider to GuiceManagedComponentProvider with the scope "Singleton"

021 13:03:19.300 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.extension.ExtensionRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
06-May-2021 13:03:19.306 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.language.LanguageRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
06-May-2021 13:03:19.307 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.patch.PatchRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
06-May-2021 13:03:19.310 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.auth.TokenRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
06-May-2021 13:03:19.312 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.session.SessionRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
06-May-2021 13:03:19.328 INFO [localhost-startStop-1] org.webjars.servlet.WebjarsServlet.init WebjarsServlet initialization completed
06-May-2021 13:03:19.342 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/var/lib/tomcat8/webapps/ROOT.war] has finished in [3,278] ms
06-May-2021 13:03:19.346 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
06-May-2021 13:03:19.357 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 3406 ms
13:07:28.774 [http-nio-8080-exec-8] INFO o.a.g.r.auth.AuthenticationService - User "admin" successfully authenticated from 10.66.10.50.
13:07:30.369 [http-nio-8080-exec-7] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
13:07:36.411 [http-nio-8080-exec-3] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
guacd[442]: INFO: Creating new client for protocol "rdp"
guacd[442]: INFO: Connection ID is "$d7b640a3-ea94-4b1c-8d5d-230b675e0f58"
guacd[693]: INFO: No security mode specified. Defaulting to RDP.
guacd[693]: INFO: Resize method: none
guacd[693]: INFO: User "@b1c532de-341a-4a34-8b03-32d7fc988f52" joined connection "$d7b640a3-ea94-4b1c-8d5d-230b675e0f58" (1 users now present)
13:07:36.420 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "admin" connected to connection "DEFAULT".
guacd[693]: INFO: Loading keymap "base"
guacd[693]: INFO: Loading keymap "en-us-qwerty"
LoadLibraryA: /usr/lib/x86_64-linux-gnu/freerdp/guacdr-client.so: cannot open shared object file: No such file or directory
guacd[693]: WARNING: Failed to load guacdr plugin. Drive redirection and printing will not work. Sound MAY not work.

LoadLibraryA: /usr/lib/x86_64-linux-gnu/freerdp/guacsnd-client.so: cannot open shared object file: No such file or directory
guacd[693]: WARNING: Failed to load guacsnd alongside guacdr plugin. Sound will not work. Drive redirection and printing MAY not work.

connected to 127.0.0.1:3389
Unable to find a match for unix timezone: Etc/UTC
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 21
rdpClientConGotConnection: disconnecting only clientCon
rdpClientConDisconnect:
rdpClientConDisconnect: clientCon removed from dev list
rdpClientConGotConnection: adding only clientCon
guacd[681]: ERROR: Error handling RDP file descriptors

rdpClientConProcessMsgVersion: version 0 0 0 1

rdpClientConProcessScreenSizeMsg: set width 1440 height 768 bpp 16
rdpClientConProcessScreenSizeMsg: shmemid 2 shmemptr 0x146b2f9e2000
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1440 cy 768
[20210506-17:03:13] [INFO ] starting xrdp with pid 447
[20210506-17:03:13] [INFO ] listening to port 3389 on 0.0.0.0
[20210506-17:03:14] [INFO ] Socket 11: AF_INET6 connection received from ::ffff:127.0.0.1 port 40382
[20210506-17:03:14] [DEBUG] Closed socket 11 (AF_INET6 ::ffff:127.0.0.1 port 3389)
[20210506-17:07:30] [INFO ] Socket 11: AF_INET6 connection received from ::ffff:127.0.0.1 port 42060
[20210506-17:07:30] [DEBUG] Closed socket 10 (AF_INET6 :: port 3389)
[20210506-17:07:30] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20210506-17:07:30] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20210506-17:07:30] [DEBUG] TLSv1.2 enabled
[20210506-17:07:30] [DEBUG] TLSv1.1 enabled
[20210506-17:07:30] [DEBUG] TLSv1 enabled
[20210506-17:07:30] [DEBUG] Security layer: requested 0, selected 0
pub_mod bytes 256
pri_exp 256
colorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp)
[20210506-17:07:30] [INFO ] connected client computer name: d1d44700f2b2
postBeta2ColorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp 0xca02 15bpp 0xca03 16bpp 0xca04 24bpp)
highColorDepth 0x0010 (0x0004 4bpp 0x0008 8bpp 0x000f 15bpp 0x0010 16 bpp 0x0018 24bpp)
supportedColorDepths 0x0007 (0x0001 24bpp 0x0002 16bpp 0x0004 15bpp 0x0008 32bpp)
earlyCapabilityFlags 0x0001 (0x0002 want32)
got client client connection type 0x00000000
xrdp_sec_process_mcs_data_CS_SECURITY:
client supports 40 bit encryption
client supports 128 bit encryption
client supports fips encryption
client and server support high crypt, using high crypt
xrdp_sec_out_mcs_data: using 2048 bit RSA key
xrdp_load_keyboard_layout: keyboard_type [4] keyboard_subtype [0]
xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[20210506-17:07:30] [INFO ] Non-TLS connection established from ::ffff:127.0.0.1 port 42060: encrypted with standard RDP security
xrdp_sec_establish_keys:
xrdp_caps_process_order: not enough orders supported by client, using painter.
xrdp_caps_process_pointer: client supports new(color) cursor
xrdp_process_offscreen_bmpcache: support level 1 cache size 7864320 MB cache entries 2000
xrdp_caps_process_surface_cmds:
cmdFlags 0x00000052
xrdp_caps_process_frame_ack:
max_unacknowledged_frame_count 2
xrdp_caps_process_confirm_active: not enough orders supported by client, client wants off screen bitmap but offscreen bitmaps disabled
yeah, up_and_running
xrdp:xrdp_bitmap [1118180089]: xrdp_bitmap_create: noorders
[20210506-17:07:30] [DEBUG] xrdp_000002b1_wm_login_mode_event_00000001
xrdp:xrdp_mm [1118180112]: xrdp_mm_create: bpp 16 mcs_connection_type 0 jpeg_codec_id 0 v3_codec_id 0 rfx_codec_id 0 h264_codec_id 0
[20210506-17:07:30] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20210506-17:07:30] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
xrdp_wm_login_mode_changed: login_mode is 0
in xrdp_wm_init:
out xrdp_wm_init:
xrdp_wm_login_mode_changed: login_mode is 2
loaded module 'libxup.so' ok, interface size 8456, version 3

[20210506-17:07:30] [DEBUG] xrdp_wm_log_msg: started connecting
started connecting
lib_mod_connect: connected to Xserver (Xorg or X11rdp) sck 15
[20210506-17:07:30] [INFO ] lib_mod_log_peer: xrdp_pid=689 connected to X11rdp_pid=439 X11rdp_uid=0 X11rdp_gid=0 client_ip=::ffff:127.0.0.1 client_port=42060
[20210506-17:07:30] [DEBUG] xrdp_wm_log_msg: connected ok
connected ok
[20210506-17:07:30] [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful
[20210506-17:07:30] [DEBUG] return value from xrdp_mm_connect 0
lib_mod_process_message: type 2 len 0
lib_send_client_info:
xrdp_wm_login_mode_changed: login_mode is 3
[20210506-17:07:30] [INFO ] The following channel is allowed: cliprdr (0)
[20210506-17:07:30] [DEBUG] The allow channel list now initialized for this session
[20210506-17:07:36] [DEBUG] Closed socket 11 (AF_INET6 ::ffff:127.0.0.1 port 3389)
xrdp_mcs_disconnect - socket closed
[20210506-17:07:36] [DEBUG] xrdp_mm_module_cleanup
[20210506-17:07:36] [DEBUG] Closed socket 15 (AF_UNIX)
[20210506-17:07:36] [DEBUG] Closed socket 16 (AF_UNIX)
xrdp:xrdp_encoder [guacd[681]: INFO: User "@4cd4576d-097f-4ee6-8169-ddb0a1efe27e" disconnected (0 users remain)
guacd[681]: INFO: Last user of connection "$ecfe38f4-3d42-4ece-86b5-3511654b84b1" disconnected
guacd[442]: INFO: Connection "$ecfe38f4-3d42-4ece-86b5-3511654b84b1" removed.
13:07:36.798 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "admin" disconnected from connection "DEFAULT". Duration: 6374 milliseconds
rdpClientConProcessMsgClientInfo:
got client info bytes 5744
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
fuse: device not found, try 'modprobe fuse' first
client can do new(color) cursor
client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1440 height 768
fuse: device not found, try 'modprobe fuse' first
rdpLoadLayout: keylayout 0x00000409 variant display 1
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
chansrv::main: using log file [/tmp/xrdp-chansrv.1.log]
[20210506-17:03:13] [CORE ] main: app started pid 448(0x000001c0)
[20210506-17:03:13] [INFO ] main: DISPLAY env var set to :1
[20210506-17:03:13] [INFO ] main: using DISPLAY 1
[20210506-17:03:13] [INFO ] channel_thread_loop: thread start
xrdp-chansrv [1117923236]: child_signal_handler:
xrdp-chansrv [1117923236]: child_signal_handler: child pid 455
xrdp-chansrv [1117923236]: child_signal_handler: child pid -1
[20210506-17:07:30] [INFO ] Socket 12: AF_UNIX connection received
[20210506-17:07:30] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1118180252]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

xrdp-chansrv [1118180254]: xcommon_init: connected to display ok
[1118180255]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[20210506-17:07:35] [ERROR] clipboard_event_selection_request: unknown target COMPOUND_TEXT

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a7

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10f

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a8

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a9

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1aa

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10b

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a0

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a1

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a2

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a3

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a4

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a5

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a6

[20210506-17:07:36] [INFO ] channel_thread_loop: trans_check_wait_objs error resetting

xrdp-chansrv [1118186143]: scard_deinit:
chansrv:smartcard_pcsc [1118186143]: scard_pcsc_deinit:
[20210506-17:07:37] [INFO ] Socket 13: AF_UNIX connection received
[20210506-17:07:37] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1118186759]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1118186759]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a7

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10f

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a8

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a9

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1aa

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10b

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a0

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_rdpInDeferredUpdateCallback:

rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpClientConProcessMsgClientInfo:
got client info bytes 5744
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
fuse: device not found, try 'modprobe fuse' first
client can do new(color) cursor
client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1440 height 768
fuse: device not found, try 'modprobe fuse' first
rdpLoadLayout: keylayout 0x00000409 variant display 1
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
chansrv::main: using log file [/tmp/xrdp-chansrv.1.log]
[20210506-17:03:13] [CORE ] main: app started pid 448(0x000001c0)
[20210506-17:03:13] [INFO ] main: DISPLAY env var set to :1
[20210506-17:03:13] [INFO ] main: using DISPLAY 1
[20210506-17:03:13] [INFO ] channel_thread_loop: thread start
xrdp-chansrv [1117923236]: child_signal_handler:
xrdp-chansrv [1117923236]: child_signal_handler: child pid 455
xrdp-chansrv [1117923236]: child_signal_handler: child pid -1
[20210506-17:07:30] [INFO ] Socket 12: AF_UNIX connection received
[20210506-17:07:30] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1118180252]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

xrdp-chansrv [1118180254]: xcommon_init: connected to display ok
[1118180255]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[20210506-17:07:35] [ERROR] clipboard_event_selection_request: unknown target COMPOUND_TEXT

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a7

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10f

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a8

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a9

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1aa

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10b

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a0

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a1

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a2

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a3

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a4

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a5

[1118185324]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a6

[20210506-17:07:36] [INFO ] channel_thread_loop: trans_check_wait_objs error resetting

xrdp-chansrv [1118186143]: scard_deinit:
chansrv:smartcard_pcsc [1118186143]: scard_pcsc_deinit:
[20210506-17:07:37] [INFO ] Socket 13: AF_UNIX connection received
[20210506-17:07:37] [INFO ] send_init_response_message:
process_message_channel_setup: chan name 'cliprdr' id 0 flags 00000000
[1118186759]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1118186759]: FUSE xfuse_init_lib: 828 : ERROR: fuse_mount() failed

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a7

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10f

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a8

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a9

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1aa

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x10b

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_event_selection_notify: unknown atom 0x1a0

[1118186788]: CLIPBOARD clipboard_event_selection_notify: 1951 : ERROR: clipboard_rdpInDeferredUpdateCallback:

rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
tobbenb commented 3 years ago

Any reason you don't set PUID & PGID?

xthursdayx commented 3 years ago

I do set the PUID & PGID to drop to 911:911 in my services.d run script using s6-setuidgid.

I may be confused, but I was under the impression that this user:group/ PUID:PGID combo is the same one that is used by the linuxserer ubuntu baseimage that this guacGUI image is built on. Because of this, I figured it would be simplest for me to keep these same PUID & PGID variables. I could be confused about how this works though.

I do recognize that most other linuxserver-maintained images use nobody:users for the user:group variables, but I wasn't sure if that should be the case in my image. If so, as what point should I set a different PUID & PGID? Before the final run script which launches my app? Or should I keep using s6-setuidgid in my run script, but just use different PGID & PUID variables?

Apologies if these are stupid questions, as usual, I'm trying to continue learning as I work on my projects. Thanks in advance for any suggestions you might have. Cheers!

hurricanehrndz commented 3 years ago

No question is stupid. If someone else hasn't answered by Monday. I'll look this over.

On Fri., May 7, 2021, 2:55 a.m. xthursdayx, @.***> wrote:

I do set the PUID & PGID to drop to 911:911 in my sercives.d run script https://github.com/xthursdayx/gpodder-docker/blob/testing/root/etc/services.d/gPodder/run using s6-setuidgid .

I may be confused, but I was under the impression that this user:group/ PUID:PGID combo is the same one that is used by the linuxserer ubuntu baseimage https://github.com/linuxserver/docker-baseimage-ubuntu that this guacGUI image is built on. Because of this, I figured it would be simplest for me to keep these same PUID & PGID variables. I could be confused about how this works though.

I do recognize that most other linuxserver-maintained images use nobody:users for the user:group variables, but I wasn't sure if that should be the case in my image. If so, as what point should I set a different PUID & PGID? Before the final run script which launches my app? Or should I keep using s6-setuidgid in my run script, but just use different PGID & PUID variables?

Apologies if these are stupid questions, as usual, I'm trying to continue learning as I work on my projects. Thanks in advance for any suggestions you might have. Cheers!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/linuxserver/docker-baseimage-guacgui/issues/32#issuecomment-834186523, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMJBTITDNDGDHZNNUEOOVTTMOTG7ANCNFSM44HS7ZSQ .

hurricanehrndz commented 3 years ago

I took a quick look and these seem to be RDP client issues. Fuse is used to share clipboard content and shared folders, and sometime the clipboard from the RDP server fails. The xrdp service has some growing to do, but I do believe it is getting better every time. You can also check if there is different logging options that could be enable to lower the verbosity for xrdp.

On Fri., May 7, 2021, 5:51 a.m. Carlos Hernandez, @.***> wrote:

No question is stupid. If someone else hasn't answered by Monday. I'll look this over.

On Fri., May 7, 2021, 2:55 a.m. xthursdayx, @.***> wrote:

I do set the PUID & PGID to drop to 911:911 in my sercives.d run script https://github.com/xthursdayx/gpodder-docker/blob/testing/root/etc/services.d/gPodder/run using s6-setuidgid .

I may be confused, but I was under the impression that this user:group/ PUID:PGID combo is the same one that is used by the linuxserer ubuntu baseimage https://github.com/linuxserver/docker-baseimage-ubuntu that this guacGUI image is built on. Because of this, I figured it would be simplest for me to keep these same PUID & PGID variables. I could be confused about how this works though.

I do recognize that most other linuxserver-maintained images use nobody:users for the user:group variables, but I wasn't sure if that should be the case in my image. If so, as what point should I set a different PUID & PGID? Before the final run script which launches my app? Or should I keep using s6-setuidgid in my run script, but just use different PGID & PUID variables?

Apologies if these are stupid questions, as usual, I'm trying to continue learning as I work on my projects. Thanks in advance for any suggestions you might have. Cheers!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/linuxserver/docker-baseimage-guacgui/issues/32#issuecomment-834186523, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMJBTITDNDGDHZNNUEOOVTTMOTG7ANCNFSM44HS7ZSQ .

tobbenb commented 3 years ago

I do set the PUID & PGID to drop to 911:911 in my sercives.d run script using s6-setuidgid.

I may be confused, but I was under the impression that this user:group/ PUID:PGID combo is the same one that is used by the linuxserer ubuntu baseimage that this guacGUI image is built on. Because of this, I figured it would be simplest for me to keep these same PUID & PGID variables. I could be confused about how this works though.

I do recognize that most other linuxserver-maintained images use nobody:users for the user:group variables, but I wasn't sure if that should be the case in my image. If so, as what point should I set a different PUID & PGID? Before the final run script which launches my app? Or should I keep using s6-setuidgid in my run script, but just use different PGID & PUID variables?

Apologies if these are stupid questions, as usual, I'm trying to continue learning as I work on my projects. Thanks in advance for any suggestions you might have. Cheers!

The PUID & PGID is there so you run the app as the user that has permissions to the /config mount. So you should set the s6-setuidgid to the abc user. The env variables are then set by the user to match the id of the host path for the /config mount. The reason you think it's set to nobody:users is because that is the default in unraid. We set PUID & PGID to 99 & 100 in the templates for unraid.

xthursdayx commented 3 years ago

Oh, I must be confused. I saw the lines:

PUID=${PUID:-911}
PGID=${PGID:-911}

groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc

in the LS ubuntu baseimage 10-adduser cont-init.d script and I (perhaps mistakenly?) assumed that meant that the ubuntu baseimage, and therefore this guac baseimage, was running as user:group 911:911 and that 911:911 equaled abc:abc.

Originally, my services.d app run script used s6-setuidgid abc, but I'd changed it to s6-setuidgid 911:911 because I thought that I was having a permission problem when the container started up because of these tomcat8 errros in the log, which seemed to be permissions errors:

06-May-2021 13:03:14.957 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR file [/usr/share/tomcat8/lib/commons-dbcp.jar], exists: [false], canRead: [false]

06-May-2021 13:03:14.963 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR file [/usr/share/tomcat8/lib/commons-pool.jar], exists: [false], canRead: [false]

06-May-2021 13:03:14.968 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.968 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.969 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.969 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.972 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.972 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.972 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.973 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.973 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.974 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.974 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:14.974 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]

06-May-2021 13:03:15.066 SEVERE [main] org.apache.catalina.startup.Catalina.initDirs Cannot find specified temporary folder at [/var/lib/tomcat8/temp]

I was actually going to create an issue to ask about those lines, but I didn't want to have two issues going at once and I've since noticed that most of the logs I've seen posted from containers that run on this baseimage have those same initial warnings, so I assume it's not a problem? @hurricanehrndz I assume you've seen those warnings in Guac continuer logs as well?

Anyway, if I follow what you're saying @tobbenb I should switch s6-setuidgid in my run script back to s6-setuidgid abc and then add PUID & GUID as env variables either in my UNRAID template or Docker Compose/Docker create commands?

For reference, this is the /root/etc/services.d/gPodder/run script I'm using in my main branch:

#!/bin/execlineb -P

# Redirect stderr to stdout.
fdmove -c 2 1

# Wait until openbox is running
if { s6-svwait -t 10000 -U /var/run/s6/services/openbox/ }

# Drop privileges and set env
s6-setuidgid abc
s6-env DISPLAY=:1 HOME=/config GPODDER_DOWNLOAD_DIR=/downloads LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8

# Execute gPodder
dbus-run-session /gpodder/bin/gpodder

Also, my /root/etc/cont-init.d/50-config still sets the ownership for /config and /downloads as abc:abc, which I assume is correct. You can see the scrip below for reference:

#!/usr/bin/with-contenv bash

# make our folders
mkdir -p /config/.config/gPodder

# set webserver port on first install
[[ ! -f /config/.config/gPodder/server-config.txt ]] && \
  echo "port 8080" > /config/.config/gPodder/server-config.txt

# permissions
chown -R abc:abc \
    /config \
    /downloads 
tobbenb commented 3 years ago

Use abc and not 911. That is just a random one we chose as a placeholder and is most likely not used in a user or group by default. The permission errors are because you set the it to 911 and unraid uses 99 & 100, so you got a mismatch and doesn't have the right permissions for the /config mount.

So add the env variables in the template and compose example so users can match it to their host user.

You should go through a couple of our containers to see how it's done to get a better overview of how it is done. Also check a random readme for basic info about all our containers. We also have docs.linuxserver.io with alot of info

xthursdayx commented 3 years ago

Thanks a lot for the help @tobbenb !

Other containers I've created haven't used LS baseimages, so I guess I was doing things incorrectly for this baseimage. I did research a bunch of LS (and other) containers when I was building mine (and run a bunch of LS continuers on my UNRAID server). But yeah, I just checked out the linuxser.io docs page. It's really nice to see how they've developed since I last visited! (admittedly a while ago)

As I mentioned I did originally use s6-setuidgid abc since that's what I saw used in other containers, but guess I didn't realize that I had to set the PGID and PUID as env variables. Will do that now and see how things go.

xthursdayx commented 3 years ago

This is starting to get off topic, and I know it's not you all's responsibility to help me trouble shoot my own container, so I can close it if that's better, but I just wanted to mention that I did as mentioned above, and changed my /root/etc/services.d/gPodder/run script back to use s6-setuigid abc (rather than 911:911) and added the variables -e PUID 99 and -e PUID 100 to my UNRAID template for the testing branch. However, for some reason this broke my container.

My Dockerfile installs gPodder using git like this:

RUN echo "**** Installing gPodder ****" && \
    git clone https://github.com/gpodder/gpodder.git && \
    cd gpodder && \
    git checkout $GPODDER_TAG && \
    echo "GPODDER_DOWNLOAD_DIR=/downloads" >> ~/.pam_environment

Now I am getting the following errors:

ErrorWarningSystemArrayLogin

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

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

Brought to you by linuxserver.io
-------------------------------------

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

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 11-moduser: executing...
[cont-init.d] 11-moduser: exited 0.
[cont-init.d] 12-prep_xrdp: executing...
[cont-init.d] 12-prep_xrdp: exited 0.
[cont-init.d] 13-update_app_name: executing...
[cont-init.d] 13-update_app_name: exited 0.
[cont-init.d] 14-configure_openbox: executing...
[cont-init.d] 14-configure_openbox: exited 0.
[cont-init.d] 30-update_webapp_context: executing...
[cont-init.d] 30-update_webapp_context: exited 0.
[cont-init.d] 35-update_guac_creds: executing...
[cont-init.d] 35-update_guac_creds: exited 0.
[cont-init.d] 50-config: executing...
[cont-init.d] 50-config: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Unable to find an X display. Ensure you have permission to connect to the display.

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0

Build Operating System: Linux 4.15.0-140-generic x86_64 Ubuntu
Current Operating System: Linux bc0b97de0796 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64
Kernel command line: BOOT_IMAGE=/bzimage initrd=/bzroot

Build Date: 08 April 2021 01:57:21PM
xorg-server 2:1.19.6-1ubuntu4.9 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.34.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: "/var/log/Xorg.pid-443.log", Time: Sat May 8 01:02:25 2021
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
guacd[447]: INFO: Guacamole proxy daemon (guacd) version 0.9.14 started

guacd[447]: INFO: Listening on host 127.0.0.1, port 4822
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10

:
rdpPreInit:
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x148439293010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000306e4 bx 0x27200800 cx 0x7fbee3ff dx 0xbfebfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpXvInit: depth 24
rdpClientConInit: kill disconnected [0] timeout [0] sec

rdpScreenInit: out
guacd[447]: INFO: Guacamole connection closed during handshake
rdpmousePreInit: drv 0x5596672a4000 info 0x5596674f03d0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x14843966cc60
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x5596672a31a0 info 0x559667660ff0, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x148439469530
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpSaveScreen:
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
rdpInDeferredUpdateCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
Obt-Message: Xinerama extension is not present on the server
Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml"
/usr/bin/env: 'python': No such file or directory
ln: target '/gpodder/bin/gpodder' is not a directory
ln: target '/gpodder/bin/gpodder' is not a directory
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
07-May-2021 21:02:27.382 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR file [/usr/share/tomcat8/lib/commons-dbcp.jar], exists: [false], canRead: [false]

07-May-2021 21:02:27.388 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR file [/usr/share/tomcat8/lib/commons-pool.jar], exists: [false], canRead: [false]

07-May-2021 21:02:27.393 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.393 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.393 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.393 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.396 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.396 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.397 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.397 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.397 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.398 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/var/lib/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.398 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]

07-May-2021 21:02:27.398 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]

ln: target '/gpodder/bin/gpodder' is not a directory
07-May-2021 21:02:27.484 SEVERE [main] org.apache.catalina.startup.Catalina.initDirs Cannot find specified temporary folder at [/var/lib/tomcat8/temp]
07-May-2021 21:02:28.094 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.39 (Ubuntu)

07-May-2021 21:02:28.095 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 9 2019 19:47:51 UTC
07-May-2021 21:02:28.095 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.39.0
07-May-2021 21:02:28.095 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
07-May-2021 21:02:28.095 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.10.28-Unraid

07-May-2021 21:02:28.096 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
07-May-2021 21:02:28.096 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-11-openjdk-amd64
07-May-2021 21:02:28.096 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.11+9-Ubuntu-0ubuntu2.18.04

07-May-2021 21:02:28.096 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Ubuntu
07-May-2021 21:02:28.096 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /var/lib/tomcat8
07-May-2021 21:02:28.097 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/share/tomcat8
07-May-2021 21:02:28.097 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
07-May-2021 21:02:28.097 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
07-May-2021 21:02:28.097 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
07-May-2021 21:02:28.097 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
07-May-2021 21:02:28.098 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
07-May-2021 21:02:28.098 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
07-May-2021 21:02:28.098 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
07-May-2021 21:02:28.098 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
07-May-2021 21:02:28.098 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
07-May-2021 21:02:28.098 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/var/lib/tomcat8
07-May-2021 21:02:28.098 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat8
07-May-2021 21:02:28.099 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/var/lib/tomcat8/temp
07-May-2021 21:02:28.099 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
07-May-2021 21:02:28.139 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
07-May-2021 21:02:28.158 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
07-May-2021 21:02:28.174 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 691 ms
07-May-2021 21:02:28.243 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
07-May-2021 21:02:28.244 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.39 (Ubuntu)
07-May-2021 21:02:28.281 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/var/lib/tomcat8/webapps/ROOT.war]
ln: target '/gpodder/bin/gpodder' is not a directory
ln: target '/gpodder/bin/gpodder' is not a directory
07-May-2021 21:02:29.830 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
21:02:30.250 [localhost-startStop-1] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
21:02:30.341 [localhost-startStop-1] INFO o.a.g.rest.auth.HashTokenSessionMap - Sessions will expire after 60 minutes of inactivity.
ln: target '/gpodder/bin/gpodder' is not a directory
21:02:30.479 [localhost-startStop-1] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
21:02:30.605 [localhost-startStop-1] INFO o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support...
07-May-2021 21:02:30.918 WARNING [localhost-startStop-1] com.google.inject.internal.ProxyFactory.<init> Method [public void org.apache.guacamole.rest.user.UserResource.updateObject(java.lang.Object) throws org.apache.guacamole.GuacamoleException] is synthetic and is being intercepted by [org.apache.guacamole.rest.RESTExceptionWrapper@6577a859]. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.

07-May-2021 21:02:31.028 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.extension.ExtensionRESTService as a root resource class
07-May-2021 21:02:31.028 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.language.LanguageRESTService as a root resource class
07-May-2021 21:02:31.029 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.patch.PatchRESTService as a root resource class
07-May-2021 21:02:31.029 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.auth.TokenRESTService as a root resource class
07-May-2021 21:02:31.029 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.apache.guacamole.rest.session.SessionRESTService as a root resource class
07-May-2021 21:02:31.029 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register Registering org.codehaus.jackson.jaxrs.JacksonJsonProvider as a provider class
07-May-2021 21:02:31.032 INFO [localhost-startStop-1] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'

07-May-2021 21:02:31.135 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.codehaus.jackson.jaxrs.JacksonJsonProvider to GuiceManagedComponentProvider with the scope "Singleton"
ln: target '/gpodder/bin/gpodder' is not a directory

021 21:02:31.642 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.extension.ExtensionRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
07-May-2021 21:02:31.648 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.language.LanguageRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
07-May-2021 21:02:31.648 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.patch.PatchRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
07-May-2021 21:02:31.652 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.auth.TokenRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
07-May-2021 21:02:31.653 INFO [localhost-startStop-1] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider Binding org.apache.guacamole.rest.session.SessionRESTService to GuiceManagedComponentProvider with the scope "PerRequest"
07-May-2021 21:02:31.670 INFO [localhost-startStop-1] org.webjars.servlet.WebjarsServlet.init WebjarsServlet initialization completed
07-May-2021 21:02:31.690 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/var/lib/tomcat8/webapps/ROOT.war] has finished in [3,408] ms
07-May-2021 21:02:31.695 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
07-May-2021 21:02:31.715 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 3540 ms
ln: target '/gpodder/bin/gpodder' is not a directory
ln: target '/gpodder/bin/gpodder' is not a directory
ln: target '/gpodder/bin/gpodder' is not a directory
ln: target '/gpodder/bin/gpodder' is not a directory
ln: target '/gpodder/bin/gpodder' is not a directory

While the org.apache.catalina.startup.ClassLoaderFactory.validateFile warning still exist. I tried to add /gpodder (the git directory) to my 50-config script as up can see below, but that didn't seem to resolve the issue.


#!/usr/bin/with-contenv bash

# make our folders
mkdir -p /config/.config/gPodder

# set webserver port on first install
[[ ! -f /config/.config/gPodder/server-config.txt ]] && \
  echo "port 8080" > /config/.config/gPodder/server-config.txt

# permissions
chown -R abc:abc \
    /config \
    /gpodder \
    /downloads `
tobbenb commented 3 years ago

It might be better to jump on our discord to get help with your container.

Did you start with an empty /config? If not, you should try that.

xthursdayx commented 3 years ago

I did start with an empty /config, but yeah. I can close this and get onto the discord when I have a chance if that's better.

github-actions[bot] commented 3 years ago

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.

thelamer commented 2 years ago

I do not believe fuse support will be compiled out of xrdp to resolve this, reference here for bionic: https://github.com/linuxserver/docker-baseimage-rdesktop/blob/bionic/Dockerfile#L42-L49

The clipboard should be functional though.

In general I would recommend if you are planning on using base image give https://github.com/linuxserver/docker-baseimage-rdesktop-web a try it is actively maintained and is used for all of our desktop containers, IE: https://github.com/linuxserver/docker-firefox

It does not use the stock Guacamole client so that is definitely a downside if that is what you are looking for, but in general I would not expect any new functionality to be implemented in this base image unless a community member steps up.