[Bug 1989545] [NEW] ubuntu-bug fails when run via remote SSH login
Ian! D. Allen
1989545 at bugs.launchpad.net
Wed Sep 14 06:52:23 UTC 2022
Public bug reported:
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/if-up.d/resolved
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/snapd/hostfs/usr/local/share/fonts /usr/local/share/fonts none bind,ro 0 0): not a directory
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/libreoffice/help /usr/share/libreoffice/help none bind,ro 0 0): cannot create directory "/usr/share/libreoffice/help": permission denied
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot open directory "/var/lib": permission denied
/home/username/Music was removed, reassigning MUSIC to homedir
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=localhost:10.0, it should
detect this and not even try.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apport 2.20.11-0ubuntu82.1
ProcVersionSignature: Ubuntu 5.15.0-48.54-generic 5.15.53
Uname: Linux 5.15.0-48-generic x86_64
ApportLog:
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
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)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to jammy on 2022-04-04 (162 days ago)
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug jammy third-party-packages wayland-session
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1989545
Title:
ubuntu-bug fails when run via remote SSH login
Status in apport package in Ubuntu:
New
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/if-up.d/resolved
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/snapd/hostfs/usr/local/share/fonts /usr/local/share/fonts none bind,ro 0 0): not a directory
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/libreoffice/help /usr/share/libreoffice/help none bind,ro 0 0): cannot create directory "/usr/share/libreoffice/help": permission denied
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot open directory "/var/lib": permission denied
/home/username/Music was removed, reassigning MUSIC to homedir
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=localhost:10.0, it should
detect this and not even try.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apport 2.20.11-0ubuntu82.1
ProcVersionSignature: Ubuntu 5.15.0-48.54-generic 5.15.53
Uname: Linux 5.15.0-48-generic x86_64
ApportLog:
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
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)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to jammy on 2022-04-04 (162 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1989545/+subscriptions
More information about the foundations-bugs
mailing list