On Fri, 6 Jun 2003, Simon Wong wrote: > I used to have no problem with root accessing my X server but since > upgrading to gdm2 it no longer works. > > I have read through some docs on xauth and have the following in root's > .profile: > > export XAUTHORITY=/home/simon/.Xauthority > xauth -v merge /home/simon/.Xauthority
do one or the other... the top ones makes root use your Xauthority, the bottom merges yours into roots... redhat have a pam_xauth module that does this in their su stack.. Dave > > When I log in as root I get the following: > > Using authority file /home/simon/.Xauthority > 15 entries read in: 0 new, 15 replacements > Writing authority file /home/simon/.Xauthority > > Which looks like it's merging stuff back into my user NOT root :-( > > Can anyone give me some tips? > > TIA. > > > > -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / [EMAIL PROTECTED] pam_smb / Linux DECstation / Linux VAX / ILUG person -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
