Re: Updated xrexecd.sh
Oliver Grawert <ogra-GeWIH/[email protected]>
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <1218101120.7719.25.camel@osiris> |
hi,
On Mi, 2008-08-06 at 23:40 -0400, Warren Togami wrote:
> > Do any of the following also work?
> >
> > a. xhost +localhost
>
> This of course works. I think we really shouldn't accept this though,
> unless we completely kill the idea of having multiple screen sessions
> running simultaneously. Even then this would be a distasteful thing to do.
>
> > b. chmod a+r /root; chmod a+r /root/.Xauthority
> >
>
> Turns out this doesn't make any difference because su seems to be
> blanking out a few environment variables like XAUTHORITY and HOME. From
> "man su" I found the -m option so I added that to xrexecd.sh. Strangely
> enough, many other environment variables like LDM_SESSION, LOCAL_APPS,
> LDM_SOCKET survive through the su.
>
> Sadly, -m still unsets HOME and XAUTHORITY so it is impossible for the X
> clients run through this to work properly.
>
> I then tried to make the X clients use the user's own $HOME/.Xauthority
> file. This failed because HOME is unset, so it couldn't find it at the
> default location. Even after manually setting XAUTHORITY to
> /home/username/.Xauthority, it fails because xauth locking seems broken
> over sshfs mounts.
>
> So we need the following...
on redhat ...
i would appreciate if you first found out why it works on ubuntu (and
presumably on debian too since the rights applied as well as the apps
involved are identical in both) before you add world readable files all
over the place ... does it work on gentoo or suse ?
ciao
oli
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkiav3wACgkQSsOT+6LQaTb5yACfYpQ2za4dDIQbQDoq9EbHw9fo 2dkAoK55VJJUVTq7pC6Dh9KhYqXVlyCn =rNaD -----END PGP SIGNATURE-----