Etherape does not detect display when running as root on Wayland

Bug #1650801 reported by Wise Melon on 2016-12-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Etherape
New
High
Unassigned
Ubuntu GNOME
Low
Unassigned
etherape (Ubuntu)
Medium
Unassigned

Bug Description

When I run Etherape as a normal user it launches, but as my system is configured so that only root can capture, I am forced to run Etherape with sudo, however this means that the only output I get is this and that the program does not work as it does not launch and just exist after printing this:

    No protocol specified

    (etherape:2294): Gtk-WARNING **: cannot open display: :0

I am running Ubuntu GNOME 16.10 with GNOME 3.22 and this only started happening after I switched from Xorg to Wayland via the login screen.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: etherape 0.9.13-1ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-30.32-generic 4.8.6
Uname: Linux 4.8.0-30-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Dec 17 18:39:30 2016
InstallationDate: Installed on 2016-05-15 (216 days ago)
InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: etherape
UpgradeStatus: Upgraded to yakkety on 2016-10-19 (58 days ago)

description: updated
Jeremy Bicha (jbicha) wrote :

See the response on this mostly unrelated bug: https://bugs.debian.org/818366

no longer affects: gnome-shell (Ubuntu)
Changed in ubuntu-gnome:
importance: Undecided → Low
status: New → Confirmed
Jeremy Bicha (jbicha) wrote :

I suggested you file against gnome-shell (Ubuntu) when you asked for a specific place to report these kinds of issues. At least reporting there would allow for someone to triage them to where the bug probably exists. But usually, these aren't actually bugs in Wayland or GNOME so you can file directly against the affected package if you like.

Right, thanks for letting me know!

Changed in etherape (Ubuntu):
status: New → Confirmed

A report has been filed upstream: https://sourceforge.net/p/etherape/bugs/103/

Changed in etherape:
importance: Undecided → High
Jeremy Bicha (jbicha) on 2017-07-12
tags: added: wayland

They have added a new -Z option allowing the GUI to run as the specified normal user rather than as root and it works like this on my Arch system with Etherape version 0.9.15.

Changed in etherape (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
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.