Same problem in Ubuntu 24.04.2 LTS - running ubuntu-bug (or xdaliclock
or evince) via ssh from Ubuntu 20.04.6 LTS causes windows to open on the
display of the remote machine (24.04.2 LTS), not on the display of the
local machine (20.04.6 LTS). To reproduce:
On the local machine 20.04.6 LTS:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
$ echo $DISPLAY
:0
$ ps laxww | grep 'X.* :[0] '
0 1000 6352 6324 20 0 4144 1900 do_wai S+ tty1 0:00
xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth
/tmp/serverauth.5UYJOujUP2
4 1000 6353 6352 20 0 1284804 96728 ep_pol Sl tty1 29:54
/usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth
/tmp/serverauth.5UYJOujUP2
$ ssh tablet
Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-60-generic x86_64)
[...]
I am now logged in to the remote machine 24.04.2 LTS via ssh.
This machine runs Xwayland:
$ echo $DISPLAY
localhost:10.0
$ ps laxww | grep 'X.* :[0] '
0 1000 4168 3418 20 0 398576 87356 ep_pol Sl ? 0:01
/usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth
/run/user/1000/.mutter-Xwaylandauth.YP2362 -listenfd 4 -listenfd 5 -displayfd 6
-initfd 7 -byteswappedclients
On the remote machine I try all of these commands and they work fine
(displaying correctly on the local Xorg display, not on the remote Xwayland
display):
- xcalc, xclock, xdpyinfo, xeyes, xterm, xload, xlogo, xmessage, xev, xli
- xeglgears, xlsatoms, xlsclients, xmag, xman, xmore, xournal
- xprop, xrandr, xrdb, xrefresh, xsetroot, xvinfo, xwd, xwininfo
- gvim, glxgears
...all open windows correctly on the LOCAL machine Xorg display.
On the remote machine I try these commands below and they do not use the
LOCAL machine Xorg display; they incorrectly open on the REMOTE Xwayland
display:
$ ubuntu-bug xxx
dpkg-query: no packages found matching xxx
...opens window INcorrectly on the REMOTE machine Xwayland display...
$ xdaliclock
xdaliclock: Gdk: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW
(window)' failed
xdaliclock: Gdk: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW
(window)' failed
...opens window INcorrectly on the REMOTE machine Xwayland display...
$ evince file.pdf
...opens window INcorrectly on the REMOTE machine Xwayland display...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1989545
Title:
ubuntu-bug fails when run via remote SSH login
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1989545/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs