Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Jonas de Buhr
>> oh wait... maybe the problem is something different? after the "su -" >> you also lose the DISPLAY setting which was set after logging in with >> "ssh -Y". you should check the DISPLAY variable before and after the >> su on the remote machine. >> >That's the reason why I tried sux from x11-m

Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Helmut Jarausch
On 7 Apr, Jonas de Buhr wrote: > >>I do have X11 forwarding configured and I don't have any problems >>when working as the same user for which I logged in via ssh -Y. >>But if I change the user by using su (doesn't work) or sux (works on >>a local machine), Xauthorization fails. > > oh wait... m

Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Jonas de Buhr
>I do have X11 forwarding configured and I don't have any problems >when working as the same user for which I logged in via ssh -Y. >But if I change the user by using su (doesn't work) or sux (works on >a local machine), Xauthorization fails. oh wait... maybe the problem is something different? a

Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Jonas de Buhr
>Hi Jonas, >unfortunately, I don't understand your advice. > >I do have X11 forwarding configured and I don't have any problems >when working as the same user for which I logged in via ssh -Y. >But if I change the user by using su (doesn't work) or sux (works on >a local machine), Xauthorization f

Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Helmut Jarausch
On 7 Apr, Jonas de Buhr wrote: > >>>Are there any means to achieve this? >> >>Hi Helmut, >> >>you need to read "man xauth" :) > > or maybe this: > http://www.xs4all.nl/~zweije/xauth-6.html#ss6.3 > > skip the DISPLAY-part if you're using ssh -Y. > Hi Jonas, unfortunately, I don't understand yo

Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Jonas de Buhr
>>Are there any means to achieve this? > >Hi Helmut, > >you need to read "man xauth" :) or maybe this: http://www.xs4all.nl/~zweije/xauth-6.html#ss6.3 skip the DISPLAY-part if you're using ssh -Y. /jdb

Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Jonas de Buhr
>Hi, > >when maintaining a machine from remote I sometimes have to switch to >a non-root user (whose password I don't want to know) to try something >out. > >For that, I log into that machine by ssh -Y r...@ >Now, how can I switch to user USER such that the X credentials >are copied. >Unfortun

Re: [gentoo-user] Xauthority and su

2010-04-06 Thread Neil Bothwick
On Tue, 06 Apr 2010 11:50:42 +0200 (CEST), Helmut Jarausch wrote: > when maintaining a machine from remote I sometimes have to switch to > a non-root user (whose password I don't want to know) to try something > out. > > For that, I log into that machine by ssh -Y r...@ > Now, how can I swit

[gentoo-user] Xauthority and su

2010-04-06 Thread Helmut Jarausch
Hi, when maintaining a machine from remote I sometimes have to switch to a non-root user (whose password I don't want to know) to try something out. For that, I log into that machine by ssh -Y r...@ Now, how can I switch to user USER such that the X credentials are copied. Unfortunately, sux