apport-bug unable to init server, dumps core
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After upgrading to 17.10, apport-bug fails with the follow error:
# apport-bug
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
Segmentation fault (core dumped)
Calling apport-cli directly works just fine. The problem seems to be a general Xwayland permission issue, since nothing can connect to the display server if sudo/su is used:
$ sudo xclock
No protocol specified
Error: Can't open display: :0
$ xauth list
xauth: file /home/user/
If that's the way things are going to be in Ubuntu from now on, we need to make apport-bug a bit smarter in the way it decides whether to use the GUI version or not.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: apport 2.20.7-0ubuntu3
ProcVersionSign
Uname: Linux 4.13.0-15-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CrashReports: 640:0:119:
Date: Fri Oct 13 09:49:17 2017
InstallationDate: Installed on 2016-12-02 (313 days ago)
InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
PackageArchitec
ProcEnviron:
LANG=en_AU.UTF-8
SHELL=/bin/bash
TERM=xterm-
LANGUAGE=en_AU:en
PATH=(custom, no user)
SourcePackage: apport
UpgradeStatus: Upgraded to artful on 2017-10-12 (0 days ago)
This looks like a duplicate of bug 1713313 but LP keeps timing out when I try to mark it as one.