After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616614 - ssh -X <host> evince failed to open view, NX doesn't work as well
ssh -X <host> evince failed to open view, NX doesn't work as well
Status: RESOLVED NOTABUG
Product: evince
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-23 08:43 UTC by zyphos
Modified: 2012-07-28 21:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description zyphos 2010-04-23 08:43:22 UTC
Hi,
I am trying to use evince in a virtual desktop environment.

So from another host I try:
ssh -X <host> evince 

error msg:
X11 connection rejected because of wrong authentication.
Cannot parse arguments: Can't open display :

that was working before version 2.28 of evince, and still working with all other program, even with "gedit".


With NX (NoMachine client, NeatX server)
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 :"
Comment 1 Thomas Schwinge 2012-01-02 11:38:39 UTC
I'm seeing the same issue when ``ssh -X''ing from one machine to the
other.  I very much suspect the problem is with X authentication, or the
lack there of, because of:

/var/log/syslog:
    [...]
    Jan  2 11:35:15 feldtkeller kernel: [213692.473901] type=1400 audit(1325504115.745:875): apparmor="DENIED" operation="open" parent=5772 profile="/usr/bin/evince" name="/media/data/home/thomas/.Xauthority" pid=5899 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

As already told by zyphos, this is not a problem with other applications,
such as gedit.
Comment 2 Thomas Schwinge 2012-01-03 16:04:25 UTC
For me it was a genuine apparmor issue.  I have a symlink /home ->
/media/kepler-data/home.  As per
<https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/447292>, I have
to tell apparmor about this, which I have done with dpkg-reconfigure
apparmor, and specifying that directory, which adds the path to
/etc/apparmor.d/tunables/home.d/ubuntu.  Case closed for me.
Comment 3 Jakob Unterwurzacher 2012-07-28 17:03:17 UTC
I think this should be closed. I had the same issue, and it's not an evince bug but an apparmor setting.