Bug 1398682 - can't open graphical applications as privileged user
Summary: can't open graphical applications as privileged user
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: wayland
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-25 14:50 UTC by Sandro Bonazzola
Modified: 2017-12-12 10:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:18:22 UTC
Type: Bug


Attachments (Terms of Use)

Description Sandro Bonazzola 2016-11-25 14:50:04 UTC
Description of problem:
When opening a graphical application as privileged user (su / sudo) from gnome-terminal the application can't be opened due to "Unable to init server: Could not connect: Connection refused
No protocol specified"

Version-Release number of selected component (if applicable):
gnome-terminal-3.22.1-1.fc25.x86_64

How reproducible: 100%


Steps to Reproduce:
1. open a gnome-terminal as an unprivileged user
2. $ LC_ALL=C sudo meld
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
2016-11-25 15:46:25,990 CRITICAL Gtk: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed


Actual results: No graphic application can be executed as privileged user


Expected results: graphic application can be executed as privileged user as in Fedora 24.

Comment 1 Sandro Bonazzola 2016-11-25 14:50:54 UTC
As a workaround it is still possible to ssh -X root@localhost.

Comment 2 Christian Persch 2016-11-25 19:31:25 UTC
Dedfinitely not a gnome-terminal bug, and it's working as designed: 
https://bugs.freedesktop.org/show_bug.cgi?id=17970

Comment 3 Sandro Bonazzola 2016-11-28 15:27:36 UTC
(In reply to Christian Persch (GNOME) from comment #2)
> Dedfinitely not a gnome-terminal bug, and it's working as designed: 
> https://bugs.freedesktop.org/show_bug.cgi?id=17970

You're right, not gnome-terminal. Specific to wayland. With Xorg server it still works.
About the design... I really hope they'll change their mind. But from my point of view it's a regression against fedora 24 since it require me to ssh to my host to do something I could do without using network.

Comment 4 Fedora End Of Life 2017-11-16 18:52:47 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2017-12-12 10:18:22 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.