On 07/20/17 00:58, Rick Stevens wrote:
On 07/19/2017 09:35 AM, Alex Aycinena wrote:
> ---------- Forwarded message ----------
> From: Antonio M <antonio.montagnani(a)gmail.com
> <mailto:antonio.montagnani@gmail.com>>
> To: Community support for Fedora users
> <users(a)lists.fedoraproject.org
<mailto:users@lists.fedoraproject.org>>
> Cc:
> Bcc:
> Date: Wed, 19 Jul 2017 09:46:00 +0200
> Subject: Re: Adobe Acrobat & F26
> /opt/Adobe/Reader9/bin/acroread
> No protocol specified
>
> (acroread:5276): Gtk-WARNING **: cannot open display: :0
>
> in Fedora 26...
>
> Antonio Montagnani
>
> Linux Fedora 26(Workstation)
> inviato da Gmail
>
>
> Have you tried logging in under X11 instead of Wayland to see if that
> makes any difference. Other applications give that warning and fail to
> start under Wayland but work under X11.
Also look to see if you're getting an selinux AVC denial.
Well.... What I would do....
Since /usr/bin/acroread is a symbolic link to a shell script and since the shell
scripts sets up a bunch of environment variables so the binary
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread will run I would modify the shell
script to first output the environment to a file and then just prior to shell script
executing /opt/Adobe/Reader9/Reader/intellinux/bin/acroread I would again save the
environment to a file.
Then I would determine the difference in the environment .... apply that difference
to my running shell to mimic and then execute the binary
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread from gdb.
--
Fedora Users List - The place to go to speculate endlessly