Evince (No protocol specified) + NX floating windows mode

Bug #523803 reported by Nicolas DS on 2010-02-18
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evince
Invalid
Medium
evince (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: evince

1) Ubuntu 9.10
2) Evince 2.28.1-0ubuntu1.2
3) Evince should open.
4)

I am using NeatX (NoMachine NX free server) http://code.google.com/p/neatx/
ppa:freenx-team/ppa

When it is used in Floating Windows mode (no virtual desktop) evince drops with this message:

"No protocol specified
cannot parse arguments: Can't open display :"

It's the only application with such a problem...

ProblemType: Bug
Architecture: i386
Date: Thu Feb 18 14:30:56 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: evince 2.28.1-0ubuntu1.2
ProcEnviron:
 LANG=fr_BE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: evince
Uname: Linux 2.6.31-19-generic i686

Nicolas DS (zyphos) wrote :
Nicolas DS (zyphos) wrote :

Doesn't work even with ssh instead of NX:
ssh -X <targethost> gnome-session

error message:
(evince:2587): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

All others processes are working as expected.

Pedro Villavicencio (pedro) wrote :

This bug is an upstream one and it would be quite helpful if somebody experiencing it could send the bug the to the people writing the software. You can learn more about how to do this for various upstreams at https://wiki.ubuntu.com/Bugs/Upstream/GNOME . Thanks in advance!

Changed in evince (Ubuntu):
importance: Undecided → Low
Changed in evince:
importance: Undecided → Unknown
status: New → Unknown
Changed in evince (Ubuntu):
status: New → Triaged
Changed in evince:
status: Unknown → New
hedgehog (hedgehogshiatus) wrote :

I had this same experience. PDF files were not opening in evince. Desktop is a nomachine client connected to neatx server. Example:

    $ evince
    No protocol specified
    Cannot parse arguments: Cannot open display:
    $

Workaround, in the same terminal as above:

    $ xhost +
    access control disabled, clients can connect from any host
    $

Now evince opens PDF files, e.g. from within Chromium.

Speculation that the xhost command should be added to the NX client's "Run the following command":
E.g
xfce4-session & xhost +

HTH?

Changed in evince:
importance: Unknown → Medium
hedgehog (hedgehogshiatus) wrote :

In case it helps I also see this in /var/log/messages

    Oct 23 20:57:27 desktop kernel: [10274.479608] type=1503 audit(1287827847.361:21): operation="open" pid=30983 parent=1 profile="/usr/bin/evince" requested_mask="r::" denied_mask="r::" fsuid=1000 ouid=1000 name="/var/lib/neatx/sessions/DA21CD89AF002054190310D0FBDF4AD1/authority"

Jakob Unterwurzacher (jakobunt) wrote :

Had the same issue, that's not an evinve bug but an apparmor setting.

Jul 28 18:58:43 srv kernel: [72850.817899] type=1400 audit(1343494723.203:57): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/var/lib/neatx/sessions/BAE9AA453968D56474867B197BE1EFD3/authority" pid=9301 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

Changed in evince (Ubuntu):
status: Triaged → Invalid
Changed in evince:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.