xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #872: xpra-0.14.22-fedora22-xorg.patch

File xpra-0.14.22-fedora22-xorg.patch, 875 bytes (added by jonathan.underwood, 6 years ago)

Patch to find the Xorg binary on Fedora 22

  • xpra-0.14.22/scripts/xpra_Xdummy

    diff -up xpra-0.14.22/scripts/xpra_Xdummy.orig2 xpra-0.14.22/scripts/xpra_Xdummy
    old new find_ld_linux() { 
    3535        fi
    3636}
    3737
    38 if [ -x "/usr/libexec/Xorg.bin" ]; then
    39         #Fedora 21+ workaround where /usr/bin/Xorg is not suid
     38if [ -x "/usr/libexec/Xorg" ]; then
     39        #Fedora 22+ workaround where /usr/bin/Xorg is not suid
     40        #because it is a script, which calls /usr/libexec/Xorg.wrap
     41        #which is setuid, and which eventually calls this one:
     42        XORG_BIN="/usr/libexec/Xorg"
     43elif [ -x "/usr/libexec/Xorg.bin" ]; then
     44        #Fedora 21 workaround where /usr/bin/Xorg is not suid
    4045        #because it is a script, which calls /usr/libexec/Xorg.wrap
    4146        #which is setuid, and which eventually calls this one:
    4247        XORG_BIN="/usr/libexec/Xorg.bin"