The actual permissions on the socket that the error complains about: $ ls -l /run/user/1000/at-spi/bus_1 srwxrwxrwx 1 usern usern 0 Oct 21 09:02 /run/user/1000/at-spi/bus_1
I do have the ttf-mscorefonts-installer package installed, but even ps files with no fonts do not display: A line drawn on the page show on the evince initial display page but no preview, no printer output. $ cat tst.ps %!PS newpath 72 72 moveto 200 200 lineto stroke showpage The printer is an HP Officejet J3680 All-In-One (obsolete), but other programs do successfully print ps to it. In the past, I used evince to print my ps files, but now I have to use qpdfview (text files generated by a2ps). -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/2000275 Title: evince neither prints nor previews postscript documents Status in evince package in Ubuntu: Confirmed Bug description: evince does successfully display a ps document, but when attempting to print or preview (whether to a file or printer) fails, with either a blank page (for print) or blank window (for preview) produced, and some error output at the terminal. Any ps document (text or graphical) has this failure. A PDF document succeeds in the print preview, but with the same warning (see below examples) so the warning may not be important. qpdfview does successfully print the ps file, so not a hardware issue. User logged in using xorg. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy $ evince --version GNOME Document Viewer 42.3 $ ghostscript --version 9.55.0 Screen display works for ps files, but a warning and error are produced when attempting to print or preview a postscript file (see below). The same warning is produced for print/preview of a pdf file, but the preview succeeds. A comment was added to launchpad bug 1978838 which had this same warning when launching evince. evince does not crash, the display of the file is not affected when the print/preview fails. ===ps preview/print fails when preview button is pushed === $ evince ./parallel/mpi/mpich-1.2.0/doc/install.ps GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1 (libspectre) ghostscript reports: fatal internal error -100 (evince-previewer:3039): dbind-WARNING **: 14:04:36.390: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_1: Permission denied === PDF preview succeeded even with the warning === $ evince ./patches/bdp1600/Upgrade_Guide_USB.pdf (evince-previewer:5688): dbind-WARNING **: 14:46:13.409: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_1: Permission denied ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: evince 42.3-0ubuntu2 ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64 Uname: Linux 5.15.0-56-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Wed Dec 21 15:12:58 2022 InstallationDate: Installed on 2022-06-10 (194 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/2000275/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

