The primary logged-in session is of course authorized to access the main X11/wayland display, but it's often useful to add display authorization to other accounts. For instance, looking at disk space with 'baobab' works better as root because some areas of the filesystem are not readable to normal users (*). I used to do such authorization by

xhost +si:localhost:root

but it recently stopped working: https://bugzilla.redhat.com/show_bug.cgi?id=1527754 . Is there another way of authorizing display access for other accounts? If not, this is a fairly painful regression.

As to the root cause, it almost looks like some unfinished work is being done on API changes in the code for change_host() ; it prepares the arguments for XAddHost() in a  complex form, but the actual definitions in the version of libX11 being used are more simplistic (see my second BZ comment). Could someone familiar with X11 development take a look at this?



(*) I know, I know, we should move to running apps as regular user and just give them only the capabilities they really need, but that's where we are for now.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to