Re: xdm and su xauth problem

2006-08-13 Thread Florian Kulzer
On Sun, Aug 13, 2006 at 20:15:23 +0200, Lubos Vrbka wrote: > hi, > > >>>xauth -f /home/user/.Xauthority extract - $DISPLAY | xauth merge - > >>> > >>>where "user" is the user that logged on to xdm. This will extract the > >>>user's authorization cookie for the current display and merge it into > >

Re: xdm and su xauth problem

2006-08-13 Thread Lubos Vrbka
hi, xauth -f /home/user/.Xauthority extract - $DISPLAY | xauth merge - where "user" is the user that logged on to xdm. This will extract the user's authorization cookie for the current display and merge it into root's authority file. Then root should be able to access the display until user log

Re: xdm and su xauth problem

2006-08-13 Thread Florian Kulzer
On Sun, Aug 13, 2006 at 16:19:50 +0200, Lubos Vrbka wrote: > hi, > > >One possibility is > > > >xauth -f /home/user/.Xauthority extract - $DISPLAY | xauth merge - > > > >where "user" is the user that logged on to xdm. This will extract the > >user's authorization cookie for the current display and

Re: xdm and su xauth problem

2006-08-13 Thread Lubos Vrbka
hi, One possibility is xauth -f /home/user/.Xauthority extract - $DISPLAY | xauth merge - where "user" is the user that logged on to xdm. This will extract the user's authorization cookie for the current display and merge it into root's authority file. Then root should be able to access the di

Re: xdm and su xauth problem

2006-08-13 Thread Florian Kulzer
On Sun, Aug 13, 2006 at 15:16:16 +0200, Lubos Vrbka wrote: > hi guys, > > this is probably some stupid mistake or omission i made... > > so far, i was starting X using the startx command (i.e., under ordinary > user). recently i installed xdm to handle my logins (so X is now started > under roo

xdm and su xauth problem

2006-08-13 Thread Lubos Vrbka
hi guys, this is probably some stupid mistake or omission i made... so far, i was starting X using the startx command (i.e., under ordinary user). recently i installed xdm to handle my logins (so X is now started under root, i guess). everything works fine except that after login as an ordina