$ sudo docker run --interactive --tty --rm -p 8080:8080 --name xpra xpra [sudo] password for matteo: 2018-07-05 14:28:26,374 cannot access python uinput module: 2018-07-05 14:28:26,375 No module named uinput _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. Failed to rename log file "/home/matteo/xpra/Xorg.S8.log" to "/home/matteo/xpra/Xorg.S8.log": No such file or directory X.Org X Server 1.19.5 Release Date: 2017-10-12 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.4.0-97-generic x86_64 Ubuntu Current Operating System: Linux 5501d7779fd7 4.17.3-1-ARCH #1 SMP PREEMPT Tue Jun 26 04:42:36 UTC 2018 x86_64 Kernel command line: root=PARTUUID=d5239787-5e10-4dfb-a1fc-a8372731cd75 rw initrd=/intel-ucode.img initrd=/initramfs-linux.img Build Date: 15 October 2017 05:51:19PM xorg-server 2:1.19.5-0ubuntu2 (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: "/home/matteo/xpra/Xorg.S8.log", Time: Thu Jul 5 14:28:27 2018 (++) Using config file: "/etc/xpra/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" 2018-07-05 14:28:29,688 Warning: failed to create socket directory '/run/user/1988/xpra' 2018-07-05 14:28:29,688 [Errno 2] No such file or directory: '/run/user/1988/xpra' 2018-07-05 14:28:29,688 Warning: failed to create socket directory '/run/xpra' 2018-07-05 14:28:29,688 [Errno 13] Permission denied: '/run/xpra' 2018-07-05 14:28:29,689 Warning: cannot create socket '/run/user/1988/xpra/5501d7779fd7-0': 2018-07-05 14:28:29,689 [Errno 2] No such file or directory 2018-07-05 14:28:29,689 /run/user does not exist 2018-07-05 14:28:29,689 created unix domain socket: /home/matteo/.xpra/5501d7779fd7-0 2018-07-05 14:28:29,689 cannot create group socket '/run/xpra/5501d7779fd7-0' 2018-07-05 14:28:29,689 [Errno 2] No such file or directory 2018-07-05 14:28:29,689 /run/xpra does not exist 2018-07-05 14:28:30,758 Warning: the python netifaces package is missing 2018-07-05 14:28:30,766 pointer device emulation using XTest 2018-07-05 14:28:31,504 serving html content from: /usr/share/xpra/www 2018-07-05 14:28:31,557 D-Bus notification forwarding is available 2018-07-05 14:28:32,240 GStreamer version 1.12.3 for Python 2.7.14 64-bit 2018-07-05 14:28:32,287 xpra X11 version 2.3.2-r19729 64-bit 2018-07-05 14:28:32,287 uid=1988 (matteo), gid=1988 (matteo) 2018-07-05 14:28:32,287 running with pid 8 on Linux Ubuntu 17.10 artful 2018-07-05 14:28:32,287 connected to X11 display :0 with 24 bit colors 2018-07-05 14:28:32,297 xpra is ready. 2018-07-05 14:28:32,633 Warning: lpinfo command failed and returned 1 2018-07-05 14:28:32,633 command used: '/usr/sbin/lpinfo --make-and-model Generic PDF Printer -m' 2018-07-05 14:28:32,873 Warning: lpinfo command failed and returned 1 2018-07-05 14:28:32,873 command used: '/usr/sbin/lpinfo --make-and-model Generic PostScript Printer -m' 2018-07-05 14:28:32,873 printer forwarding enabled using pdf 2018-07-05 14:28:33,115 30.8GB of system memory 2018-07-05 14:28:44,218 Handshake complete; enabling connection 2018-07-05 14:28:44,226 automatic picture encoding enabled, also available: 2018-07-05 14:28:44,226 jpeg, png, rgb32, webp 2018-07-05 14:28:44,226 HTML5 Linux Chrome client version 2.3.2 2018-07-05 14:28:44,227 client root window size is 1264x1286 with 1 display: 2018-07-05 14:28:44,227 HTML (334x340 mm - DPI: 96x96) 2018-07-05 14:28:44,227 Canvas 2018-07-05 14:28:44,247 server virtual display now set to 1280x1344 (best match for 1264x1286) 2018-07-05 14:28:44,249 setting keyboard layout to 'us' 2018-07-05 14:28:44,282 DPI set to 96 x 96 2018-07-05 14:28:44,299 client got hello: server version 2.3.2 accepted our connection 2018-07-05 14:28:44,536 client connection_progress( Session started , , 100 ) 2018-07-05 14:28:44,536 client startup complete lpadmin: Unable to connect to server: Bad file descriptor 2018-07-05 14:28:44,540 lpadmin failed and returned error code: 1 2018-07-05 14:28:44,540 verify that user 'matteo' has all the required permissions 2018-07-05 14:28:44,540 for running: '/usr/sbin/lpadmin' 2018-07-05 14:28:44,540 full command: '/usr/sbin/lpadmin' '-p' 'HTML5-client' '-v' 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Fmatteo%2F.xpra%2F5501d7779fd7-0&remote-printer=HTML5+client&remote-device-uri=None&source=c76c4526-ee43-8c81-3025-6e3da897fdb9&display=%3A0' '-D' 'Print to PDF in client browser' '-L' 'via xpra' '-E' '-o' 'printer-is-shared=false' '-u' 'allow:$USER' '-P' '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd'