From: Jonas de Buhr <jonas.de.buhr@gmx.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Xauthority and su
Date: Wed, 7 Apr 2010 16:42:05 +0200 [thread overview]
Message-ID: <20100407164205.2e230dd9@toxic.dbnet> (raw)
In-Reply-To: <tkrat.72f415ebda03234e@igpm.rwth-aachen.de>
>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.
hi,
sorry i was a bit in a hurry.
it's been a while since i looked into this but i think you can add your
users x-magic-cookie to your authorized cookies, your cookie to his
cookies or a new cookie to his cookies and your authorized cookies
(which you can delete later so he doesn't have access to your session
anymore).
from the top of my head i'm not sure which way round it works (maybe
both?) which is why i only advised reading of the manpage ;)
hope this helps,
jdb
next prev parent reply other threads:[~2010-04-07 14:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-06 9:50 [gentoo-user] Xauthority and su Helmut Jarausch
2010-04-06 10:01 ` Neil Bothwick
2010-04-07 13:10 ` Jonas de Buhr
2010-04-07 13:13 ` Jonas de Buhr
2010-04-07 14:12 ` Helmut Jarausch
2010-04-07 14:42 ` Jonas de Buhr [this message]
2010-04-07 14:54 ` Jonas de Buhr
2010-04-07 16:39 ` Helmut Jarausch
2010-04-07 17:31 ` Jonas de Buhr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100407164205.2e230dd9@toxic.dbnet \
--to=jonas.de.buhr@gmx.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox