xpra icon
Bug tracker and wiki

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

Opened 8 years ago

Closed 8 years ago

Last modified 16 months ago

#611 closed defect (wontfix)

remove Xorg setuid detection in setup.py

Reported by: pyther Owned by: pyther
Priority: major Milestone: 0.14
Component: core Version: trunk
Keywords: Cc:


Xorg setuid detection code is no longer necessary as this logic has been moved to scripts/xpra_Xdummy.

Additionally, if the user specifies --with-Xdummy, we shouldn't try to auto-detect Xorg settings.

Few notes about the patch:

  • xpra_Xdummy wrapper is always called for Xdummy support
  • if Xdummy is explicitly set (--with-Xdummy), don't autodetect
  • if Xdummy support is enabled, then has_displayfd is set to true.

Attachments (1)

xpra_setup_remove_xorg_setuid.patch (4.2 KB) - added by pyther 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by pyther

comment:1 Changed 8 years ago by Antoine Martin

Owner: changed from Antoine Martin to pyther

Why run a script when it isn't needed?

Some platforms (like Debian) always ship with an Xorg we can use directly, without needing any scripts. I don't want to force them to install and use a script that does absolutely nothing useful for them.

comment:2 Changed 8 years ago by Antoine Martin

I have applied most of the patch (and more) in r6889.
But I will not apply the part that forces some distros (Debian and many future distros once Xorg becomes non-suid) to use a script they don't need.

Can I close this ticket? (will close as WONTFIX since the title is about suid detection, which will remain in place)

comment:3 Changed 8 years ago by Antoine Martin

Resolution: wontfix
Status: newclosed

Not heard back, closing. Shout if I'm wrong.

comment:4 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/611

Note: See TracTickets for help on using tickets.