$> xpra -d printing --daemon=no start :100 --tcp-auth=password:value=${XPRA_PASSWORD} --bind-tcp=${XPRA_IP}:10000 X.Org X Server 1.17.2 Release Date: 2015-06-16 X Protocol Version 11, Revision 0 Build Operating System: 2.6.32-220.17.1.el6.x86_64 Current Operating System: Linux xappdisp_eric 4.7.7-200.fc24.x86_64 #1 SMP Sat Oct 8 00:21:59 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/vmlinuz-4.7.7-200.fc24.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap resume=/dev/dm-1 rhgb quiet LANG=fr_FR.UTF-8 Build Date: 20 November 2015 02:44:25PM Build ID: xorg-x11-server 1.17.2-10.el7 Current version of pixman: 0.32.6 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/rdisp/.xpra/Xorg.:100.log", Time: Wed Oct 19 13:53:45 2016 (++) Using config file: "/etc/xpra/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" created unix domain socket: /home/rdisp/.xpra/xappdisp_eric-100 Warning: libvpx ABI version 5 is too old: disabling YUV444P support with VP9 Warning: failed to load the mdns avahi publisher: No module named avahi either fix your installation or use the 'mdns=no' option Warning: webcam forwarding is disabled the virtual video directory '/sys/devices/virtual/video4linux' was not found make sure that the 'v4l2loopback' kernel module is installed and loaded found 0 virtual video devices for webcam forwarding Warning: failed to import GStreamer: GStreamer 1.0: Namespace Gst not available GStreamer 0.10: No module named pygst Error: failed to query sound subsystem: query did not return any data D-Bus notification forwarding is available started command '/home/rdisp/.xpra/xpra_child.sh' with pid 68 local sockets we can use for printing: ['/home/rdisp/.xpra/xappdisp_eric-100'] xpra X11 version 1.0-r14149 64-bit uid=1000, gid=1000 running with pid 18 on Linux CentOS Linux 7.2.1511 Core connected to X11 display :100 xpra is ready. pycups settings: DEFAULT_CUPS_DBUS=1, CUPS_DBUS=1, POLLING_DELAY=60 pycups settings: PRINTER_PREFIX=, ADD_LOCAL_PRINTERS=False pycups settings: FORWARDER_TMPDIR=/tmp pycups settings: SKIPPED_PRINTERS=['Cups-PDF'] DEFAULT_CUPS_OPTIONS={'fit-to-page': 'True'} get_printer_definitions() UNPROBED_PRINTER_DEFS={}, GENERIC=True get_mimetype()=['application/pdf', 'application/postscript'] get_lpinfo_drv(Generic PDF Printer) command=['/usr/sbin/lpinfo', '--make-and-model', 'Generic PDF Printer', '-m'] lpinfo out=lsb/usr/cupsfilters/Generic-PDF_Printer-PDF.ppd Generic PDF Printer\n lpinfo err= get_lpinfo_drv(Generic PostScript Printer) command=['/usr/sbin/lpinfo', '--make-and-model', 'Generic PostScript Printer', '-m'] lpinfo out=drv:///sample.drv/generic.ppd Generic PostScript Printer\n lpinfo err= pycups settings: PRINTER_DEF={'application/postscript': ['-m', 'drv:///sample.drv/generic.ppd'], 'application/pdf': ['-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd']} printer forwarding enabled using postscript and pdf init_printing() printing=True 7.8GB of system memory New tcp connection received from 172.19.0.1:47172 Authentication required by password authenticator module sending challenge for username 'eric' using hmac digest Handshake complete; enabling connection Python/Gtk2 Linux Fedora 24 Twenty Four x11 client version 1.0-r14149 64-bit connected from 'lys.local' as 'eric' using h264 as primary encoding also available: vp9, vp8, mpeg4, png, png/P, png/L, rgb24, jpeg, rgb32 client root window size is 1680x1050 with 1 display: :0.0 (444x277 mm - DPI: 96x96) workarea: 1680x1016 monitor 1 (474x296 mm - DPI: 90x90) server virtual display now set to 1680x1050 setting key repeat rate from client: 600ms delay / 40ms interval setting keymap: rules=evdev, model=pc101, layout=fr The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols > Ignoring extra symbols Errors from xkbcomp are not fatal to the X server client 1: Attached to tcp:localhost:10000 (press Control-C to detach) DPI set to 96 x 96 get_mimetype()=['application/pdf', 'application/postscript'] set_printers({'Xerox_Phaser_3250': {'printer-info': 'Xerox Phaser 3250', 'mimetypes': ('application/pdf', 'application/postscript'), 'device-uri': 'usb://Xerox/Phaser%203250?serial=3969298510'}, 'HP_HP_LaserJet_1200': {'printer-info': 'HP HP LaserJet 1200', 'mimetypes': ('application/pdf', 'application/postscript'), 'device-uri': 'dnssd://Hewlett-Packard%20HP%20LaserJet%201200%20%40%20tadoussac._ipp._tcp.local/cups?uuid=5d554f88-c8e2-39ae-5864-b09c8b939476'}}, , None, , ) for X11ServerSource(1 : Protocol(tcp socket: 172.19.0.2:10000 <- 172.19.0.1:47172)) add_printer('Xerox_Phaser_3250', {'printer-info': 'Xerox Phaser 3250', 'mimetypes': ('application/pdf', 'application/postscript'), 'device-uri': 'usb://Xerox/Phaser%203250?serial=3969298510'}, 'Xerox Phaser 3250', 'on lys.local (via xpra)', {'remote-device-uri': 'usb://Xerox/Phaser%203250?serial=3969298510', 'source': '2063309e720547981b7a1bdb85b93ff4306c5c78', 'socket-path': '/home/rdisp/.xpra/xappdisp_eric-100', 'display': ':100', 'remote-printer': 'Xerox_Phaser_3250'}, ) using printer definition '['-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd']' for application/pdf pycups_printing adding printer: ['-p', 'Xerox_Phaser_3250', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Frdisp%2F.xpra%2Fxappdisp_eric-100&remote-printer=Xerox_Phaser_3250&remote-device-uri=usb%3A%2F%2FXerox%2FPhaser%25203250%3Fserial%3D3969298510&source=2063309e720547981b7a1bdb85b93ff4306c5c78&display=%3A100', '-D', 'Xerox Phaser 3250', '-L', 'on lys.local (via xpra)', '-E', '-o', 'printer-is-shared=true', '-u', 'allow:all', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd'] exec_lpadmin(['-p', 'Xerox_Phaser_3250', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Frdisp%2F.xpra%2Fxappdisp_eric-100&remote-printer=Xerox_Phaser_3250&remote-device-uri=usb%3A%2F%2FXerox%2FPhaser%25203250%3Fserial%3D3969298510&source=2063309e720547981b7a1bdb85b93ff4306c5c78&display=%3A100', '-D', 'Xerox Phaser 3250', '-L', 'on lys.local (via xpra)', '-E', '-o', 'printer-is-shared=true', '-u', 'allow:all', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd']) command=['/usr/sbin/lpadmin', '-p', 'Xerox_Phaser_3250', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Frdisp%2F.xpra%2Fxappdisp_eric-100&remote-printer=Xerox_Phaser_3250&remote-device-uri=usb%3A%2F%2FXerox%2FPhaser%25203250%3Fserial%3D3969298510&source=2063309e720547981b7a1bdb85b93ff4306c5c78&display=%3A100', '-D', 'Xerox Phaser 3250', '-L', 'on lys.local (via xpra)', '-E', '-o', 'printer-is-shared=true', '-u', 'allow:all', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd'] add_printer('HP_HP_LaserJet_1200', {'printer-info': 'HP HP LaserJet 1200', 'mimetypes': ('application/pdf', 'application/postscript'), 'device-uri': 'dnssd://Hewlett-Packard%20HP%20LaserJet%201200%20%40%20tadoussac._ipp._tcp.local/cups?uuid=5d554f88-c8e2-39ae-5864-b09c8b939476'}, 'HP HP LaserJet 1200', 'on lys.local (via xpra)', {'remote-device-uri': 'dnssd://Hewlett-Packard%20HP%20LaserJet%201200%20%40%20tadoussac._ipp._tcp.local/cups?uuid=5d554f88-c8e2-39ae-5864-b09c8b939476', 'source': '2063309e720547981b7a1bdb85b93ff4306c5c78', 'socket-path': '/home/rdisp/.xpra/xappdisp_eric-100', 'display': ':100', 'remote-printer': 'HP_HP_LaserJet_1200'}, ) using printer definition '['-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd']' for application/pdf pycups_printing adding printer: ['-p', 'HP_HP_LaserJet_1200', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Frdisp%2F.xpra%2Fxappdisp_eric-100&remote-printer=HP_HP_LaserJet_1200&remote-device-uri=dnssd%3A%2F%2FHewlett-Packard%2520HP%2520LaserJet%25201200%2520%2540%2520tadoussac._ipp._tcp.local%2Fcups%3Fuuid%3D5d554f88-c8e2-39ae-5864-b09c8b939476&source=2063309e720547981b7a1bdb85b93ff4306c5c78&display=%3A100', '-D', 'HP HP LaserJet 1200', '-L', 'on lys.local (via xpra)', '-E', '-o', 'printer-is-shared=true', '-u', 'allow:all', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd'] exec_lpadmin(['-p', 'HP_HP_LaserJet_1200', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Frdisp%2F.xpra%2Fxappdisp_eric-100&remote-printer=HP_HP_LaserJet_1200&remote-device-uri=dnssd%3A%2F%2FHewlett-Packard%2520HP%2520LaserJet%25201200%2520%2540%2520tadoussac._ipp._tcp.local%2Fcups%3Fuuid%3D5d554f88-c8e2-39ae-5864-b09c8b939476&source=2063309e720547981b7a1bdb85b93ff4306c5c78&display=%3A100', '-D', 'HP HP LaserJet 1200', '-L', 'on lys.local (via xpra)', '-E', '-o', 'printer-is-shared=true', '-u', 'allow:all', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd']) command=['/usr/sbin/lpadmin', '-p', 'HP_HP_LaserJet_1200', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Frdisp%2F.xpra%2Fxappdisp_eric-100&remote-printer=HP_HP_LaserJet_1200&remote-device-uri=dnssd%3A%2F%2FHewlett-Packard%2520HP%2520LaserJet%25201200%2520%2540%2520tadoussac._ipp._tcp.local%2Fcups%3Fuuid%3D5d554f88-c8e2-39ae-5864-b09c8b939476&source=2063309e720547981b7a1bdb85b93ff4306c5c78&display=%3A100', '-D', 'HP HP LaserJet 1200', '-L', 'on lys.local (via xpra)', '-E', '-o', 'printer-is-shared=true', '-u', 'allow:all', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd'] returncode(['/usr/sbin/lpadmin', '-p', 'Xerox_Phaser_3250', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Frdisp%2F.xpra%2Fxappdisp_eric-100&remote-printer=Xerox_Phaser_3250&remote-device-uri=usb%3A%2F%2FXerox%2FPhaser%25203250%3Fserial%3D3969298510&source=2063309e720547981b7a1bdb85b93ff4306c5c78&display=%3A100', '-D', 'Xerox Phaser 3250', '-L', 'on lys.local (via xpra)', '-E', '-o', 'printer-is-shared=true', '-u', 'allow:all', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd'])=0 the remote printer 'Xerox_Phaser_3250' has been configured returncode(['/usr/sbin/lpadmin', '-p', 'HP_HP_LaserJet_1200', '-v', 'xpraforwarder:/tmp?mimetype=application%2Fpdf&socket-path=%2Fhome%2Frdisp%2F.xpra%2Fxappdisp_eric-100&remote-printer=HP_HP_LaserJet_1200&remote-device-uri=dnssd%3A%2F%2FHewlett-Packard%2520HP%2520LaserJet%25201200%2520%2540%2520tadoussac._ipp._tcp.local%2Fcups%3Fuuid%3D5d554f88-c8e2-39ae-5864-b09c8b939476&source=2063309e720547981b7a1bdb85b93ff4306c5c78&display=%3A100', '-D', 'HP HP LaserJet 1200', '-L', 'on lys.local (via xpra)', '-E', '-o', 'printer-is-shared=true', '-u', 'allow:all', '-P', '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd'])=0 the remote printer 'HP_HP_LaserJet_1200' has been configured failed to manage client : XError: BadWindow Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/xpra/x11/gtk2/wm.py", line 346, in _manage_client self.do_manage_client(gdkwindow) File "/usr/lib64/python2.7/site-packages/xpra/gtk_common/error.py", line 168, in __exit__ trap._exit(True) File "/usr/lib64/python2.7/site-packages/xpra/gtk_common/error.py", line 100, in _exit raise XError(get_X_error(error)) XError: XError: BadWindow invalid window specified for refresh: 9 New unix-domain connection received on /home/rdisp/.xpra/xappdisp_eric-100 Python/GObject/Print client version 1.0-r14149 64-bit connected from 'xappdisperic' as 'root' process_print: ('2063309e720547981b7a1bdb85b93ff4306c5c78', 'application/pdf', '7395 bytes', '2063309e720547981b7a1bdb85b93ff4306c5c78', 'Untitled1', 'Xerox_Phaser_3250', '1', 'PageSize=A4 job-uuid=urn:uuid:8969ba04-18ed-3bf4-5b5f-6d4619a262de job-originating-host-name=172.19.0.3 time-at-creation=1476885259 time-at-processing=1476885259') process_print: got 7395 bytes for file 2063309e720547981b7a1bdb85b93ff4306c5c78 sha1 digest: c3576dac636aa5936be2265728db719be87b74c9 parsed printer options: {'sha1': 'c3576dac636aa5936be2265728db719be87b74c9', 'printer': 'Xerox_Phaser_3250', 'options': {'time-at-processing': '1476885259', 'time-at-creation': '1476885259', 'job-originating-host-name': '172.19.0.3', 'PageSize': 'A4', 'job-uuid': 'urn:uuid:8969ba04-18ed-3bf4-5b5f-6d4619a262de'}, 'copies': '1', 'title': 'Untitled1'} 'Untitled1' sent to X11ServerSource(1 : Protocol(tcp socket: 172.19.0.2:10000 <- 172.19.0.1:47172)) for printing on 'Xerox_Phaser_3250' send_file('2063309e720547981b7a1bdb85b93ff4306c5c78', 'application/pdf', , '7395 bytes', True, True, {'sha1': 'c3576dac636aa5936be2265728db719be87b74c9', 'printer': 'Xerox_Phaser_3250', 'options': {'time-at-processing': '1476885259', 'time-at-creation': '1476885259', 'job-originating-host-name': '172.19.0.3', 'PageSize': 'A4', 'job-uuid': 'urn:uuid:8969ba04-18ed-3bf4-5b5f-6d4619a262de'}, 'copies': '1', 'title': 'Untitled1'}) not sending to X11ServerSource(2 : Protocol(unix-domain socket:/home/rdisp/.xpra/xappdisp_eric-100)) (wanted uuid=2063309e720547981b7a1bdb85b93ff4306c5c78) 'Untitled1' (7KB) sent to 1 client for printing client 1: downloaded 7395 bytes to application/pdf file for printing: client 1: '/home/eric/Downloads/2063309e720547981b7a1bdb85b93ff4306c5c78.pdf' client 1: sending 'Untitled1' to printer 'Xerox_Phaser_3250' client 1: Unhandled error while processing a 'send-file' packet from peer using client 1: File "/usr/lib64/python2.7/site-packages/xpra/client/client_base.py", line 871, in process_packet client 1: handler(packet) client 1: File "/usr/lib64/python2.7/site-packages/xpra/net/file_transfer.py", line 278, in _process_send_file client 1: self.do_process_downloaded_file(filename, mimetype, printit, openit, filesize, options) client 1: File "/usr/lib64/python2.7/site-packages/xpra/net/file_transfer.py", line 284, in do_process_downloaded_file client 1: self._print_file(filename, mimetype, options) client 1: File "/usr/lib64/python2.7/site-packages/xpra/net/file_transfer.py", line 322, in _print_file client 1: job = print_files(printer, [filename], title, options) client 1: File "/usr/lib64/python2.7/site-packages/xpra/platform/pycups_printing.py", line 412, in print_files client 1: printpid = conn.printFiles(printer, filenames, title, actual_options) xpra client 2 disconnected. all children have exited and --exit-with-children was specified, exiting Disconnecting client 172.19.0.1:47172: server shutdown remove_printer(Xerox_Phaser_3250) exec_lpadmin(['-x', 'Xerox_Phaser_3250']) command=['/usr/sbin/lpadmin', '-x', 'Xerox_Phaser_3250'] remove_printer(HP_HP_LaserJet_1200) exec_lpadmin(['-x', 'HP_HP_LaserJet_1200']) command=['/usr/sbin/lpadmin', '-x', 'HP_HP_LaserJet_1200'] xpra client 1 disconnected. returncode(['/usr/sbin/lpadmin', '-x', 'Xerox_Phaser_3250'])=0 returncode(['/usr/sbin/lpadmin', '-x', 'HP_HP_LaserJet_1200'])=0 xpra is terminating. closing TCP socket 0.0.0.0:10000 killing xvfb with pid 34 removing socket /home/rdisp/.xpra/xappdisp_eric-100 (II) Server terminated successfully (0). Closing log file.