ubuntu-bug fails when run via remote SSH login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm running Ubuntu 20.04 on my desktop. I SSH into my laptop running 22.04:
desktop$ ssh laptop
laptop$ sudo -sE
laptop#
If I now run most any X11 client applications (e.g. xload, xterm)
using this laptop SSH command line, they correctly open windows on my
desktop X11 display, not on my laptop, using the DISPLAY variable set
to localhost:10.0. But ubuntu-bug does not do this when I run it on
the laptop:
laptop# ubuntu-bug /etc/network/
At this point, the laptop display incorrectly has the apport X11 window
open. The apport window does not open on my desktop, like any other
X11 application would. It appears to ignore my DISPLAY variable.
If I go over to the laptop and try to continue with the bug report,
everything falls apart when it tries to start up a web browser. I get
all these error messages on my SSH terminal screen:
update.go:85: cannot change mount namespace according to change mount (/var/lib/
update.go:85: cannot change mount namespace according to change mount (/var/lib/
update.go:85: cannot change mount namespace according to change mount (/var/lib/
/home/
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
Error: cannot open display: localhost:10.0
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
If ubuntu-bug cannot work over SSH with DISPLAY=
detect this and not even try.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apport 2.20.11-0ubuntu82.1
ProcVersionSign
Uname: Linux 5.15.0-48-generic x86_64
ApportLog:
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 14 02:33:18 2022
InstallationDate: Installed on 2020-09-08 (735 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitec
SourcePackage: apport
UpgradeStatus: Upgraded to jammy on 2022-04-04 (162 days ago)
ubuntu-bug should work with DISPLAY set to an remote display. I checked the code: It does not fiddle around with the DISPLAY environment variable.
Can you check if X11 is used instead of wayland? Have you tried calling /usr/share/ apport/ apport- gtk directly? Is /usr/share/ apport/ apport- kde affected as well?