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,
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
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 your advice.
I do
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 fails.
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?
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... maybe the
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-misc/sux .
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,
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 switch to
9 matches
Mail list logo