Alan Coopersmith <[EMAIL PROTECTED]> wrote: > > A cannot call this a "solution" as it does not work for me the way it is > > delivered > > in SXCE-77. > > > > If you do make things suid root for "good reason", you should also modify > > the > > source to try again with euid == uid after the attempt to read > > ~/.Xauthority failed. > > The upstream is already setuid root, so we shouldn't have to modify a thing > there, and I believe it already does call XOpenDisplay() as the uid (the > program doesn't read .Xauthority, XOpenDisplay() in libX11 does). It's been > a while since I've looked at the xscreensaver code to confirm that though. > > Virtually every home directory in Sun is NFS mounted, and yet it works for us, > so it's not as simple an issue as you describe. Nonetheless, since you > haven't filed a bug, the xscreensaver maintainer (not me) has no way of > knowing it's not working for you, and thus won't be fixing it until someone > reports a bug.
I don't know _why_ it works for you. It definitely does not work for me. I have Solaris Express Community Edition snv_77 X86 Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 06 November 2007 and my home dir is mounted via NFSv4 from a Netapp machine. A possible explanation why you don't see problems although there are problems may be: - You mount your home via NFSv3 - You read ~/Xauthority as "user" before starting xscrensaver - xscrensaver later gets the locally cached NFSv3 data _even_ _though_ it runs as root.... Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org