Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-65490

RHEL 9 dbus-x11 is missing ssh-x-forwarding script

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • dbus
    • None
    • No
    • None
    • rhel-sst-display-desktop-foundation
    • ssg_display
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Forwarding RHEL 9 gnome-terminal to other systems via ssh X11, it has various problems. For example, when the same account login to RHEL local console, the gnome-terminal will show up on the local screen instead of X server side, and when the same account doesn't login to the RHEL local console, the X server side shows an  error  like "Error creating terminal: Could not activate remote peer".

      What is the impact of this issue to you?

      Customers can not forward gnome-terminal to other systems.

      Please provide the package NVR for which the bug is seen:

      Seems dbus-x11 is missing ssh-x-forwarding script. The same issue isn't seen on RHEL 8.

      RHEL 8:

      1. rpm -ql dbus-x11
        /etc/X11/xinit/xinitrc.d/00-start-message-bus.sh
        /etc/profile.d/ssh-x-forwarding.csh
        /etc/profile.d/ssh-x-forwarding.sh
        /usr/bin/dbus-launch
        /usr/lib/.build-id
        /usr/lib/.build-id/20
        /usr/lib/.build-id/20/76bd4abc672e3c6a6ad3b8922933b02d331270
        /usr/libexec/dbus-1/dbus-kill-process-with-session
        /usr/share/man/man1/dbus-launch.1.gz

      RHEL 9:

      1. rpm -ql dbus-x11
        /etc/X11/xinit/xinitrc.d/00-start-message-bus.sh
        /usr/bin/dbus-launch
        /usr/lib/.build-id
        /usr/lib/.build-id/95
        /usr/lib/.build-id/95/fc143b67b87c8593717a76b98e20546dde07a6
        /usr/share/man/man1/dbus-launch.1.gz

      If copy RHEL 8's ssh-x-forwarding.sh to RHEL 9, the gnome-terminal will
      be launched successfully on the X server side.

      Does x11 forwarding for gnome-terminal be supported on RHEL 9 ?

      How reproducible is this bug?:

      Steps to reproduce

      1. # dnf install xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils dbus-x11
      2. Make sure "X11Forwarding yes" is set in /etc/ssh/sshd_config .
      3. # systemctl restart sshd.service

      From a RHEL 8 system, run "ssh -X -Y <RHEL 9>",    then run "gnome-terminal" .

      Expected results

      RHEL 9 's gnome-terminal can be forwarding to other systems.

      Actual results

              dking@redhat.com David King
              rhn-support-lilhuang Lili Huang
              David King David King
              Petr Schindler Petr Schindler
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: