[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pam_xauth module and Debian's X



In article <cistron.yttr9bg7q20.fsf@gilgamesh.cse.ucsc.edu>,
Ben Gertzfield  <che@debian.org> wrote:
>>>>>> "Sergey" == Sergey V Kovalyov <sqk0316@SCIRES.ACF.NYU.EDU> writes:
>
>    Sergey> The second feature is pam_xauth module that is used to
>    Sergey> pass xauth keys when duing su. Very convenient. Recall how
>    Sergey> often we get questions about X connection refused after
>    Sergey> su.
>
>I've asked in the past for this to be included, but every time I've
>been denied, and just told that you should set the XAUTHORITY
>environment variable when you su to root to the path of the
>.Xauthority file of the user who started X.

Use "su -m" so that you keep your old environment. I always use 'su'
that way, it's very convenient.

Mike.


Reply to: