Alexander Gattin wrote: > Christian PERRIER wrote: > > Moo Lambda wrote: > > > Now "su - " does not work to open x applications on wheezy. > > > Should I switch to fedora?
I don't see how this is related to the bug ticket "cannot set terminal process group (-1): Inappropriate ioctl for device". It should be in a separate ticket. > IIRC in RH/Fedora/CentOS/SLX this is handled > by smth like pam-xauth module, which is installed > and activated by default there. > > > Also, "does not work" is not a very detailed bug > > report. We may need more information. > > I never tried pam_xauth in Debian, but most > probably it will work with our shadow (so this is > really PAM configuration issue, not shadow's bug > IMHO). "su -" works for me. Almost assuredly this related to the XAUTHORITY environment variable. But also almost assuredly it is affected by the choice of session manager because various session managers mess with that variable. rwp@example:~$ printenv XAUTHORITY /home/rwp/.Xauthority rwp@example:~$ su - Password: root@example:~# printenv XAUTHORITY /home/rwp/.Xauthority Works. Can open X window applications. But for example if that were an NFS mounted home directory with restricted permissions then root would have no permission to access that file and "it would not work" and would not be able to open an X application. Bob
signature.asc
Description: Digital signature

