I didn't have time to look into the problem in the last days.
Today, I wanted to, but the situation changes completely.
I assume this is due to your commits
- 0fad2a9a1d0c19c130d7b023cf016075e2c4d414, which creates the folder I mention in my error log.
- afd2795ec625b0f630ab9cd01e3b8803da56fcdd, which separates bind-tcp from tcp-auth.
But still, the filebot-xpra docker container does not work in my Pi4.
Instead, I receive the following output:
Code: Select all
ubuntu@ubuntu:~/filebot-docker$ docker run --rm -it -v $PWD:/volume1 -v data:/data -p 5454:5454 rednoah/filebot:xpra
+ xpra start --start-child=filebot --exit-with-children --bind-tcp=0.0.0.0:5454 --tcp-auth=none --daemon=no
2021-11-01 17:37:40,891 Warning: failed to create script directory '/run/user/1000/xpra':
2021-11-01 17:37:40,892 [Errno 2] No such file or directory: '/run/user/1000/xpra'
2021-11-01 17:37:40,893 ($XDG_RUNTIME_DIR has not been created?)
2021-11-01 17:37:41,199 created tcp socket '0.0.0.0:5454'
2021-11-01 17:37:41,204 cannot access python uinput module:
2021-11-01 17:37:41,204 No module named 'uinput'
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux 3ee3c989b04a 5.4.0-1045-raspi #49-Ubuntu SMP PREEMPT Wed Sep 29 17:49:16 UTC 2021 aarch64
Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:5B:C7:F6 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
Build Date: 06 July 2021 10:17:51AM
xorg-server 2:1.20.11-1ubuntu1~20.04.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
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: "/tmp/Xorg.S41.log", Time: Mon Nov 1 17:37:47 2021
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2021-11-01 17:38:01,242 stopping vfb process with pid 49
xpra initialization error:
/usr/lib/xorg/Xorg: did not provide a display number using displayfd
(EE)
Fatal server error:
(EE) Cannot write display number to fd 5
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.S41.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
As the first issue is a missing python package, I build the container myself with an empty entrypoint. Then, I ran is interactively with bash, installed the module, and ran the entrypoint commands myself:
Code: Select all
ubuntu@ubuntu:~/filebot-docker$ docker run --rm -it -v $PWD:/volume1 -v data:/data -p 5454:5454 filebot_xpra_test /bin/bash
root@3a0ff79093e3:/# apt-get update
[...]
Reading package lists... Done
root@3a0ff79093e3:/# apt-get install python3-pip
[...]
root@3a0ff79093e3:/# python3 -m pip install python-uinput
[...]
Successfully installed python-uinput-0.11.2
root@3a0ff79093e3:/# /opt/bin/run-as-user /opt/filebot-xpra/start
+ xpra start --start-child=filebot --exit-with-children --bind-tcp=0.0.0.0:5454 --tcp-auth=none --daemon=no
2021-11-01 17:44:51,025 Warning: failed to create script directory '/run/user/1000/xpra':
2021-11-01 17:44:51,025 [Errno 2] No such file or directory: '/run/user/1000/xpra'
2021-11-01 17:44:51,025 ($XDG_RUNTIME_DIR has not been created?)
2021-11-01 17:44:51,270 created tcp socket '0.0.0.0:5454'
2021-11-01 17:44:51,291 cannot use uinput for virtual devices:
2021-11-01 17:44:51,291 [Errno 2] Failed to open the uinput device: No such file or directory. Perhaps load the uinput kernel module first?
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux 3a0ff79093e3 5.4.0-1045-raspi #49-Ubuntu SMP PREEMPT Wed Sep 29 17:49:16 UTC 2021 aarch64
Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:5B:C7:F6 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
Build Date: 06 July 2021 10:17:51AM
xorg-server 2:1.20.11-1ubuntu1~20.04.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
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: "/tmp/Xorg.S940.log", Time: Mon Nov 1 17:44:57 2021
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2021-11-01 17:45:11,329 stopping vfb process with pid 951
xpra initialization error:
/usr/lib/xorg/Xorg: did not provide a display number using displayfd
root@3a0ff79093e3:/# (EE)
Fatal server error:
(EE) Cannot write display number to fd 5
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.S940.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
The problem with uinput device changed only slightly, but I do not know if this is the root cause of the problem.
Any ideas what to try next?