• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.0
    • rhel-10.0.beta
    • xwayland-run
    • None
    • xwayland-run-0.0.4-5.el10
    • No
    • Low
    • rhel-sst-display-window-management
    • ssg_display
    • 16
    • 17
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • x86_64
    • None

      When trying to replace xvfb-run with xwfb-run, I found that xwayland-run-0.0.4-2.el10.noarch does not work in RHEL 10:

      $ xwfb-run -- true
      Failed to start the compositor: [Errno 2] No such file or directory: 'weston'
      
      

      Ok, a default compositor is not installed. What options do we have:

      # rpm -q --requires xwayland-run 
      (weston or cage or kwin-wayland or mutter or gnome-kiosk)
      [...]
      

      RHEL 10 repository only contains mutter and gnome-kiosk. I install them:

      # rpm -q mutter gnome-kiosk 
      mutter-47.alpha-3.el10.x86_64
      gnome-kiosk-47~alpha-1.el10.x86_64
      

      But none of them work:

      $ xwfb-run -c mutter -- true
      Xwayland failed to start!
      
      $ xwfb-run -c gnome-kiosk -- true
      Failed to connect to the compositor!
      

      Compare to Fedora 42 with xwayland-run-0.0.4-7.fc41.noarch where mutter-47.0-1.fc42 works:

      $ xwfb-run -c mutter -- true
      $ echo $?
      0
      

      as well as the default weston:

      $ xwfb-run -- true
      $ echo $?
      

      I would be great if xwfb-run worked out of the box on RHEL 10.

      (My original reproducer involved executing tests of perl-Tk-EntryCheck-0.04-39.fc42:

      $ xwfb-run -- perl -Ilib t/02_Tk-EntryCheck.t 
      1..2
      # Running under perl version 5.040000 for linux
      # Current time local: Wed Sep 25 14:52:02 2024
      # Current time GMT:   Wed Sep 25 12:52:02 2024
      # Using Test.pm version 1.31
      ok 1
      ok 2
      

      but I don't think the X11 client matters here.)

              rhn-engineering-ofourdan Olivier Fourdan
              rhn-support-ppisar Petr Pisar
              Olivier Fourdan Olivier Fourdan
              Tomas Pelka Tomas Pelka
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: